Searched refs:BIT2BYTE (Results 1 – 4 of 4) sorted by relevance
16 #define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)24 #define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE) macro
31 int ibyte = BIT2BYTE(ibit); in addbit()44 return (ss[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0;