Home
last modified time | relevance | path

Searched defs:list (Results 1 – 25 of 41) sorted by relevance

12

/system/bt/osi/src/
Dlist.c25 list_t *list = (list_t *)zeroed_allocator->alloc(sizeof(list_t)); in list_new_internal() local
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()
68 void *list_front(const list_t *list) { in list_front()
75 void *list_back(const list_t *list) { in list_back()
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()
107 bool list_prepend(list_t *list, void *data) { in list_prepend()
[all …]
Dfixed_queue.c31 list_t *list; member
/system/bt/osi/test/
Dlist_test.cpp13 list_t *list = list_new(NULL); in TEST_F() local
24 list_t *list = list_new(NULL); in TEST_F() local
30 list_t *list = list_new(NULL); in TEST_F() local
36 list_t *list = list_new(NULL); in TEST_F() local
44 list_t *list = list_new(NULL); in TEST_F() local
52 list_t *list = list_new(NULL); in TEST_F() local
62 list_t *list = list_new(NULL); in TEST_F() local
72 list_t *list = list_new(NULL); in TEST_F() local
84 list_t *list = list_new(NULL); in TEST_F() local
96 list_t *list = list_new(NULL); in TEST_F() local
[all …]
/system/core/include/cutils/
Dlist.h41 #define list_for_each(node, list) \ argument
44 #define list_for_each_reverse(node, list) \ argument
47 #define list_for_each_safe(node, n, list) \ argument
80 #define list_empty(list) ((list) == (list)->next) argument
81 #define list_head(list) ((list)->next) argument
82 #define list_tail(list) ((list)->prev) argument
/system/connectivity/shill/net/
Dattribute_list_unittest.cc74 AttributeListRefPtr list(new AttributeList()); in TEST_F() local
101 AttributeListRefPtr list(new AttributeList()); in TEST_F() local
134 AttributeListRefPtr list(new AttributeList()); in TEST_F() local
167 AttributeListRefPtr list(new AttributeList()); in TEST_F() local
Dattribute_list.h160 explicit AttributeIdIterator(const AttributeList& list) in AttributeIdIterator()
Dnetlink_attribute.cc891 const AttributeListRefPtr& list, in InitNestedFromValue()
914 const AttributeListRefPtr& list, int id, const ByteString& value) { in AddAttributeToNestedArray()
924 const AttributeListRefPtr& list, int id, const ByteString& value) { in AddAttributeToNestedMap()
938 const string& attribute_name, const AttributeListRefPtr& list, in AddAttributeToNestedInner()
Dnetlink_message_unittest.cc477 vector<uint32_t>list; in TEST_F() local
530 vector<uint32_t>list; in TEST_F() local
/system/core/base/
Dstrings_test.cpp107 std::vector<std::string> list = {}; in TEST() local
112 std::vector<std::string> list = {"foo"}; in TEST() local
117 std::vector<std::string> list = {"foo", "bar", "baz"}; in TEST() local
122 std::vector<std::string> list = {",", ","}; in TEST() local
127 std::set<int> list = {1, 2, 3}; in TEST() local
132 std::unordered_set<int> list = {1, 2}; in TEST() local
/system/core/liblog/
Dconfig_read.c26 struct listnode *list, struct android_log_transport_read *transport) { in __android_log_add_transport()
Dconfig_write.c26 struct listnode *list, struct android_log_transport_write *transport) { in __android_log_add_transport()
/system/extras/showslab/
Dshowslab.c160 static void free_slablist(struct slab_info *list) in free_slablist()
171 struct slab_info list; in merge_objs() local
193 static struct slab_info *slabsort(struct slab_info *list) in slabsort()
272 struct slab_info *list, *p; in main() local
/system/extras/latencytop/
Dlatencytop.c175 static struct latency_entry *read_global_stats(struct latency_entry *list, int erase) { in read_global_stats()
202 static struct latency_entry *read_process_stats(struct latency_entry *list, int erase, int pid) { in read_process_stats()
232 static struct latency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int … in read_thread_stats()
326 static struct latency_entry *read_latency_file(FILE *f, struct latency_entry *list) { in read_latency_file()
/system/core/adb/
Dadb_auth_client.cpp55 static void read_keys(const char *file, struct listnode *list) in read_keys()
100 static void free_keys(struct listnode *list) in free_keys()
111 static void load_keys(struct listnode *list) in load_keys()
Dadb_auth_host.cpp263 static int read_key(const char *file, struct listnode *list) in read_key()
310 static int get_user_key(struct listnode *list) in get_user_key()
/system/sepolicy/tools/
Dcheck_seapp.c45 #define list_for_each(list, var) \ argument
59 typedef struct list list; typedef
87 struct list { struct
88 list_element *head; argument
89 list_element *tail; argument
90 void (*freefn)(list_element *e); argument
225 void list_append(list *list, list_element *e) { in list_append() argument
243 static void list_free(list *list) { in list_free() argument
/system/security/keystore/
Dkeystore_cli.cpp196 static int list(sp<IKeystoreService> service, const String16& name, int uid) { in list() function
/system/core/logd/
DLogWhiteBlackList.cpp121 PruneCollection *list; in init() local
/system/core/libmemunreachable/
DAllocator.h211 using list = std::list<T, Allocator<T>>; variable
/system/extras/ext4_utils/
Dallocate.c66 static void region_list_remove(struct region_list *list, struct region *reg) in region_list_remove()
84 void region_list_append(struct region_list *list, struct region *reg) in region_list_append()
614 static int advance_list_ptr(struct region_list *list, int blocks) in advance_list_ptr()
Dallocate.h40 struct region_list list; member
/system/core/libcutils/
Dandroid_reboot.c41 struct listnode list; member
/system/core/logcat/tests/
Dlogcat_test.cpp838 static bool get_white_black(char **list) { in get_white_black()
873 static bool set_white_black(const char *list) { in set_white_black()
905 char *list = NULL; in TEST() local
/system/bt/stack/gatt/
Dgatt_utils.c174 list_t *list = fixed_queue_get_list(gatt_cb.srv_chg_clt_q); in gatt_set_srv_chg() local
208 list_t *list = fixed_queue_get_list(gatt_cb.pending_new_srv_start_q); in gatt_sr_is_new_srv_chg() local
777 list_t *list = fixed_queue_get_list(p_tcb->pending_ind_q); in gatt_is_srv_chg_ind_pending() local
814 list_t *list = fixed_queue_get_list(gatt_cb.srv_chg_clt_q); in gatt_is_bda_in_the_srv_chg_clt_list() local
1531 UINT16 list = UUID_SERVCLASS_PUBLIC_BROWSE_GROUP; in gatt_add_sdp_record() local
/system/bt/btif/src/
Dbtif_sock_sdp.c143 uint16_t list = UUID_SERVCLASS_PUBLIC_BROWSE_GROUP; in create_base_record() local

12