Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 43) sorted by relevance

12

/bionic/linker/tests/
Dlinked_list_test.cpp49 std::string test_list_to_string(test_list_t& list) { in test_list_to_string() argument
51 list.for_each([&] (const char* c) { in test_list_to_string()
62 test_list_t list; in TEST() local
63 ASSERT_EQ("", test_list_to_string(list)); in TEST()
66 list.push_front("a"); in TEST()
69 ASSERT_EQ("a", test_list_to_string(list)); in TEST()
70 list.push_front("b"); in TEST()
71 ASSERT_EQ("ba", test_list_to_string(list)); in TEST()
72 list.push_front("c"); in TEST()
73 list.push_front("d"); in TEST()
[all …]
/bionic/libc/upstream-netbsd/lib/libc/include/isc/
Dlist.h25 #define INIT_LIST(list) \ argument
26 do { (list).head = NULL; (list).tail = NULL; } while (/*CONSTCOND*/0)
39 #define HEAD(list) ((list).head) argument
40 #define TAIL(list) ((list).tail) argument
41 #define EMPTY(list) ((list).head == NULL) argument
43 #define PREPEND(list, elt, link) \ argument
46 if ((list).head != NULL) \
47 (list).head->link.prev = (elt); \
49 (list).tail = (elt); \
51 (elt)->link.next = (list).head; \
[all …]
/bionic/libc/bionic/
Dnet_if.cpp80 if_list(if_list** list) { in if_list()
82 next = *list; in if_list()
83 *list = this; in if_list()
86 static void Free(if_list* list, bool names_too) { in Free()
87 while (list) { in Free()
88 if_list* it = list; in Free()
89 list = it->next; in Free()
97 if_list** list = reinterpret_cast<if_list**>(context); in __if_nameindex_callback() local
102 if_list* new_link = new if_list(list); in __if_nameindex_callback()
118 if_list* list = nullptr; in if_nameindex() local
[all …]
Dflistxattr.cpp38 ssize_t flistxattr(int fd, char *list, size_t size) { in flistxattr() argument
40 ssize_t result = ___flistxattr(fd, list, size); in flistxattr()
58 return listxattr(buf, list, size); in flistxattr()
Dlibc_init_static.cpp48 static void call_array(void(**list)()) { in call_array() argument
50 while (*++list) { in call_array()
51 (*list)(); in call_array()
Difaddrs.cpp62 ifaddrs_storage(ifaddrs** list) { in ifaddrs_storage()
66 ifa.ifa_next = *list; in ifaddrs_storage()
67 *list = reinterpret_cast<ifaddrs*>(this); in ifaddrs_storage()
254 void freeifaddrs(ifaddrs* list) { in freeifaddrs() argument
255 while (list != nullptr) { in freeifaddrs()
256 ifaddrs* current = list; in freeifaddrs()
257 list = list->ifa_next; in freeifaddrs()
Dsystem_properties.cpp689 static inline void list_add(List** list, Args... args) { in list_add() argument
690 *list = new List(*list, args...); in list_add()
693 static void list_add_after_len(prefix_node** list, const char* prefix, context_node* context) { in list_add_after_len() argument
696 auto next_list = list; in list_add_after_len()
709 static void list_foreach(List* list, Func func) { in list_foreach() argument
710 while (list) { in list_foreach()
711 func(list); in list_foreach()
712 list = list->next; in list_foreach()
717 static List* list_find(List* list, Func func) { in list_find() argument
718 while (list) { in list_find()
[all …]
/bionic/libc/malloc_debug/
DTrackData.cpp47 void TrackData::GetList(std::vector<const Header*>* list) { in GetList() argument
51 list->push_back(header); in GetList()
55 std::sort(list->begin(), list->end(), [](const Header* a, const Header* b) { in GetList()
95 std::vector<const Header*> list; in DisplayLeaks() local
96 GetList(&list); in DisplayLeaks()
99 for (const auto& header : list) { in DisplayLeaks()
101 header->real_size(), debug.GetPointer(header), ++track_count, list.size()); in DisplayLeaks()
129 std::vector<const Header*> list; in GetInfo() local
130 GetList(&list); in GetInfo()
133 for (const auto& header : list) { in GetInfo()
DTrackData.h50 void GetList(std::vector<const Header*>* list);
/bionic/tests/
Dnet_if_test.cpp40 struct if_nameindex* list = if_nameindex(); in TEST() local
41 ASSERT_TRUE(list != nullptr); in TEST()
43 ASSERT_TRUE(list->if_index != 0); in TEST()
48 for (struct if_nameindex* it = list; it->if_index != 0; ++it) { in TEST()
56 if_freenameindex(list); in TEST()
/bionic/libc/include/sys/
Dxattr.h46 extern ssize_t listxattr(const char *path, char *list, size_t size);
47 extern ssize_t llistxattr(const char *path, char *list, size_t size);
48 extern ssize_t flistxattr(int fd, char *list, size_t size);
/bionic/tools/bionicbb/
Dgmail.py62 response = service.users().messages().list(
68 response = service.users().messages().list(
/bionic/libc/kernel/tools/
Dkernel.py133 list = cpp.BlockParser().parseFile(path)
134 if list:
140 list.optimizeMacros(macros)
141 list.optimizeIf01()
142 includes = list.findIncludes()
/bionic/libm/
DNOTICE123 notice, this list of conditions and the following disclaimer.
125 notice, this list of conditions and the following disclaimer in the
165 notice, this list of conditions and the following disclaimer.
167 notice, this list of conditions and the following disclaimer in the
207 notice, this list of conditions and the following disclaimer.
209 notice, this list of conditions and the following disclaimer in the
240 notice, this list of conditions and the following disclaimer.
242 notice, this list of conditions and the following disclaimer in the
276 notice, this list of conditions and the following disclaimer.
278 notice, this list of conditions and the following disclaimer in the
[all …]
/bionic/libstdc++/include/
Dutility9 * notice, this list of conditions and the following disclaimer.
11 * notice, this list of conditions and the following disclaimer in
Dcwctype_is_not_supported10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in
Dclimits10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in
Dcstdint10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in
Dcwchar10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in
Dcfloat10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in
Dcsignal10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in
Dcerrno10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in
/bionic/libc/
DNOTICE7 notice, this list of conditions and the following disclaimer.
9 notice, this list of conditions and the following disclaimer in the
38 notice, this list of conditions and the following disclaimer.
40 notice, this list of conditions and the following disclaimer in the
67 notice, this list of conditions and the following disclaimer.
69 notice, this list of conditions and the following disclaimer in the
93 notice, this list of conditions and the following disclaimer.
95 notice, this list of conditions and the following disclaimer in the
135 notice, this list of conditions and the following disclaimer.
137 notice, this list of conditions and the following disclaimer in the
[all …]
/bionic/tools/relocation_packer/
DLICENSE8 // notice, this list of conditions and the following disclaimer.
10 // copyright notice, this list of conditions and the following disclaimer
/bionic/linker/
DNOTICE24 notice, this list of conditions and the following disclaimer.
26 notice, this list of conditions and the following disclaimer in
52 notice, this list of conditions and the following disclaimer.
54 notice, this list of conditions and the following disclaimer in
96 notice, this list of conditions and the following disclaimer.
98 notice, this list of conditions and the following disclaimer in
156 notice, this list of conditions and the following disclaimer.
158 notice, this list of conditions and the following disclaimer in

12