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