Searched refs:BS_BIT (Results 1 – 1 of 1) sorted by relevance
313 #define BS_BIT(pos) (1 << (pos % BITS_IN_ROOM)) macro315 #define BITSET_AT(bs, pos) (BS_ROOM(bs,pos) & BS_BIT(pos))316 #define BITSET_SET_BIT(bs, pos) BS_ROOM(bs,pos) |= BS_BIT(pos)317 #define BITSET_CLEAR_BIT(bs, pos) BS_ROOM(bs,pos) &= ~(BS_BIT(pos))318 #define BITSET_INVERT_BIT(bs, pos) BS_ROOM(bs,pos) ^= BS_BIT(pos)
Completed in 7 milliseconds