/bionic/libc/arch-arm/bionic/ |
D | atomics_arm.c | 70 int prev; in __atomic_swap() local 72 prev = *ptr; in __atomic_swap() 73 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); in __atomic_swap() 74 return prev; in __atomic_swap()
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | list.h | 28 #define LINK(type) struct { type *prev, *next; } 31 (elt)->link.prev = (type *)(-1); \ 36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ 47 (list).head->link.prev = (elt); \ 50 (elt)->link.prev = NULL; \ 62 (elt)->link.prev = (list).tail; \ 71 (elt)->link.next->link.prev = (elt)->link.prev; \ 74 (list).tail = (elt)->link.prev; \ 76 if ((elt)->link.prev != NULL) \ 77 (elt)->link.prev->link.next = (elt)->link.next; \ [all …]
|
/bionic/libc/include/android/ |
D | legacy_sys_atomics_inlines.h | 55 int prev; in __atomic_swap() local 57 prev = *ptr; in __atomic_swap() 58 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); in __atomic_swap() 59 return prev; in __atomic_swap()
|
/bionic/libc/bionic/ |
D | pthread_internal.cpp | 49 thread->prev = NULL; in __pthread_internal_add() 51 thread->next->prev = thread; in __pthread_internal_add() 61 thread->next->prev = thread->prev; in __pthread_internal_remove() 63 if (thread->prev != NULL) { in __pthread_internal_remove() 64 thread->prev->next = thread->next; in __pthread_internal_remove()
|
D | pthread_atfork.cpp | 37 atfork_t* prev; member 59 for (atfork_t* it = last_; it != nullptr; it = it->prev) { in walk_backwards() 66 entry->prev = last_; in push_back() 67 if (entry->prev != nullptr) { in push_back() 68 entry->prev->next = entry; in push_back() 92 if (entry->prev != nullptr) { in remove() 93 entry->prev->next = entry->next; in remove() 99 entry->next->prev = entry->prev; in remove() 101 last_ = entry->prev; in remove()
|
D | malloc_debug_leak.cpp | 149 entry->prev = NULL; in record_backtrace() 159 entry->next->prev = entry; in record_backtrace() 185 HashEntry* prev = entry->prev; in remove_entry() local 188 if (prev != NULL) entry->prev->next = next; in remove_entry() 189 if (next != NULL) entry->next->prev = prev; in remove_entry() 191 if (prev == NULL) { in remove_entry()
|
D | malloc_debug_check.cpp | 80 hdr_t* prev; member 174 hdr->prev = NULL; in add_locked() 177 (*head)->prev = hdr; in add_locked() 184 if (hdr->prev) { in del_locked() 185 hdr->prev->next = hdr->next; in del_locked() 190 hdr->next->prev = hdr->prev; in del_locked() 192 *tail = hdr->prev; in del_locked()
|
D | malloc_debug_common.h | 60 HashEntry* prev; member
|
D | pthread_internal.h | 56 struct pthread_internal_t* prev; member
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
D | ebt_limit.h | 29 unsigned long prev; member
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_limit.h | 29 unsigned long prev; member
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_streams.c | 86 ctx->streams->prev = new; in evWrite() 87 new->prev = NULL; in evWrite() 120 ctx->streams->prev = new; in evRead() 121 new->prev = NULL; in evRead() 169 if (old->prev != NULL) in evCancelRW() 170 old->prev->next = old->next; in evCancelRW() 174 old->next->prev = old->prev; in evCancelRW()
|
D | eventlib_p.h | 87 struct evConn * prev; member 120 struct evFile * prev; member 142 struct evStream *prev, *next; member 164 struct evWaitList * prev; member
|
/bionic/tests/ |
D | search_test.cpp | 142 q_node* prev; member 165 for (q_node* q = &two; q != NULL; q = q->prev) { in TEST() 187 zero.prev = &zero; in TEST()
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1278 struct pending_req_info *ri, *prev; in _cache_check_pending_request_locked() local 1283 prev = &(*cache)->pending_requests; in _cache_check_pending_request_locked() 1289 prev = ri; in _cache_check_pending_request_locked() 1298 prev->next = ri; in _cache_check_pending_request_locked() 1318 struct pending_req_info *ri, *prev; in _cache_notify_waiting_tid_locked() local 1322 prev = &cache->pending_requests; in _cache_notify_waiting_tid_locked() 1328 prev = ri; in _cache_notify_waiting_tid_locked() 1334 prev->next = ri->next; in _cache_notify_waiting_tid_locked()
|
/bionic/libc/kernel/uapi/drm/ |
D | i810_drm.h | 145 unsigned char next, prev; member
|
D | via_drm.h | 157 unsigned char next, prev; member
|
D | drm.h | 72 unsigned char prev; member
|
/bionic/libc/upstream-dlmalloc/ |
D | malloc.c | 1846 int prev = 0; in x86_clear_lock() local 1850 : "m" (*(sl)), "0"(prev) in x86_clear_lock() 4390 mchunkptr prev; in dispose_chunk() local 4398 prev = chunk_minus_offset(p, prevsize); in dispose_chunk() 4400 p = prev; in dispose_chunk() 4401 if (RTCHECK(ok_address(m, prev))) { /* consolidate backward */ in dispose_chunk() 4738 mchunkptr prev = chunk_minus_offset(p, prevsize); in dlfree() local 4740 p = prev; in dlfree() 4741 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in dlfree() 5674 mchunkptr prev = chunk_minus_offset(p, prevsize); in mspace_free() local [all …]
|
/bionic/linker/ |
D | linker.cpp | 253 soinfo *prev = nullptr, *trav; in soinfo_free() local 261 prev = trav; in soinfo_free() 275 prev->next = si->next; in soinfo_free() 277 sonext = prev; in soinfo_free()
|