/bionic/libc/include/sys/ |
D | queue.h | 89 #define LIST_HEAD_INITIALIZER(head) \ argument 101 #define LIST_INIT(head) do { \ argument 102 (head)->lh_first = NULL; \ 120 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument 121 if (((elm)->field.le_next = (head)->lh_first) != NULL) \ 122 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\ 123 (head)->lh_first = (elm); \ 124 (elm)->field.le_prev = &(head)->lh_first; \ 134 #define LIST_FOREACH(var, head, field) \ argument 135 for ((var) = ((head)->lh_first); \ [all …]
|
/bionic/tests/ |
D | search_test.cpp | 171 q_node* head = &zero; in TEST() local 174 ASSERT_EQ(0, head->i); in TEST() 175 ASSERT_EQ(2, head->next->i); in TEST() 176 ASSERT_EQ(nullptr, head->next->next); in TEST() 179 ASSERT_EQ(0, head->i); in TEST() 180 ASSERT_EQ(nullptr, head->next); in TEST() 192 ASSERT_EQ(0, head->i); 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() [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | list.h | 24 #define LIST(type) struct { type *head, *tail; } 26 do { (list).head = NULL; (list).tail = NULL; } while (/*CONSTCOND*/0) 39 #define HEAD(list) ((list).head) 41 #define EMPTY(list) ((list).head == NULL) 46 if ((list).head != NULL) \ 47 (list).head->link.prev = (elt); \ 51 (elt)->link.next = (list).head; \ 52 (list).head = (elt); \ 61 (list).head = (elt); \ 79 INSIST((list).head == (elt)); \ [all …]
|
/bionic/libc/kernel/uapi/asm-arm64/asm/ |
D | sigcontext.h | 40 struct _aarch64_ctx head; member 49 struct _aarch64_ctx head; member
|
/bionic/libc/bionic/ |
D | malloc_debug_check.cpp | 115 static hdr_t* head; variable 173 static inline void add_locked(hdr_t* hdr, hdr_t** tail, hdr_t** head) { in add_locked() argument 175 hdr->next = *head; in add_locked() 176 if (*head) in add_locked() 177 (*head)->prev = hdr; in add_locked() 180 *head = hdr; in add_locked() 183 static inline int del_locked(hdr_t* hdr, hdr_t** tail, hdr_t** head) { in del_locked() argument 187 *head = hdr->next; in del_locked() 204 add_locked(hdr, &tail, &head); in add() 213 del_locked(hdr, &tail, &head); in del() [all …]
|
D | fts.c | 549 FTSENT *p, *head; in fts_build() local 651 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build() 668 fts_lfree(head); in fts_build() 694 fts_lfree(head); in fts_build() 737 if (head == NULL) in fts_build() 738 head = tail = p; in fts_build() 753 fts_padjust(sp, head); in fts_build() 789 head = fts_sort(sp, head, nitems); in fts_build() 790 return (head); in fts_build() 870 fts_sort(FTS *sp, FTSENT *head, int nitems) in fts_sort() argument [all …]
|
D | malloc_debug_common.cpp | 220 uint8_t* head = *info; in get_malloc_leak_info() local 227 memset(head + entrySize, 0, *infoSize - entrySize); in get_malloc_leak_info() 232 memcpy(head, &(entry->size), entrySize); in get_malloc_leak_info() 233 head += *infoSize; in get_malloc_leak_info()
|
/bionic/libc/upstream-dlmalloc/ |
D | malloc.c | 2186 size_t head; /* Size and inuse bits. */ member 2256 #define cinuse(p) ((p)->head & CINUSE_BIT) 2257 #define pinuse(p) ((p)->head & PINUSE_BIT) 2258 #define flag4inuse(p) ((p)->head & FLAG4_BIT) 2259 #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT) 2260 #define is_mmapped(p) (((p)->head & INUSE_BITS) == 0) 2262 #define chunksize(p) ((p)->head & ~(FLAG_BITS)) 2264 #define clear_pinuse(p) ((p)->head &= ~PINUSE_BIT) 2265 #define set_flag4(p) ((p)->head |= FLAG4_BIT) 2266 #define clear_flag4(p) ((p)->head &= ~FLAG4_BIT) [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | fd.h | 25 unsigned int size, sect, head, track, stretch; member 59 unsigned int device, head, track; member
|
/bionic/libc/kernel/uapi/drm/ |
D | mga_drm.h | 126 unsigned int head; member
|