Searched refs:BS_BIT (Results 1 – 1 of 1) sorted by relevance
339 #define BS_BIT(pos) (1 << (pos % BITS_IN_ROOM)) macro341 #define BITSET_AT(bs, pos) (BS_ROOM(bs,pos) & BS_BIT(pos))342 #define BITSET_SET_BIT(bs, pos) BS_ROOM(bs,pos) |= BS_BIT(pos)343 #define BITSET_CLEAR_BIT(bs, pos) BS_ROOM(bs,pos) &= ~(BS_BIT(pos))344 #define BITSET_INVERT_BIT(bs, pos) BS_ROOM(bs,pos) ^= BS_BIT(pos)
Completed in 8 milliseconds