/bionic/libc/include/sys/ |
D | queue.h | 91 #define LIST_HEAD_INITIALIZER(head) \ argument 103 #define LIST_INIT(head) do { \ argument 104 (head)->lh_first = NULL; \ 122 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument 123 if (((elm)->field.le_next = (head)->lh_first) != NULL) \ 124 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\ 125 (head)->lh_first = (elm); \ 126 (elm)->field.le_prev = &(head)->lh_first; \ 136 #define LIST_FOREACH(var, head, field) \ argument 137 for ((var) = ((head)->lh_first); \ [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/tests/ |
D | search_test.cpp | 176 q_node* head = &zero; in TEST() local 179 ASSERT_EQ(0, head->i); in TEST() 180 ASSERT_EQ(2, head->next->i); in TEST() 181 ASSERT_EQ(nullptr, head->next->next); in TEST() 184 ASSERT_EQ(0, head->i); in TEST() 185 ASSERT_EQ(nullptr, head->next); in TEST() 197 ASSERT_EQ(0, head->i); in TEST() 198 ASSERT_EQ(1, head->next->i); in TEST() 199 ASSERT_EQ(2, head->next->next->i); in TEST() 200 ASSERT_EQ(0, head->next->next->next->i); in TEST() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | virtio_iommu.h | 65 struct virtio_iommu_req_head head; member 72 struct virtio_iommu_req_head head; member 83 struct virtio_iommu_req_head head; member 92 struct virtio_iommu_req_head head; member 109 struct virtio_iommu_probe_property head; member 116 struct virtio_iommu_req_head head; member
|
D | fd.h | 24 unsigned int size, sect, head, track, stretch; member 51 unsigned int device, head, track; member
|
D | io_uring.h | 145 __u32 head; member 158 __u32 head; member
|
/bionic/libc/kernel/uapi/asm-arm64/asm/ |
D | sigcontext.h | 37 struct _aarch64_ctx head; member 44 struct _aarch64_ctx head; member 49 struct _aarch64_ctx head; member 56 struct _aarch64_ctx head; member
|
/bionic/libc/kernel/uapi/rdma/ |
D | rvt-abi.h | 32 RDMA_ATOMIC_UAPI(__u32, head); 43 RDMA_ATOMIC_UAPI(__u32, head);
|
/bionic/libc/bionic/ |
D | fts.c | 554 FTSENT *p, *head; in fts_build() local 656 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build() 672 fts_lfree(head); in fts_build() 698 fts_lfree(head); in fts_build() 741 if (head == NULL) in fts_build() 742 head = tail = p; in fts_build() 757 fts_padjust(sp, head); in fts_build() 793 head = fts_sort(sp, head, nitems); in fts_build() 794 return (head); in fts_build() 874 fts_sort(FTS *sp, FTSENT *head, int nitems) in fts_sort() argument [all …]
|
D | spawn.cpp | 78 __posix_spawn_file_action* head; member 82 for (__posix_spawn_file_action* action = head; action != nullptr; action = action->next) { in Do() 280 __posix_spawn_file_action* a = (*actions)->head; in posix_spawn_file_actions_destroy() 319 if ((*actions)->head == nullptr) { in posix_spawn_add_file_action() 320 (*actions)->head = (*actions)->last = action; in posix_spawn_add_file_action()
|
/bionic/libc/kernel/uapi/drm/ |
D | mga_drm.h | 108 unsigned int head; member
|