Home
last modified time | relevance | path

Searched refs:WBITS (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dseq.c38 static const int WBITS = WBITS_DEF; /* Stored in a static int for debuging */ variable
156 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()
/titanic_50/usr/src/lib/libshell/common/include/
H A Ddefs.h411 #define WBITS (sizeof(long)*8) macro
414 #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)))