Lines Matching refs:BITSET_WORD_BITS
198 #define BITSET_WORD_BITS ULONG_WIDTH macro
201 #define BITSET_WORDS ((SBC_MAX + BITSET_WORD_BITS - 1) / BITSET_WORD_BITS)
718 set[i / BITSET_WORD_BITS] |= (bitset_word_t) 1 << i % BITSET_WORD_BITS; in bitset_set()
724 set[i / BITSET_WORD_BITS] &= ~ ((bitset_word_t) 1 << i % BITSET_WORD_BITS); in bitset_clear()
730 return (set[i / BITSET_WORD_BITS] >> i % BITSET_WORD_BITS) & 1; in bitset_contain()
742 memset (set, -1, sizeof (bitset_word_t) * (SBC_MAX / BITSET_WORD_BITS)); in bitset_set_all()
743 if (SBC_MAX % BITSET_WORD_BITS != 0) in bitset_set_all()
745 ((bitset_word_t) 1 << SBC_MAX % BITSET_WORD_BITS) - 1; in bitset_set_all()
758 for (bitset_i = 0; bitset_i < SBC_MAX / BITSET_WORD_BITS; ++bitset_i) in bitset_not()
760 if (SBC_MAX % BITSET_WORD_BITS != 0) in bitset_not()
762 ((((bitset_word_t) 1 << SBC_MAX % BITSET_WORD_BITS) - 1) in bitset_not()