Home
last modified time | relevance | path

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

/system/bt/osi/include/
Dlist.h9 struct list_t;
10 typedef struct list_t list_t; typedef
21 list_t *list_new(list_free_cb callback);
25 void list_free(list_t *list);
29 bool list_is_empty(const list_t *list);
33 bool list_contains(const list_t *list, const void *data);
36 size_t list_length(const list_t *list);
40 void *list_front(const list_t *list);
44 void *list_back(const list_t *list);
51 bool list_insert_after(list_t *list, list_node_t *prev_node, void *data);
[all …]
/system/bt/osi/src/
Dlist.c12 typedef struct list_t { struct
18 } list_t; typedef
20 static list_node_t *list_free_node_(list_t *list, list_node_t *node);
24 list_t *list_new_internal(list_free_cb callback, const allocator_t *zeroed_allocator) { in list_new_internal()
25 list_t *list = (list_t *)zeroed_allocator->alloc(sizeof(list_t)); in list_new_internal()
34 list_t *list_new(list_free_cb callback) { in list_new()
38 void list_free(list_t *list) { in list_free()
46 bool list_is_empty(const list_t *list) { in list_is_empty()
51 bool list_contains(const list_t *list, const void *data) { in list_contains()
63 size_t list_length(const list_t *list) { in list_length()
[all …]
Dhash_map.c28 list_t *list;
43 list_t *list_new_internal(list_free_cb callback, const allocator_t *zeroed_allocator);
47 static hash_map_entry_t *find_bucket_entry_(list_t *hash_bucket_list,
118 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_has_key()
135 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_set()
161 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_erase()
177 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_get()
226 static hash_map_entry_t * find_bucket_entry_(list_t *hash_bucket_list, in find_bucket_entry_()
Dfixed_queue.c31 list_t *list;
Dconfig.c44 list_t *entries;
48 list_t *sections;
Dreactor.c42 list_t *invalidation_list; // reactor objects that have been unregistered.
Dalarm.c74 static list_t *alarms;
/system/bt/osi/test/
Dlist_test.cpp13 list_t *list = list_new(NULL); in TEST_F()
24 list_t *list = list_new(NULL); in TEST_F()
30 list_t *list = list_new(NULL); in TEST_F()
36 list_t *list = list_new(NULL); in TEST_F()
44 list_t *list = list_new(NULL); in TEST_F()
52 list_t *list = list_new(NULL); in TEST_F()
62 list_t *list = list_new(NULL); in TEST_F()
72 list_t *list = list_new(NULL); in TEST_F()
84 list_t *list = list_new(NULL); in TEST_F()
96 list_t *list = list_new(NULL); in TEST_F()
[all …]
/system/bt/btif/src/
Dbtif_profile_queue.c60 static list_t *connect_queue;
Dbtif_sock_sco.c85 static list_t *sco_sockets; // Owns a collection of sco_socket_t objects.
Dbtif_sock_rfc.c88 list_t *incoming_queue;
Dbtif_hl.c107 static list_t *soc_queue;
/system/bt/device/src/
Dinterop.c33 static list_t *interop_list = NULL;
/system/bt/hci/src/
Dhci_inject.c56 static list_t *clients;
Dhci_layer.c136 static list_t *commands_pending_response;
/system/bt/stack/l2cap/
Dl2cap_client.c43 list_t *outbound_fragments;
74 static list_t *l2cap_clients; // A list of l2cap_client_t. Container does not own objects.
Dl2c_int.h384 list_t *link_xmit_data_q; /* Link transmit data buffer queue */
455 list_t *rcv_pending_q; /* Recv pending queue */
/system/bt/doc/
Dstyle_guide.md213 typedef struct list_t list_t;
219 bool template_new(const list_t *param);
/system/bt/btcore/src/
Dcounter.c75 static list_t *clients_;
/system/bt/bta/av/
Dbta_av_int.h473 list_t *a2d_list; /* used for audio channels only */