Home | History | Annotate | Download | only in lib

Lines Matching refs:bitno

313 bitset_stats_set (bitset dst, bitset_bindex bitno)
316 bitset_windex wordno = bitno / BITSET_WORD_BITS;
323 bset->b.cdata[offset] |= (bitset_word) 1 << (bitno % BITSET_WORD_BITS);
327 BITSET_SET_ (bset, bitno);
332 bitset_stats_reset (bitset dst, bitset_bindex bitno)
335 bitset_windex wordno = bitno / BITSET_WORD_BITS;
343 ~((bitset_word) 1 << (bitno % BITSET_WORD_BITS));
347 BITSET_RESET_ (bset, bitno);
352 bitset_stats_toggle (bitset src, bitset_bindex bitno)
354 return BITSET_TOGGLE_ (src->s.bset, bitno);
359 bitset_stats_test (bitset src, bitset_bindex bitno)
362 bitset_windex wordno = bitno / BITSET_WORD_BITS;
370 return (bset->b.cdata[offset] >> (bitno % BITSET_WORD_BITS)) & 1;
373 return BITSET_TEST_ (bset, bitno);