Home
last modified time | relevance | path

Searched refs:list_node_t (Results 1 – 25 of 27) sorted by relevance

12

/system/bt/osi/src/
Dlist.c7 struct list_node_t { struct
8 struct list_node_t *next; argument
13 list_node_t *head; argument
14 list_node_t *tail;
20 static list_node_t *list_free_node_(list_t *list, list_node_t *node);
55 for (const list_node_t *node = list_begin(list); node != list_end(list); node = list_next(node)) { in list_contains()
82 list_node_t *list_back_node(const list_t *list) { in list_back_node()
89 bool list_insert_after(list_t *list, list_node_t *prev_node, void *data) { in list_insert_after()
94 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 …]
Dconfig.c111 for (const list_node_t *node = list_begin(src->sections); in config_new_clone()
116 for (const list_node_t *node_entry = list_begin(sec->entries); in config_new_clone()
219 …for (const list_node_t *node = list_begin(sec->entries); node != list_end(sec->entries); node = li… in config_set_string()
268 return (const config_section_node_t *)list_next((const list_node_t *)node); in config_section_next()
273 const list_node_t *lnode = (const list_node_t *)node; in config_section_name()
321 …for (const list_node_t *node = list_begin(config->sections); node != list_end(config->sections); n… in config_save()
328 …for (const list_node_t *enode = list_begin(section->entries); enode != list_end(section->entries);… in config_save()
467 …for (const list_node_t *node = list_begin(config->sections); node != list_end(config->sections); n… in section_find()
499 …for (const list_node_t *node = list_begin(sec->entries); node != list_end(sec->entries); node = li… in entry_find()
Dhash_map.c205 for (const list_node_t *iter = list_begin(hash_map->bucket[i].list); in hash_map_foreach()
233 for (const list_node_t *iter = list_begin(hash_bucket_list); in find_bucket_entry_()
Dalarm.c454 for (list_node_t *node = list_begin(alarms); node != list_end(alarms); node = list_next(node)) { in schedule_next_instance()
455 list_node_t *next = list_next(node); in schedule_next_instance()
573 for (list_node_t *node = list_begin(alarms); node != list_end(alarms); ) { in alarm_unregister_processing_queue()
747 for (list_node_t *node = list_begin(alarms); node != list_end(alarms); in alarm_debug_dump()
Dfixed_queue.c76 …for (const list_node_t *node = list_begin(queue->list); node != list_end(queue->list); node = list… in fixed_queue_free()
/system/bt/osi/include/
Dlist.h6 struct list_node_t;
7 typedef struct list_node_t list_node_t; typedef
53 list_node_t *list_back_node(const list_t *list);
60 bool list_insert_after(list_t *list, list_node_t *prev_node, void *data);
93 list_node_t *list_foreach(const list_t *list, list_iter_cb callback, void *context);
98 list_node_t *list_begin(const list_t *list);
104 list_node_t *list_end(const list_t *list);
110 list_node_t *list_next(const list_node_t *node);
114 void *list_node(const list_node_t *node);
/system/bt/stack/btm/
Dbtm_dev.c392 list_node_t *n = list_foreach(btm_cb.sec_dev_rec, is_handle_equal, &handle); in btm_find_dev_by_handle()
432 list_node_t *n = list_foreach(btm_cb.sec_dev_rec, is_address_equal, bd_addr); in btm_find_dev()
455 list_node_t *end = list_end(btm_cb.sec_dev_rec); in btm_consolidate_dev()
456 for (list_node_t *node = list_begin(btm_cb.sec_dev_rec); node != end; node = list_next(node)) { in btm_consolidate_dev()
544 list_node_t *end = list_end(btm_cb.sec_dev_rec); in btm_find_oldest_dev()
545 for (list_node_t *node = list_begin(btm_cb.sec_dev_rec); node != end; node = list_next(node)) { in btm_find_oldest_dev()
Dbtm_ble_addr.c371 list_node_t * n = list_foreach(btm_cb.sec_dev_rec, btm_ble_match_random_bda, NULL); in btm_ble_resolve_random_addr()
397 list_node_t *end = list_end(btm_cb.sec_dev_rec); in btm_find_dev_by_identity_addr()
398 for (list_node_t *node = list_begin(btm_cb.sec_dev_rec); node != end; node = list_next(node)) { in btm_find_dev_by_identity_addr()
Dbtm_ble_privacy.c969 list_node_t *n = list_foreach(btm_cb.sec_dev_rec, is_on_resolving_list, NULL); in btm_ble_enable_resolving_list_for_platform()
Dbtm_sec.c3083 list_node_t *node = list_foreach(btm_cb.sec_dev_rec, is_state_getting_name, NULL); in btm_sec_rmt_name_request_complete()
5842 list_node_t *n = list_foreach(btm_cb.sec_dev_rec, is_sec_state_equal, &state); in btm_sec_find_dev_by_sec_state()
6173 for (const list_node_t *node = list_begin(list); node != list_end(list); ) { in btm_sec_check_pending_enc_req()
/system/bt/bta/gatt/
Dbta_gattc_cache.c989 for (list_node_t *sn = list_begin(p_clcb->p_srcb->p_srvc_cache); in bta_gattc_search_service()
1037 for (list_node_t *sn = list_begin(services); in bta_gattc_find_matching_service()
1066 for (list_node_t *cn = list_begin(service->characteristics); in bta_gattc_get_characteristic_srcb()
1093 for (list_node_t *cn = list_begin(service->characteristics); in bta_gattc_get_descriptor_srcb()
1096 for (list_node_t *dn = list_begin(p_char->descriptors); in bta_gattc_get_descriptor_srcb()
1151 for (list_node_t *sn = list_begin(services); in bta_gattc_get_db_size()
1165 for (list_node_t *cn = list_begin(p_cur_srvc->characteristics); in bta_gattc_get_db_size()
1216 for (list_node_t *sn = list_begin(p_srvc_cb->p_srvc_cache); in bta_gattc_get_gatt_db_impl()
1241 for (list_node_t *cn = list_begin(p_cur_srvc->characteristics); in bta_gattc_get_gatt_db_impl()
1258 for (list_node_t *dn = list_begin(p_char->descriptors); in bta_gattc_get_gatt_db_impl()
[all …]
/system/bt/osi/test/
Dlist_test.cpp116 …for (const list_node_t *node = list_begin(list); node != list_end(list); node = list_next(node), +… in TEST_F()
130 …for (const list_node_t *node = list_begin(list); node != list_end(list); node = list_next(node), -… in TEST_F()
176 list_node_t *rc = list_foreach(list, list_callback_sum, &sum); in TEST_F()
194 list_node_t *rc = list_foreach(list, list_callback_find_int, &find); in TEST_F()
/system/bt/btif/src/
Dbtif_profile_queue.c77 …for (const list_node_t *node = list_begin(connect_queue); node != list_end(connect_queue); node = … in queue_int_add()
Dbtif_sock_sco.c206 …for (const list_node_t *node = list_begin(sco_sockets); node != list_end(sco_sockets); node = list… in sco_socket_find_locked()
Dbtif_hl.c4365 for (const list_node_t *node = list_begin(soc_queue); in btif_hl_update_maxfd()
4515 for (const list_node_t *node = list_begin(soc_queue); in btif_hl_add_socket_to_set()
4557 for (const list_node_t *node = list_begin(soc_queue); in btif_hl_close_socket()
4585 for (const list_node_t *node = list_begin(soc_queue); in btif_hl_close_socket()
4643 for (const list_node_t *node = list_begin(soc_queue); in btif_hl_select_monitor_callback()
Dbtif_rc.c2010 list_node_t *node; in rc_notification_interim_timout()
2420 list_node_t *node; in handle_notification_response()
2514 list_node_t *node; in handle_notification_response()
/system/bt/device/src/
Dinterop.c138 const list_node_t *node = list_begin(interop_list); in interop_match_dynamic_()
/system/bt/bta/hh/
Dbta_hh_le.c154 list_node_t *op_node = list_foreach(gatt_op_queue, find_op_by_conn_id, &conn_id); in gatt_execute_next_op()
663 for (list_node_t *dn = list_begin(p_char->descriptors); in find_descriptor_by_short_uuid()
1379 for (list_node_t *isn = list_begin(service->included_svc); in process_included()
1389 for (list_node_t *cn = list_begin(incl_svc->characteristics); in process_included()
1425 for (list_node_t *cn = list_begin(service->characteristics); in bta_hh_le_search_hid_chars()
1485 for (list_node_t *cn = list_begin(service->characteristics); in bta_hh_le_search_hid_chars()
1526 for (list_node_t *sn = list_begin(services); in bta_hh_le_srvc_search_cmpl()
1547 for (list_node_t *cn = list_begin(service->characteristics); in bta_hh_le_srvc_search_cmpl()
1565 for (list_node_t *cn = list_begin(service->characteristics); in bta_hh_le_srvc_search_cmpl()
/system/bt/stack/l2cap/
Dl2cap_client.c163 …for (const list_node_t *node = list_begin(client->outbound_fragments); node != list_end(client->ou… in l2cap_client_disconnect()
426 …for (const list_node_t *node = list_begin(l2cap_clients); node != list_end(l2cap_clients); node = … in find()
Dl2c_api.c2258 for (const list_node_t *node = list_begin(p_lcb->link_xmit_data_q); in L2CA_FlushChannel()
2286 for (const list_node_t *node = list_begin(p_lcb->link_xmit_data_q); in L2CA_FlushChannel()
Dl2c_fcr.c1569 const list_node_t *node_ack = NULL; in retransmit_i_frames()
1607 for (list_node_t *node_tmp = list_begin(p_ccb->p_lcb->link_xmit_data_q); in retransmit_i_frames()
2455 for (const list_node_t *node = list_begin(list), xx = 0; in l2c_fcr_collect_ack_delay()
Dl2c_main.c772 for (const list_node_t *node = list_begin(l2cb.rcv_pending_q); in l2c_process_held_packets()
/system/bt/stack/gatt/
Dgatt_utils.c175 for (const list_node_t *node = list_begin(list); node != list_end(list); in gatt_set_srv_chg()
209 for (const list_node_t *node = list_begin(list); node != list_end(list); in gatt_sr_is_new_srv_chg()
778 for (const list_node_t *node = list_begin(list); in gatt_is_srv_chg_ind_pending()
815 for (const list_node_t *node = list_begin(list); node != list_end(list); in gatt_is_bda_in_the_srv_chg_clt_list()
Dgatt_sr.c155 const list_node_t *node = NULL; in process_read_multi_rsp()
/system/bt/hci/src/
Dhci_layer.c752 for (const list_node_t *node = list_begin(commands_pending_response); in get_waiting_command()

12