ICE_BITSTR_BITS
#define ice_bitstr_size(nbits) (ice_bit_roundup((nbits), ICE_BITSTR_BITS) / 8)
return (bit / ICE_BITSTR_BITS);
return (bit % ICE_BITSTR_BITS);
(ICE_BITSTR_MASK >> (ICE_BITSTR_BITS - ice_bit_offset(stop) - 1)));
nbits -= ICE_BITSTR_BITS * ice_bit_idx(start);
start -= ICE_BITSTR_BITS * ice_bit_idx(start);
curbitstr_len = (int)ICE_BITSTR_BITS < nbits ?
(int)ICE_BITSTR_BITS : nbits;
if (nbits < ICE_BITSTR_BITS)
nbits -= ICE_BITSTR_BITS;
while (nbits >= (int)ICE_BITSTR_BITS) {
nbits -= ICE_BITSTR_BITS;
test &= ice_bit_make_mask(start, ICE_BITSTR_BITS - 1);
value = ((curbitstr - bitstr) * ICE_BITSTR_BITS) + ffs(test) - 1;
maxshft = ice_bit_idx(size - 1) == 0 ? size : (int)ICE_BITSTR_BITS;
last -= ICE_BITSTR_BITS, test = mask ^ *++curbitstr) {
value = (curbitstr - bitstr) * ICE_BITSTR_BITS + last;