Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dbitset.h56 #define BITSET_BIT(b) (1 << ((b) % BITSET_WORDBITS)) macro
60 #define BITSET_TEST(x, b) ((x)[BITSET_BITWORD(b)] & BITSET_BIT(b))
61 #define BITSET_SET(x, b) ((x)[BITSET_BITWORD(b)] |= BITSET_BIT(b))
62 #define BITSET_CLEAR(x, b) ((x)[BITSET_BITWORD(b)] &= ~BITSET_BIT(b))
64 #define BITSET_MASK(b) ((b) == BITSET_WORDBITS ? ~0 : BITSET_BIT(b) - 1)