Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 22 of 22) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/include/isc/
Dlist.h28 #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/arch-arm/bionic/
Datomics_arm.c70 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/bionic/
Dpthread_atfork.cpp37 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()
Dpthread_internal.cpp53 thread->prev = nullptr; in __pthread_internal_add()
55 thread->next->prev = thread; in __pthread_internal_add()
65 thread->next->prev = thread->prev; in __pthread_internal_remove()
67 if (thread->prev != nullptr) { in __pthread_internal_remove()
68 thread->prev->next = thread->next; in __pthread_internal_remove()
Dfdtrack.cpp52 bool prev = !tls.fdtrack_disabled; in android_fdtrack_set_enabled() local
54 return prev; in android_fdtrack_set_enabled()
Dsys_thread_properties.cpp70 new_node->prev = modules.thread_exit_callback_tail_node; in __libc_register_thread_exit_callback()
Dpthread_internal.h68 class pthread_internal_t* prev; variable
Dfts.c82 FTSENT *parent, *prev; in __fts_open() local
115 for (root = prev = NULL, nitems = 0; *argv; ++argv, ++nitems) { in __fts_open()
142 prev->fts_link = p; in __fts_open()
143 prev = p; in __fts_open()
Dbionic_elf_tls.cpp403 node = node->prev; in __notify_thread_exit_callbacks()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_streams.c86 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()
Deventlib_p.h87 struct evConn * prev; member
120 struct evFile * prev; member
142 struct evStream *prev, *next; member
164 struct evWaitList * prev; member
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debt_limit.h27 unsigned long prev; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_limit.h27 unsigned long prev; member
/bionic/tests/
Dstruct_layout_test.cpp35 CHECK_OFFSET(pthread_internal_t, prev, 8); in tests()
76 CHECK_OFFSET(pthread_internal_t, prev, 4); in tests()
Dsearch_test.cpp147 q_node* prev; member
170 for (q_node* q = &two; q != nullptr; q = q->prev) { in TEST()
192 zero.prev = &zero; in TEST()
/bionic/linker/
Dlinker_main.cpp89 soinfo *prev = nullptr, *trav; in solist_remove_soinfo() local
94 prev = trav; in solist_remove_soinfo()
105 CHECK(prev != nullptr); in solist_remove_soinfo()
106 prev->next = si->next; in solist_remove_soinfo()
108 sonext = prev; in solist_remove_soinfo()
/bionic/libfdtrack/
Dfdtrack.cpp130 bool prev = android_fdtrack_set_enabled(false); in fdtrack_iterate() local
172 android_fdtrack_set_enabled(prev); in fdtrack_iterate()
/bionic/libc/private/
Dbionic_elf_tls.h123 CallbackHolder* prev; member
/bionic/libc/dns/resolv/
Dres_cache.c1339 struct pending_req_info *ri, *prev; in _cache_check_pending_request_locked() local
1344 prev = &(*cache)->pending_requests; in _cache_check_pending_request_locked()
1350 prev = ri; in _cache_check_pending_request_locked()
1359 prev->next = ri; in _cache_check_pending_request_locked()
1379 struct pending_req_info *ri, *prev; in _cache_notify_waiting_tid_locked() local
1383 prev = &cache->pending_requests; in _cache_notify_waiting_tid_locked()
1389 prev = ri; in _cache_notify_waiting_tid_locked()
1395 prev->next = ri->next; in _cache_notify_waiting_tid_locked()
/bionic/libc/kernel/uapi/drm/
Di810_drm.h124 unsigned char next, prev; member
Dvia_drm.h132 unsigned char next, prev; member
Ddrm.h67 unsigned char prev; member