Searched refs:elm (Results 1 – 2 of 2) sorted by relevance
/picolibc-latest/newlib/libc/include/sys/ |
D | tree.h | 86 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left argument 87 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right argument 133 name##_SPLAY_FIND(struct name *head, struct type *elm) \ 137 name##_SPLAY(head, elm); \ 138 if ((cmp)(elm, (head)->sph_root) == 0) \ 144 name##_SPLAY_NEXT(struct name *head, struct type *elm) \ 146 name##_SPLAY(head, elm); \ 147 if (SPLAY_RIGHT(elm, field) != NULL) { \ 148 elm = SPLAY_RIGHT(elm, field); \ 149 while (SPLAY_LEFT(elm, field) != NULL) { \ [all …]
|
D | queue.h | 208 #define QMD_SLIST_CHECK_PREVPTR(prevp, elm) do { \ argument 209 if (*(prevp) != (elm)) \ 211 (prevp), *(prevp), (elm)); \ 214 #define QMD_SLIST_CHECK_PREVPTR(prevp, elm) argument 263 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument 264 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ 265 SLIST_NEXT((slistelm), field) = (elm); \ 268 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 269 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 270 SLIST_FIRST((head)) = (elm); \ [all …]
|