Searched refs:headname (Results 1 – 4 of 4) sorted by relevance
/external/dhcpcd-6.8.2/compat/ |
D | queue.h | 69 #define TAILQ_LAST(head, headname) \ argument 70 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 71 #define TAILQ_PREV(elm, headname, field) \ argument 72 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 82 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 83 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last));\ 85 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last))) 158 #define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, prev) \ argument 159 for ((var) = TAILQ_LAST((head), headname); \ 161 ((prev) = TAILQ_PREV((var), headname, field), 1); (var) = (prev))
|
/external/ipsec-tools/src/racoon/ |
D | misc.h | 55 #define RACOON_TAILQ_FOREACH_REVERSE(var, head, headname ,field) \ argument 56 TAILQ_FOREACH_REVERSE(var, head, field, headname) 58 #define RACOON_TAILQ_FOREACH_REVERSE(var, head, headname ,field) \ argument 59 TAILQ_FOREACH_REVERSE(var, head, headname, field)
|
/external/openssh/openbsd-compat/ |
D | sys-queue.h | 428 #define TAILQ_LAST(head, headname) \ argument 429 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 431 #define TAILQ_PREV(elm, headname, field) \ argument 432 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 448 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 449 for((var) = TAILQ_LAST(head, headname); \ 451 (var) = TAILQ_PREV(var, headname, field)) 453 #define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \ argument 454 for ((var) = TAILQ_LAST(head, headname); \ 456 ((tvar) = TAILQ_PREV(var, headname, field), 1); \ [all …]
|
/external/ipsec-tools/src/include-glibc/sys/ |
D | queue.h | 347 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 348 for ((var) = TAILQ_LAST((head), headname); \ 350 (var) = TAILQ_PREV((var), headname, field)) 391 #define TAILQ_LAST(head, headname) \ argument 392 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 396 #define TAILQ_PREV(elm, headname, field) \ argument 397 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
|