/packages/modules/Bluetooth/system/osi/src/ |
D | list.cc | 9 struct list_node_t { struct 10 struct list_node_t* next; argument 15 list_node_t* head; argument 16 list_node_t* tail; 22 static list_node_t* list_free_node_(list_t* list, list_node_t* node); 57 for (const list_node_t* node = list_begin(list); node != list_end(list); in list_contains() 84 list_node_t* list_back_node(const list_t* list) { in list_back_node() 91 bool list_insert_after(list_t* list, list_node_t* prev_node, void* data) { in list_insert_after() 96 list_node_t* node = (list_node_t*)list->allocator->alloc(sizeof(list_node_t)); in list_insert_after() 111 list_node_t* node = (list_node_t*)list->allocator->alloc(sizeof(list_node_t)); in list_prepend() [all …]
|
D | alarm.cc | 433 for (list_node_t* node = list_begin(alarms); node != list_end(alarms); in schedule_next_instance() 435 list_node_t* next = list_next(node); in schedule_next_instance() 729 for (list_node_t* node = list_begin(alarms); node != list_end(alarms); in alarm_debug_dump()
|
D | fixed_queue.cc | 77 for (const list_node_t* node = list_begin(queue->list); in fixed_queue_free()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_list.h | 64 list_node_t* return_value{0}; 65 std::function<list_node_t*(const list_t* list)> body{ 67 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() 75 list_node_t* return_value{0}; 76 std::function<list_node_t*(const list_t* list)> body{ 78 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() 110 list_node_t* return_value{0}; 111 std::function<list_node_t*(const list_t* list)> body{ 113 list_node_t* operator()(const list_t* list) { return body(list); }; in operator() 121 list_node_t* return_value{0}; [all …]
|
D | mock_osi_list.cc | 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() 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() 101 bool list_insert_after(list_t* list, list_node_t* prev_node, void* data) { in list_insert_after() 122 list_node_t* list_next(const list_node_t* node) { in list_next() 126 void* list_node(const list_node_t* node) { in list_node()
|
/packages/modules/Bluetooth/system/osi/include/ |
D | list.h | 24 struct list_node_t; 25 typedef struct list_node_t list_node_t; typedef 71 list_node_t* list_back_node(const list_t* list); 78 bool list_insert_after(list_t* list, list_node_t* prev_node, void* data); 117 list_node_t* list_foreach(const list_t* list, list_iter_cb callback, 123 list_node_t* list_begin(const list_t* list); 129 list_node_t* list_end(const list_t* list); 135 list_node_t* list_next(const list_node_t* node); 139 void* list_node(const list_node_t* node);
|
/packages/modules/Bluetooth/system/test/fake/ |
D | fake_osi.cc | 38 struct list_node_t { struct 40 list_node_t* next_; argument 42 list_node_t(void* data, list_node_t* next) { in list_node_t() argument 49 list_node_t* head_; 50 list_node_t* tail_; 74 static list_node_t* list_free_node_(list_t* l, list_node_t* node) { in list_free_node_() 143 return (list_node_t*)nullptr; in FakeOsi() 172 [](list_t* l, list_node_t* prev_node, void* data) { in FakeOsi() 177 auto node = new list_node_t(data, prev_node->next_); in FakeOsi() 187 auto node = new list_node_t(data, l->head_); in FakeOsi() [all …]
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/list/ |
D | fuzz_list.cc | 24 struct list_node_t { struct 25 struct list_node_t* next; argument 57 list_node_t* getArbitraryNode(list_t* list, FuzzedDataProvider* dataProvider) { in getArbitraryNode() 63 list_node_t* node = list_begin(list); in getArbitraryNode() 155 list_node_t* node = getArbitraryNode(list, dataProvider); in callArbitraryFunction() 225 list_node_t* node = getArbitraryNode(list, dataProvider); in callArbitraryFunction() 237 list_node_t* node = getArbitraryNode(list, dataProvider); in callArbitraryFunction()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_dev.cc | 309 list_node_t* n = in btm_find_dev_by_handle() 341 list_node_t* n = in btm_find_dev() 368 list_node_t* n = list_foreach(btm_sec_cb.sec_dev_rec, in btm_find_dev_with_lenc() 388 list_node_t* end = list_end(btm_sec_cb.sec_dev_rec); in btm_consolidate_dev() 389 list_node_t* node = list_begin(btm_sec_cb.sec_dev_rec); in btm_consolidate_dev() 454 list_node_t* end = list_end(btm_sec_cb.sec_dev_rec); in btm_dev_consolidate_existing_connections() 455 list_node_t* node = list_begin(btm_sec_cb.sec_dev_rec); in btm_dev_consolidate_existing_connections() 540 list_node_t* end = list_end(btm_sec_cb.sec_dev_rec); in btm_find_oldest_dev_rec() 541 for (list_node_t* node = list_begin(btm_sec_cb.sec_dev_rec); node != end; in btm_find_oldest_dev_rec() 659 list_node_t* end = list_end(btm_sec_cb.sec_dev_rec); in btm_get_sec_dev_rec() [all …]
|
D | btm_ble_addr.cc | 143 list_node_t* n = list_foreach(btm_sec_cb.sec_dev_rec, in btm_ble_resolve_random_addr() 157 list_node_t* end = list_end(btm_sec_cb.sec_dev_rec); in btm_find_dev_by_identity_addr() 158 for (list_node_t* node = list_begin(btm_sec_cb.sec_dev_rec); node != end; in btm_find_dev_by_identity_addr()
|
D | btm_ble_gap.cc | 901 const list_node_t* node = list_begin(sync_queue); in sync_queue_cleanup() 1224 list_node_t* n = in btm_set_conn_mode_adv_init_addr()
|
D | btm_sec.cc | 253 list_node_t* n = in btm_sec_find_dev_by_sec_state() 5121 for (const list_node_t* node = list_begin(list); node != list_end(list);) { in btm_sec_check_pending_enc_req()
|
/packages/modules/Bluetooth/system/test/stub/ |
D | osi.cc | 437 bool list_insert_after(list_t* list, list_node_t* prev_node, void* data) { in list_insert_after() 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() 465 list_node_t* list_foreach(const list_t* list, list_iter_cb callback, in list_foreach() 470 list_node_t* list_next(const list_node_t* node) { in list_next() 497 void* list_node(const list_node_t* node) { in list_node()
|
/packages/modules/Bluetooth/system/osi/test/ |
D | list_test.cc | 109 for (const list_node_t *node = list_begin(list); node != list_end(list); in TEST_F() 123 for (const list_node_t *node = list_begin(list); node != list_end(list); in TEST_F() 169 list_node_t* rc = list_foreach(list, list_callback_sum, &sum); in TEST_F() 186 list_node_t* rc = list_foreach(list, list_callback_find_int, &find); in TEST_F()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_sco.cc | 209 for (const list_node_t* node = list_begin(sco_sockets); in sco_socket_find_locked()
|
D | btif_rc.cc | 2981 list_node_t* node = list_begin(p_dev->rc_supported_event_list); in rc_notification_interim_timeout() 3252 list_node_t* node; in handle_notification_response() 3344 list_node_t* node; in handle_notification_response()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_utils.cc | 179 for (const list_node_t* node = list_begin(list); node != list_end(list); in gatt_set_srv_chg() 328 for (const list_node_t* node = list_begin(list); node != list_end(list); in gatt_is_srv_chg_ind_pending() 355 for (const list_node_t* node = list_begin(list); node != list_end(list); in gatt_is_bda_in_the_srv_chg_clt_list()
|
D | gatt_sr.cc | 181 const list_node_t* node = NULL; in build_read_multi_rsp()
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_api.cc | 1595 for (const list_node_t* node = list_begin(p_lcb->link_xmit_data_q); in L2CA_FlushChannel() 1623 for (const list_node_t* node = list_begin(p_lcb->link_xmit_data_q); in L2CA_FlushChannel()
|
D | l2c_fcr.cc | 1294 const list_node_t* node_ack = NULL; in retransmit_i_frames() 1328 for (list_node_t* node_tmp = list_begin(p_ccb->p_lcb->link_xmit_data_q); in retransmit_i_frames()
|
/packages/modules/Bluetooth/system/device/src/ |
D | interop.cc | 667 const list_node_t* node = list_begin(interop_list); in interop_database_match() 1538 list_node_t* node = list_begin(interop_list); in interop_database_remove_feature()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | acl.cc | 1362 list_node_t* end = list_end(btm_sec_cb.sec_dev_rec); in DumpsysRecord() 1363 for (list_node_t* node = list_begin(btm_sec_cb.sec_dev_rec); node != end; in DumpsysRecord()
|