Searched refs:BITMASK (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DXlibnet.h115 #ifdef BITMASK
116 #undef BITMASK macro
125 #define BITMASK(i) (1 << (i)) macro
129 #define BITMASK(i) (1 << ((i) & 31)) macro
134 #define BITSET(buf, i) MASKWORD(buf, i) |= BITMASK(i)
135 #define BITCLEAR(buf, i) MASKWORD(buf, i) &= ~BITMASK(i)
136 #define GETBIT(buf, i) (MASKWORD(buf, i) & BITMASK(i))

Completed in 9 milliseconds