Lines Matching refs:bit_idx
398 int bit_idx = m_bit_idx;
399 int new_bit_idx = bit_idx + bits;
411 return ((current[0] >> bit_idx) |
412 ((current[1] <<-bit_idx) & mask)) & bs_bit_mask[bits];
417 int bit_idx = m_bit_idx;
418 int new_bit_idx = bit_idx + bits;
430 return ((current[0] >> bit_idx) |
431 ((current[1] <<-bit_idx) & mask)) & bs_bit_mask[bits];
508 int bit_idx = m_bit_idx - bits;
509 int mask = bit_idx >> 31;
519 m_bit_idx = bit_idx &= 31;
520 return (((current[-1] << -bit_idx) & mask)|
521 (current[0] >> bit_idx)) & bs_bit_mask[bits];
527 int bit_idx = m_bit_idx - bits;
528 int mask = bit_idx >> 31;
540 return (((current[-1]<<-bit_idx) & mask)|
541 (current[0] >> bit_idx)) & bs_bit_mask[bits];
1017 int bit_idx = m_bit_idx - bits;
1024 if( bit_idx >= 0 )
1026 curval |= val << bit_idx;
1030 *((ulong*&)m_current)++ = curval | ((unsigned)val >> -bit_idx);
1035 bit_idx += 32;
1036 curval = val << bit_idx;
1040 m_bit_idx = bit_idx;