Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dseq.c36 static const int WBITS = WBITS_DEF; /* Stored in a static int for debuging */ variable
154 for (i = 0; i < WBITS; i++) in rev()
156 t |= ((seq_word_t)1 << (WBITS - 1 - i)); in rev()
269 return (sa->arr[bit/WBITS] & ((seq_word_t)1 << (bit % WBITS)) ? 1 : 0); in check_bit()
277 sa->arr[bit/WBITS] |= ((seq_word_t)1 << (bit % WBITS)); in set_bit()
314 m = n / WBITS; in shift_bits()
328 n %= WBITS; in shift_bits()
335 out = (sa->arr[i] >> (WBITS - n)); in shift_bits()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h461 #define WBITS (sizeof(long)*8) macro
464 #define is_option(s,x) ((s)->v[((x)&WMASK)/WBITS] & (1L << ((x) % WBITS)))
465 #define on_option(s,x) ((s)->v[((x)&WMASK)/WBITS] |= (1L << ((x) % WBITS)))
466 #define off_option(s,x) ((s)->v[((x)&WMASK)/WBITS] &= ~(1L << ((x) % WBITS)))