HomeSort by relevance Sort by last modified time
    Searched refs:BITSET_WORD_BITS (Results 1 - 7 of 7) sorted by null

  /external/bison/lib/
lbitset.c 53 #define LBITSET_WORD_BITS BITSET_WORD_BITS
65 bitset_windex index; /* bitno / BITSET_WORD_BITS. */
520 bitset_windex windex = bitno / BITSET_WORD_BITS;
525 (bitset_word) 1 << (bitno % BITSET_WORD_BITS);
533 bitset_windex windex = bitno / BITSET_WORD_BITS;
539 ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS));
549 bitset_windex windex = bitno / BITSET_WORD_BITS;
553 >> (bitno % BITSET_WORD_BITS))
586 n_bits = (elt->index + LBITSET_ELT_WORDS) * BITSET_WORD_BITS;
594 windex = bitno / BITSET_WORD_BITS;
    [all...]
abitset.c 31 #define ABITSET_N_WORDS(N) (((N) + BITSET_WORD_BITS - 1) / BITSET_WORD_BITS)
73 if (num >= BITSET_WORD_BITS)
166 windex = bitno / BITSET_WORD_BITS;
167 bitcnt = bitno % BITSET_WORD_BITS;
168 bitoff = windex * BITSET_WORD_BITS;
174 word = srcp[windex] << (BITSET_WORD_BITS - 1 - bitcnt);
188 bitoff -= BITSET_WORD_BITS;
189 bitcnt = BITSET_WORD_BITS - 1;
227 bitoff = windex * BITSET_WORD_BITS;
    [all...]
ebitset.c 54 ((unsigned int) (EBITSET_ELT_WORDS * BITSET_WORD_BITS))
514 bitset_windex windex = bitno / BITSET_WORD_BITS;
519 (bitset_word) 1 << (bitno % BITSET_WORD_BITS);
527 bitset_windex windex = bitno / BITSET_WORD_BITS;
533 ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS));
545 bitset_windex windex = bitno / BITSET_WORD_BITS;
549 >> (bitno % BITSET_WORD_BITS))
595 windex = bitno / BITSET_WORD_BITS;
603 bcount = bitno % BITSET_WORD_BITS;
604 boffset = windex * BITSET_WORD_BITS;
    [all...]
bitset.h 138 bitset_windex windex = bitno / BITSET_WORD_BITS;
142 bset->b.cdata[offset] |= ((bitset_word) 1 << (bitno % BITSET_WORD_BITS));
152 bitset_windex windex = bitno / BITSET_WORD_BITS;
156 bset->b.cdata[offset] &= ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS));
166 bitset_windex windex = bitno / BITSET_WORD_BITS;
170 return (bset->b.cdata[offset] >> (bitno % BITSET_WORD_BITS)) & 1;
vbitset.c 45 #define VBITSET_N_WORDS(N) (((N) + BITSET_WORD_BITS - 1) / BITSET_WORD_BITS)
121 bitset_windex windex = bitno / BITSET_WORD_BITS;
130 (bitset_word) 1 << (bitno % BITSET_WORD_BITS);
189 windex = bitno / BITSET_WORD_BITS;
190 bitcnt = bitno % BITSET_WORD_BITS;
191 bitoff = windex * BITSET_WORD_BITS;
197 word = srcp[windex] << (BITSET_WORD_BITS - 1 - bitcnt);
211 bitoff -= BITSET_WORD_BITS;
212 bitcnt = BITSET_WORD_BITS - 1
    [all...]
bitset_stats.c 316 bitset_windex wordno = bitno / BITSET_WORD_BITS;
323 bset->b.cdata[offset] |= (bitset_word) 1 << (bitno % BITSET_WORD_BITS);
335 bitset_windex wordno = bitno / BITSET_WORD_BITS;
343 ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS));
362 bitset_windex wordno = bitno / BITSET_WORD_BITS;
370 return (bset->b.cdata[offset] >> (bitno % BITSET_WORD_BITS)) & 1;
bbitset.h 54 #define BITSET_WORD_BITS ((unsigned int) (CHAR_BIT * sizeof (bitset_word)))
76 #define BITSET_MSB ((bitset_word) 1 << (BITSET_WORD_BITS - 1))

Completed in 1574 milliseconds