Home | History | Annotate | Download | only in lib

Lines Matching refs:bitno

224 /* Find next bit set in SRC starting from and including BITNO.
227 bitset_next (bitset src, bitset_bindex bitno)
230 bitset_bindex next = bitno;
246 /* Find previous bit set in SRC starting from and including BITNO.
249 bitset_prev (bitset src, bitset_bindex bitno)
252 bitset_bindex next = bitno;
276 /* Is BITNO in SRC the only set bit? */
278 bitset_only_set_p (bitset src, bitset_bindex bitno)
285 return val[0] == bitno;
336 /* Toggle bit BITNO in bitset BSET and the new value of the bit. */
338 bitset_toggle_ (bitset bset, bitset_bindex bitno)
342 if (bitset_test (bset, bitno))
344 bitset_reset (bset, bitno);
349 bitset_set (bset, bitno);