Lines Matching refs:BITSET_WORD
41 #define BITSET_WORD unsigned int
42 #define BITSET_WORDBITS (sizeof (BITSET_WORD) * 8)
47 #define BITSET_DECLARE(name, bits) BITSET_WORD name[BITSET_WORDS(bits)]
72 __bitset_and(BITSET_WORD *r, const BITSET_WORD *x, const BITSET_WORD *y, unsigned n)
79 __bitset_or(BITSET_WORD *r, const BITSET_WORD *x, const BITSET_WORD *y, unsigned n)
86 __bitset_not(BITSET_WORD *x, unsigned n)
110 __bitset_rotate_right(BITSET_WORD *x, unsigned amount, unsigned n)
125 __bitset_rotate_left(BITSET_WORD *x, unsigned amount, unsigned n)
140 __bitset_shr(BITSET_WORD *x, unsigned amount, unsigned n)
164 __bitset_shl(BITSET_WORD *x, unsigned amount, unsigned n)
210 __bitset_test_range(const BITSET_WORD *r, unsigned start, unsigned end)
229 __bitset_set_range(BITSET_WORD *r, unsigned start, unsigned end)
248 __bitclear_clear_range(BITSET_WORD *r, unsigned start, unsigned end)
267 __bitset_prefix_sum(const BITSET_WORD *x, unsigned b, unsigned n)
288 __bitset_count(const BITSET_WORD *x, unsigned n)
302 __bitset_ffs(const BITSET_WORD *x, int n)
315 __bitset_last_bit(const BITSET_WORD *x, int n)
330 __bitset_next_set(unsigned i, BITSET_WORD *tmp,
331 const BITSET_WORD *set, unsigned size)
369 for (BITSET_WORD __tmp = (__size) == 0 ? 0 : *(__set), *__foo = &__tmp; __foo != NULL; __foo = NULL) \
374 __bitset_next_range(unsigned *start, unsigned *end, const BITSET_WORD *set,
386 BITSET_WORD tmp = set[word] & ~(BITSET_BIT(*end) - 1);
461 const T c = {{ (BITSET_WORD)x }}; \
480 const T c = {{ (BITSET_WORD)x }}; \
551 BITSET_WORD words[BITSET_WORDS(N)]; \