Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dbitset.h41 #define BITSET_WORDBITS (sizeof (BITSET_WORD) * 8) macro
45 #define BITSET_WORDS(bits) (((bits) + BITSET_WORDBITS - 1) / BITSET_WORDBITS)
55 #define BITSET_BITWORD(b) ((b) / BITSET_WORDBITS)
56 #define BITSET_BIT(b) (1 << ((b) % BITSET_WORDBITS))
64 #define BITSET_MASK(b) ((b) == BITSET_WORDBITS ? ~0 : BITSET_BIT(b) - 1)
91 return ffs(x[i]) + BITSET_WORDBITS * i; in __bitset_ffs()
128 return word * BITSET_WORDBITS + bit; in __bitset_next_set()