Home
last modified time | relevance | path

Searched refs:elm2 (Results 1 – 4 of 4) sorted by relevance

/external/libevent/
Dutil-internal.h152 struct type *elm1, *elm2, **nextp; \
159 elm2 = LIST_NEXT(elm1, field); \
160 while (elm1 && elm2) { \
161 EVUTIL_ASSERT(elm1 != elm2); \
163 elm2 = LIST_NEXT(elm2, field); \
164 if (!elm2) \
166 EVUTIL_ASSERT(elm1 != elm2); \
167 elm2 = LIST_NEXT(elm2, field); \
188 struct type *elm1, *elm2, **nextp; \
195 elm2 = TAILQ_NEXT(elm1, field); \
[all …]
/external/libevent/compat/sys/
Dqueue.h203 #define LIST_REPLACE(elm, elm2, field) do { \ argument
204 if (((elm2)->field.le_next = (elm)->field.le_next) != NULL) \
205 (elm2)->field.le_next->field.le_prev = \
206 &(elm2)->field.le_next; \
207 (elm2)->field.le_prev = (elm)->field.le_prev; \
208 *(elm2)->field.le_prev = (elm2); \
365 #define TAILQ_REPLACE(head, elm, elm2, field) do { \ argument
366 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \
367 (elm2)->field.tqe_next->field.tqe_prev = \
368 &(elm2)->field.tqe_next; \
[all …]
/external/iperf3/src/
Dqueue.h232 #define LIST_REPLACE(elm, elm2, field) do { \ argument
233 if (((elm2)->field.le_next = (elm)->field.le_next) != NULL) \
234 (elm2)->field.le_next->field.le_prev = \
235 &(elm2)->field.le_next; \
236 (elm2)->field.le_prev = (elm)->field.le_prev; \
237 *(elm2)->field.le_prev = (elm2); \
398 #define TAILQ_REPLACE(head, elm, elm2, field) do { \ argument
399 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \
400 (elm2)->field.tqe_next->field.tqe_prev = \
401 &(elm2)->field.tqe_next; \
[all …]
/external/openssh/openbsd-compat/
Dsys-queue.h322 #define LIST_REPLACE(elm, elm2, field) do { \ argument
323 if (((elm2)->field.le_next = (elm)->field.le_next) != NULL) \
324 (elm2)->field.le_next->field.le_prev = \
325 &(elm2)->field.le_next; \
326 (elm2)->field.le_prev = (elm)->field.le_prev; \
327 *(elm2)->field.le_prev = (elm2); \
512 #define TAILQ_REPLACE(head, elm, elm2, field) do { \ argument
513 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \
514 (elm2)->field.tqe_next->field.tqe_prev = \
515 &(elm2)->field.tqe_next; \
[all …]