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

  /external/chromium_org/third_party/mesa/src/src/mesa/main/
bitset.h 56 #define BITSET_BIT(b) (1 << ((b) % BITSET_WORDBITS))
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)
  /external/mesa3d/src/mesa/main/
bitset.h 56 #define BITSET_BIT(b) (1 << ((b) % BITSET_WORDBITS))
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)

Completed in 49 milliseconds