Home
last modified time | relevance | path

Searched refs:listelm (Results 1 – 5 of 5) sorted by relevance

/external/libevent/compat/sys/
Dqueue.h174 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
175 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
176 (listelm)->field.le_next->field.le_prev = \
178 (listelm)->field.le_next = (elm); \
179 (elm)->field.le_prev = &(listelm)->field.le_next; \
182 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
183 (elm)->field.le_prev = (listelm)->field.le_prev; \
184 (elm)->field.le_next = (listelm); \
185 *(listelm)->field.le_prev = (elm); \
186 (listelm)->field.le_prev = &(elm)->field.le_next; \
[all …]
/external/iperf3/src/
Dqueue.h201 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
202 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
203 (listelm)->field.le_next->field.le_prev = \
205 (listelm)->field.le_next = (elm); \
206 (elm)->field.le_prev = &(listelm)->field.le_next; \
209 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
210 (elm)->field.le_prev = (listelm)->field.le_prev; \
211 (elm)->field.le_next = (listelm); \
212 *(listelm)->field.le_prev = (elm); \
213 (listelm)->field.le_prev = &(elm)->field.le_next; \
[all …]
/external/openssh/openbsd-compat/
Dsys-queue.h291 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
292 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
293 (listelm)->field.le_next->field.le_prev = \
295 (listelm)->field.le_next = (elm); \
296 (elm)->field.le_prev = &(listelm)->field.le_next; \
299 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
300 (elm)->field.le_prev = (listelm)->field.le_prev; \
301 (elm)->field.le_next = (listelm); \
302 *(listelm)->field.le_prev = (elm); \
303 (listelm)->field.le_prev = &(elm)->field.le_next; \
[all …]
/external/ipsec-tools/src/include-glibc/sys/
Dqueue.h286 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
287 if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL)\
288 LIST_NEXT((listelm), field)->field.le_prev = \
290 LIST_NEXT((listelm), field) = (elm); \
291 (elm)->field.le_prev = &LIST_NEXT((listelm), field); \
294 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
295 (elm)->field.le_prev = (listelm)->field.le_prev; \
296 LIST_NEXT((elm), field) = (listelm); \
297 *(listelm)->field.le_prev = (elm); \
298 (listelm)->field.le_prev = &LIST_NEXT((elm), field); \
[all …]
/external/libevent/
Devent-internal.h389 #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ argument
390 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
391 (elm)->field.tqe_next = (listelm); \
392 *(listelm)->field.tqe_prev = (elm); \
393 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \