Lines Matching defs: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)]
71 __bitset_and(BITSET_WORD *r, const BITSET_WORD *x, const BITSET_WORD *y, unsigned n)
78 __bitset_or(BITSET_WORD *r, const BITSET_WORD *x, const BITSET_WORD *y, unsigned n)
85 __bitset_not(BITSET_WORD *x, unsigned n)
109 __bitset_rotate_right(BITSET_WORD *x, unsigned amount, unsigned n)
124 __bitset_rotate_left(BITSET_WORD *x, unsigned amount, unsigned n)
139 __bitset_shr(BITSET_WORD *x, unsigned amount, unsigned n)
163 __bitset_shl(BITSET_WORD *x, unsigned amount, unsigned n)
209 __bitset_set_range(BITSET_WORD *r, unsigned start, unsigned end)
228 __bitset_prefix_sum(const BITSET_WORD *x, unsigned b, unsigned n)
249 __bitset_count(const BITSET_WORD *x, unsigned n)
263 __bitset_ffs(const BITSET_WORD *x, int n)
278 __bitset_last_bit(const BITSET_WORD *x, int n)
293 __bitset_next_set(unsigned i, BITSET_WORD *tmp,
294 const BITSET_WORD *set, unsigned size)
332 for (BITSET_WORD __tmp = (__size) == 0 ? 0 : *(__set), *__foo = &__tmp; __foo != NULL; __foo = NULL) \
337 __bitset_next_range(unsigned *start, unsigned *end, const BITSET_WORD *set,
349 BITSET_WORD tmp = set[word] & ~(BITSET_BIT(*end) - 1);
424 const T c = {{ (BITSET_WORD)x }}; \
443 const T c = {{ (BITSET_WORD)x }}; \
514 BITSET_WORD words[BITSET_WORDS(N)]; \