Lines Matching refs:NBITS
27 #define Sbitset__nbytes(NBITS) \ argument
28 (((NBITS) + CHAR_BIT - 1) / CHAR_BIT)
33 #define Sbitset__last_byte_mask(NBITS) \ argument
34 (UCHAR_MAX << (CHAR_BIT - 1 - ((NBITS) - 1) % CHAR_BIT))
62 #define Sbitset__zero(SELF, NBITS) \ argument
64 memset (SELF, 0, Sbitset__nbytes (NBITS)); \
68 #define Sbitset__ones(SELF, NBITS) \ argument
70 memset (SELF, UCHAR_MAX, Sbitset__nbytes (NBITS)); \
74 #define Sbitset__or(SELF, OTHER1, OTHER2, NBITS) \ argument
79 Sbitset end_self = ptr_self + Sbitset__nbytes (NBITS); \
84 #define SBITSET__FOR_EACH(SELF, NBITS, ITER, INDEX) \ argument
85 for ((ITER) = (SELF); (ITER) < (SELF) + Sbitset__nbytes (NBITS); ++(ITER)) \
88 (INDEX) < (NBITS) && (SELF)+(INDEX)/CHAR_BIT < (ITER)+1; \