Lines Matching defs:bs
406 #define BITSET_CLEAR(bs) do {\
408 for (i = 0; i < BITSET_SIZE; i++) { (bs)[i] = 0; } \
411 #define BS_ROOM(bs,pos) (bs)[(int )(pos) / BITS_IN_ROOM]
414 #define BITSET_AT(bs, pos) (BS_ROOM(bs,pos) & BS_BIT(pos))
415 #define BITSET_SET_BIT(bs, pos) BS_ROOM(bs,pos) |= BS_BIT(pos)
416 #define BITSET_CLEAR_BIT(bs, pos) BS_ROOM(bs,pos) &= ~(BS_BIT(pos))
417 #define BITSET_INVERT_BIT(bs, pos) BS_ROOM(bs,pos) ^= BS_BIT(pos)
779 BitSet bs;