/bionic/tests/ |
D | search_test.cpp | 141 q_node* next; member 159 for (q_node* q = &zero; q != nullptr; q = q->next) { in TEST() 175 ASSERT_EQ(2, head->next->i); in TEST() 176 ASSERT_EQ(nullptr, head->next->next); in TEST() 180 ASSERT_EQ(nullptr, head->next); in TEST() 186 zero.next = &zero; in TEST() 193 ASSERT_EQ(1, head->next->i); in TEST() 194 ASSERT_EQ(2, head->next->next->i); in TEST() 195 ASSERT_EQ(0, head->next->next->next->i); in TEST() 196 ASSERT_EQ(1, head->next->next->next->next->i); in TEST() [all …]
|
D | elftls_dl_test.cpp | 176 ASSERT_EQ(nullptr, zero_dtv->next); in TEST() 187 ASSERT_EQ(zero_dtv, initial_dtv->next); in TEST() 206 ASSERT_EQ(initial_dtv, new_dtv->next); in TEST()
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | list.h | 28 #define LINK(type) struct { type *prev, *next; } 32 (elt)->link.next = (type *)(-1); \ 37 (void *)((elt)->link.next) != (void *)(-1)) 51 (elt)->link.next = (list).head; \ 59 (list).tail->link.next = (elt); \ 63 (elt)->link.next = NULL; \ 70 if ((elt)->link.next != NULL) \ 71 (elt)->link.next->link.prev = (elt)->link.prev; \ 77 (elt)->link.prev->link.next = (elt)->link.next; \ 80 (list).head = (elt)->link.next; \ [all …]
|
/bionic/linker/ |
D | linked_list.h | 35 LinkedListEntry<T>* next; member 53 entry_ = entry_->next; 95 new_entry->next = head_; in push_front() 105 new_entry->next = nullptr; in push_back() 110 tail_->next = new_entry; in push_back() 122 head_ = entry->next; in pop_front() 143 head_ = head_->next; in clear() 164 for (LinkedListEntry<T>* e = head_; e != nullptr; e = e->next) { in visit() 176 LinkedListEntry<T>* next = e->next; in remove_if() local 178 head_ = next; in remove_if() [all …]
|
D | linker_block_allocator.cpp | 48 LinkerBlockAllocatorPage* next; member 112 for (LinkerBlockAllocatorPage* page = page_list_; page != nullptr; page = page->next) { in protect_all() 135 page->next = page_list_; in create_new_page() 145 if (block >= (page_ptr + sizeof(page->next)) && block < (page_ptr + kAllocateSize)) { in find_page() 149 page = page->next; in find_page() 162 LinkerBlockAllocatorPage* next = page->next; in purge() local 164 page = next; in purge()
|
D | linker_cfi.cpp | 135 for (soinfo* si = solist; si != nullptr; si = si->next) { in find_libdl() 220 for (soinfo* si = solist; si != nullptr; si = si->next) { in MaybeInit() 239 for (soinfo* si = solist; si != nullptr; si = si->next) { in MaybeInit()
|
/bionic/libc/bionic/ |
D | pthread_internal.cpp | 49 thread->next = g_thread_list; in __pthread_internal_add() 51 if (thread->next != nullptr) { in __pthread_internal_add() 52 thread->next->prev = thread; in __pthread_internal_add() 61 if (thread->next != nullptr) { in __pthread_internal_remove() 62 thread->next->prev = thread->prev; in __pthread_internal_remove() 65 thread->prev->next = thread->next; in __pthread_internal_remove() 67 g_thread_list = thread->next; in __pthread_internal_remove() 98 for (pthread_internal_t* t = g_thread_list; t != nullptr; t = t->next) { in __pthread_internal_find()
|
D | pthread_atfork.cpp | 36 atfork_t* next; member 52 for (atfork_t* it = first_; it != nullptr; it = it->next) { in walk_forward() 65 entry->next = nullptr; in push_back() 68 entry->prev->next = entry; in push_back() 82 it = it->next; in remove_if() 85 it = it->next; in remove_if() 93 entry->prev->next = entry->next; in remove() 95 first_ = entry->next; in remove() 98 if (entry->next != nullptr) { in remove() 99 entry->next->prev = entry->prev; in remove()
|
D | net_if.cpp | 67 if_list* next; member 72 next = *list; in if_list() 79 list = it->next; in Free() 120 for (if_list* it = list; it != nullptr; it = it->next) { in if_nameindex() 128 for (if_list* it = list; it != nullptr; it = it->next) { in if_nameindex()
|
D | dirent.cpp | 149 dirent* next = __readdir_locked(d); in readdir_r() local 150 if (errno != 0 && next == nullptr) { in readdir_r() 154 if (next != nullptr) { in readdir_r() 155 memcpy(entry, next, next->d_reclen); in readdir_r()
|
D | __cxa_thread_atexit_impl.cpp | 27 thread_local_dtor* next; member in thread_local_dtor 43 dtor->next = thread->thread_local_dtors; in __cxa_thread_atexit_impl() 55 thread->thread_local_dtors = current->next; in __cxa_thread_finalize()
|
D | spawn.cpp | 50 __posix_spawn_file_action* next; member 82 for (__posix_spawn_file_action* action = head; action != nullptr; action = action->next) { in Do() 283 a = a->next; in posix_spawn_file_actions_destroy() 303 action->next = nullptr; in posix_spawn_add_file_action() 322 (*actions)->last->next = action; in posix_spawn_add_file_action()
|
D | bionic_allocator.cpp | 125 next_free->next = block_record->next; in alloc() 129 page->free_block_list = block_record->next; in alloc() 177 block_record->next = page->free_block_list; in free() 218 first_block->next = nullptr; in alloc_page()
|
D | bionic_elf_tls.cpp | 250 new_dtv->next = old_dtv; in update_tls_dtv() 359 TlsDtv* next = dtv->next; in __free_dynamic_tls() local 361 dtv = next; in __free_dynamic_tls()
|
/bionic/libc/system_properties/ |
D | contexts_split.cpp | 44 ContextListNode(ContextListNode* next, const char* context, const char* filename) in ContextListNode() argument 45 : ContextNode(strdup(context), filename), next(next) { in ContextListNode() 52 ContextListNode* next; member in ContextListNode 56 PrefixNode(struct PrefixNode* next, const char* prefix, ContextListNode* context) in PrefixNode() 57 : prefix(strdup(prefix)), prefix_len(strlen(prefix)), context(context), next(next) { in PrefixNode() 65 PrefixNode* next; member 83 next_list = &(*next_list)->next; in ListAddAfterLen() 92 list = list->next; in ListForEach() 102 list = list->next; in ListFind() 111 *list = old_list->next; in ListFree()
|
/bionic/tools/versioner/src/ |
D | Preprocessor.cpp | 270 auto next = current; in mergeGuards() local 271 ++next; in mergeGuards() 273 while (next != guard_map.end()) { in mergeGuards() 274 if (current->second != next->second) { in mergeGuards() 276 ++next; in mergeGuards() 285 FileLocation end_location = next->first.start; in mergeGuards() 360 to_string(next->first).c_str()); in mergeGuards() 362 ++next; in mergeGuards() 367 to_string(next->first).c_str()); in mergeGuards() 370 merged.end = next->first.end; in mergeGuards() [all …]
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | quick_exit.c | 42 struct quick_exit_handler *next; member 66 h->next = handlers; in at_quick_exit() 82 for (h = handlers; NULL != h; h = h->next) { in quick_exit()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | eventlib_p.h | 88 struct evConn * next; member 121 struct evFile * next; member 142 struct evStream *prev, *next; member 158 struct evWait * next; member 165 struct evWaitList * next; member 176 struct { struct evEvent_p *next; } free; member
|
D | ev_streams.c | 88 new->next = ctx->streams; in evWrite() 122 new->next = ctx->streams; in evRead() 170 old->prev->next = old->next; in evCancelRW() 172 ctx->streams = old->next; in evCancelRW() 173 if (old->next != NULL) in evCancelRW() 174 old->next->prev = old->prev; in evCancelRW()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regcomp.c | 109 const char *next; /* next character in RE */ member 182 #define PEEK() (*p->next) 183 #define PEEK2() (*(p->next+1)) 184 #define MORE() (p->next < p->end) 185 #define MORE2() (p->next+1 < p->end) 190 #define NEXT() (p->next++) 191 #define NEXT2() (p->next += 2) 192 #define NEXTn(n) (p->next += (n)) 193 #define GETNEXT() (*p->next++) 278 p->next = pattern; in regcomp() [all …]
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1276 struct pending_req_info* next; member 1291 struct resolv_cache_info* next; member 1318 ri = cache->pending_requests.next; in _cache_flush_pending_requests_locked() 1322 ri = ri->next; in _cache_flush_pending_requests_locked() 1329 cache->pending_requests.next = NULL; in _cache_flush_pending_requests_locked() 1343 ri = (*cache)->pending_requests.next; in _cache_check_pending_request_locked() 1351 ri = ri->next; in _cache_check_pending_request_locked() 1359 prev->next = ri; in _cache_check_pending_request_locked() 1382 ri = cache->pending_requests.next; in _cache_notify_waiting_tid_locked() 1390 ri = ri->next; in _cache_notify_waiting_tid_locked() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | dm-ioctl.h | 45 __u32 next; member 55 __u32 next; member 59 __u32 next; member
|
D | romfs_fs.h | 41 __be32 next; member
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | misc.c | 65 freelist[k] = rv->next; 111 v->next = freelist[v->k]; 419 p5->next = 0; 426 p5->next = 0; 439 if ((p51 = p5->next) == 0) { 442 if (!(p51 = p5->next)) { 443 p51 = p5->next = mult(p5,p5); 446 p51->next = 0; 450 p51 = p5->next = mult(p5,p5); 453 p51->next = 0;
|
/bionic/libc/stdio/ |
D | glue.h | 44 struct glue *next; member
|