Lines Matching +full:elm +full:- +full:id
1 /*-
26 * $Id: _elftc.h 3446 2016-05-03 01:31:17Z emaste $
41 #define offsetof(T, M) ((int) &((T*) 0) -> M)
44 /* --QUEUE-MACROS-- [[ */
96 *(head1)->stqh_last = (head2)->stqh_first; \
97 (head1)->stqh_last = (head2)->stqh_last; \
104 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL)
115 #define STAILQ_FIRST(head) ((head)->stqh_first)
133 for ((var) = ((head)->stqh_first); \
135 (var) = ((var)->field.stqe_next))
147 (head)->stqh_first = NULL; \
148 (head)->stqh_last = &(head)->stqh_first; \
153 #define STAILQ_INSERT_HEAD(head, elm, field) do { \ argument
154 if (((elm)->field.stqe_next = (head)->stqh_first) == NULL) \
155 (head)->stqh_last = &(elm)->field.stqe_next; \
156 (head)->stqh_first = (elm); \
161 #define STAILQ_INSERT_TAIL(head, elm, field) do { \ argument
162 (elm)->field.stqe_next = NULL; \
163 *(head)->stqh_last = (elm); \
164 (head)->stqh_last = &(elm)->field.stqe_next; \
169 #define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ argument
170 if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\
171 (head)->stqh_last = &(elm)->field.stqe_next; \
172 (listelm)->field.stqe_next = (elm); \
180 ((char *)((head)->stqh_last) - offsetof(struct type, field))))
184 #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next) argument
188 #define STAILQ_REMOVE(head, elm, type, field) do { \ argument
189 if ((head)->stqh_first == (elm)) { \
192 struct type *curelm = (head)->stqh_first; \
193 while (curelm->field.stqe_next != (elm)) \
194 curelm = curelm->field.stqe_next; \
195 if ((curelm->field.stqe_next = \
196 curelm->field.stqe_next->field.stqe_next) == NULL) \
197 (head)->stqh_last = &(curelm)->field.stqe_next; \
204 if (((head)->stqh_first = (head)->stqh_first->field.stqe_next) == \
206 (head)->stqh_last = &(head)->stqh_first; \
246 _qsz--; \
251 _psz--; \
256 _psz--; \
262 _qsz--; \
267 (head)->stqh_first = _lb.stqh_first; \
268 (head)->stqh_last = _lb.stqh_last; \
281 /* ]] --QUEUE-MACROS-- */
290 #define ELFTC_VCSID(ID) __RCSID(ID) argument
294 #define ELFTC_VCSID(ID) __FBSDID(ID) argument
300 #define ELFTC_VCSID(ID) __asm__(".ident\t\"" ID "\"") argument
302 #define ELFTC_VCSID(ID) /**/ argument
308 #define ELFTC_VCSID(ID) __asm__(".ident\t\"" ID "\"") argument
310 #define ELFTC_VCSID(ID) /**/ argument
315 #define ELFTC_VCSID(ID) __RCSID(ID) argument
320 #define ELFTC_VCSID(ID) __asm__(".ident\t\"" ID "\"") argument
322 #define ELFTC_VCSID(ID) /**/ argument
370 ** Per-OS configuration.
465 /* from src/doc/CHANGES: flex(1): Import flex-2.5.35 [christos 20091025] */