Searched refs:WBITS (Results 1 – 2 of 2) sorted by relevance
38 static const int WBITS = WBITS_DEF; /* Stored in a static int for debuging */ variable156 for (i = 0; i < WBITS; i++) in rev()158 t |= ((seq_word_t)1 << (WBITS - 1 - i)); in rev()271 return (sa->arr[bit/WBITS] & ((seq_word_t)1 << (bit % WBITS)) ? 1 : 0); in check_bit()279 sa->arr[bit/WBITS] |= ((seq_word_t)1 << (bit % WBITS)); in set_bit()316 m = n / WBITS; in shift_bits()330 n %= WBITS; in shift_bits()337 out = (sa->arr[i] >> (WBITS - n)); in shift_bits()
411 #define WBITS (sizeof(long)*8) macro414 #define is_option(s,x) ((s)->v[((x)&WMASK)/WBITS] & (1L << ((x) % WBITS)))415 #define on_option(s,x) ((s)->v[((x)&WMASK)/WBITS] |= (1L << ((x) % WBITS)))416 #define off_option(s,x) ((s)->v[((x)&WMASK)/WBITS] &= ~(1L << ((x) % WBITS)))