Home
last modified time | relevance | path

Searched refs:list_t (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_list.h43 std::function<bool(list_t* list, void* data)> body{
44 [this](list_t* /* list */, void* /* data */) { return return_value; }};
45 bool operator()(list_t* list, void* data) { return body(list, data); }; in operator()
54 std::function<void*(const list_t* list)> body{
55 [this](const list_t* /* list */) { return return_value; }};
56 void* operator()(const list_t* list) { return body(list); }; in operator()
65 std::function<list_node_t*(const list_t* list)> body{
66 [this](const list_t* /* list */) { return return_value; }};
67 list_node_t* operator()(const list_t* list) { return body(list); }; in operator()
76 std::function<list_node_t*(const list_t* list)> body{
[all …]
Dmock_osi_list.cc60 bool list_append(list_t* list, void* data) { in list_append()
64 void* list_back(const list_t* list) { in list_back()
68 list_node_t* list_back_node(const list_t* list) { in list_back_node()
72 list_node_t* list_begin(const list_t* list) { in list_begin()
76 void list_clear(list_t* list) { in list_clear()
80 bool list_contains(const list_t* list, const void* data) { in list_contains()
84 list_node_t* list_end(const list_t* list) { in list_end()
88 list_node_t* list_foreach(const list_t* list, list_iter_cb callback, in list_foreach()
93 void list_free(list_t* list) { in list_free()
97 void* list_front(const list_t* list) { in list_front()
[all …]
Dmock_osi_fixed_queue.h123 list_t* return_value{0};
124 std::function<list_t*(fixed_queue_t* queue)> body{
126 list_t* operator()(fixed_queue_t* queue) { return body(queue); }; in operator()
Dmock_osi_fixed_queue.cc87 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
/packages/modules/Bluetooth/system/osi/include/
Dlist.h27 struct list_t;
28 typedef struct list_t list_t; typedef
44 list_t* list_new(list_free_cb callback);
48 void list_free(list_t* list);
52 bool list_is_empty(const list_t* list);
56 bool list_contains(const list_t* list, const void* data);
59 size_t list_length(const list_t* list);
63 void* list_front(const list_t* list);
67 void* list_back(const list_t* list);
71 list_node_t* list_back_node(const list_t* list);
[all …]
Dfixed_queue.h108 list_t* fixed_queue_get_list(fixed_queue_t* queue);
/packages/modules/Bluetooth/system/osi/src/
Dlist.cc14 typedef struct list_t { struct
20 } list_t; argument
22 static list_node_t* list_free_node_(list_t* list, list_node_t* node);
27 list_t* list_new_internal(list_free_cb callback, in list_new_internal()
29 list_t* list = (list_t*)zeroed_allocator->alloc(sizeof(list_t)); in list_new_internal()
37 list_t* list_new(list_free_cb callback) { in list_new()
41 void list_free(list_t* list) { in list_free()
48 bool list_is_empty(const list_t* list) { in list_is_empty()
53 bool list_contains(const list_t* list, const void* data) { in list_contains()
65 size_t list_length(const list_t* list) { in list_length()
[all …]
Dfixed_queue.cc35 list_t* list;
216 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
Dreactor.cc47 list_t* invalidation_list; // reactor objects that have been unregistered.
Dalarm.cc114 static list_t* alarms;
/packages/modules/Bluetooth/system/osi/test/fuzzers/list/
Dfuzz_list.cc37 list_t* createList(FuzzedDataProvider* dataProvider) { in createList()
57 list_node_t* getArbitraryNode(list_t* list, FuzzedDataProvider* dataProvider) { in getArbitraryNode()
74 list_t* list = nullptr; in callArbitraryFunction()
93 list = reinterpret_cast<list_t*>(list_vector->at(index)); in callArbitraryFunction()
103 list = reinterpret_cast<list_t*>( in callArbitraryFunction()
110 list = reinterpret_cast<list_t*>( in callArbitraryFunction()
120 list = reinterpret_cast<list_t*>( in callArbitraryFunction()
127 list = reinterpret_cast<list_t*>( in callArbitraryFunction()
134 list = reinterpret_cast<list_t*>( in callArbitraryFunction()
141 list = reinterpret_cast<list_t*>( in callArbitraryFunction()
[all …]
/packages/modules/Bluetooth/system/osi/test/
Dlist_test.cc10 list_t* list = list_new(NULL); in TEST_F()
21 list_t* list = list_new(NULL); in TEST_F()
27 list_t* list = list_new(NULL); in TEST_F()
33 list_t* list = list_new(NULL); in TEST_F()
41 list_t* list = list_new(NULL); in TEST_F()
49 list_t* list = list_new(NULL); in TEST_F()
59 list_t* list = list_new(NULL); in TEST_F()
69 list_t* list = list_new(NULL); in TEST_F()
80 list_t* list = list_new(NULL); in TEST_F()
91 list_t* list = list_new(NULL); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.cc48 struct list_t { struct
54 list_t(list_free_cb free_cb) { in list_t() argument
62 list_t* list_;
74 static list_node_t* list_free_node_(list_t* l, list_node_t* node) { in list_free_node_()
124 return new list_t(callback); in FakeOsi()
127 test::mock::osi_list::list_free.body = [](list_t* l) { in FakeOsi()
132 test::mock::osi_list::list_is_empty.body = [](const list_t* l) { in FakeOsi()
136 [](const list_t* l, list_iter_cb callback, void* context) { in FakeOsi()
145 test::mock::osi_list::list_contains.body = [](const list_t* l, in FakeOsi()
152 test::mock::osi_list::list_length.body = [](const list_t* l) { in FakeOsi()
[all …]
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc297 list_t* fixed_queue_get_list(fixed_queue_t* queue) { in fixed_queue_get_list()
429 bool list_append(list_t* list, void* data) { in list_append()
433 bool list_contains(const list_t* list, const void* data) { in list_contains()
437 bool list_insert_after(list_t* list, list_node_t* prev_node, void* data) { in list_insert_after()
441 bool list_is_empty(const list_t* list) { in list_is_empty()
445 bool list_prepend(list_t* list, void* data) { in list_prepend()
449 bool list_remove(list_t* list, void* data) { in list_remove()
453 list_node_t* list_back_node(const list_t* list) { in list_back_node()
457 list_node_t* list_begin(const list_t* list) { in list_begin()
461 list_node_t* list_end(const list_t* /* list */) { in list_end() argument
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec_cb.h70 list_t* sec_dev_rec{nullptr}; /* list of tBTM_SEC_DEV_REC */
/packages/modules/Bluetooth/system/doc/
Dstyle_guide.md217 typedef struct list_t list_t;
223 bool template_new(const list_t *param);
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_sco.cc80 static list_t* sco_sockets; // Owns a collection of sco_socket_t objects.
Dbtif_sock_rfc.cc87 list_t* incoming_queue;
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc178 list_t* list = fixed_queue_get_list(gatt_cb.srv_chg_clt_q); in gatt_set_srv_chg()
327 list_t* list = fixed_queue_get_list(p_tcb->pending_ind_q); in gatt_is_srv_chg_ind_pending()
354 list_t* list = fixed_queue_get_list(gatt_cb.srv_chg_clt_q); in gatt_is_bda_in_the_srv_chg_clt_list()
Dgatt_sr.cc180 list_t* list = NULL; in build_read_multi_rsp()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_int.h478 list_t* link_xmit_data_q; /* Link transmit data buffer queue */
Dl2c_fcr.cc1293 list_t* list_ack = NULL; in retransmit_i_frames()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_int.h518 list_t* a2dp_list; /* used for audio channels only */
/packages/modules/Bluetooth/system/device/src/
Dinterop.cc91 static list_t* interop_list = NULL;
134 list_t* entries;
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_utils_test.cc108 MOCK_METHOD(bool, InteropGetAllowlistedMediaPlayersList, (list_t*));

12