Home
last modified time | relevance | path

Searched refs:ITER (Results 1 – 2 of 2) sorted by relevance

/external/bison/lib/
Dbitset.h315 #define BITSET_FOR_EACH(ITER, BSET, INDEX, MIN) \ argument
316 for (ITER.next = (MIN), ITER.num = BITSET_LIST_SIZE; \
317 (ITER.num == BITSET_LIST_SIZE) \
318 && (ITER.num = bitset_list (BSET, ITER.list, \
319 BITSET_LIST_SIZE, &ITER.next));) \
320 for (ITER.i = 0; \
321 ITER.i < ITER.num && ((INDEX) = ITER.list[ITER.i], 1); \
322 ITER.i++)
337 #define BITSET_FOR_EACH_REVERSE(ITER, BSET, INDEX, MIN) \ argument
338 for (ITER.next = (MIN), ITER.num = BITSET_LIST_SIZE; \
[all …]
/external/bison/src/
DSbitset.h84 #define SBITSET__FOR_EACH(SELF, NBITS, ITER, INDEX) \ argument
85 for ((ITER) = (SELF); (ITER) < (SELF) + Sbitset__nbytes (NBITS); ++(ITER)) \
86 if (*(ITER) != 0) \
87 for ((INDEX) = ((ITER)-(SELF))*CHAR_BIT; \
88 (INDEX) < (NBITS) && (SELF)+(INDEX)/CHAR_BIT < (ITER)+1; \
90 if (((*ITER) & Sbitset__bit_mask (INDEX)) != 0)