Lines Matching refs:cur_bitshift
4681 int cur_bitshift; in get_field() local
4687 cur_bitshift = in get_field()
4689 result = *(data + cur_byte) >> (-cur_bitshift); in get_field()
4690 cur_bitshift += FLOATFORMAT_CHAR_BIT; in get_field()
4697 while ((unsigned int) cur_bitshift < len) in get_field()
4699 if (len - cur_bitshift < FLOATFORMAT_CHAR_BIT) in get_field()
4704 & ((1 << (len - cur_bitshift)) - 1)) in get_field()
4705 << cur_bitshift; in get_field()
4707 result |= (unsigned long)*(data + cur_byte) << cur_bitshift; in get_field()
4708 cur_bitshift += FLOATFORMAT_CHAR_BIT; in get_field()
4849 int cur_bitshift; in put_field() local
4855 cur_bitshift = in put_field()
4858 ~(((1 << ((start + len) % FLOATFORMAT_CHAR_BIT)) - 1) << (-cur_bitshift)); in put_field()
4860 (stuff_to_put & ((1 << FLOATFORMAT_CHAR_BIT) - 1)) << (-cur_bitshift); in put_field()
4861 cur_bitshift += FLOATFORMAT_CHAR_BIT; in put_field()
4868 while ((unsigned int) cur_bitshift < len) in put_field()
4870 if (len - cur_bitshift < FLOATFORMAT_CHAR_BIT) in put_field()
4874 ~((1 << (len - cur_bitshift)) - 1); in put_field()
4875 *(data + cur_byte) |= (stuff_to_put >> cur_bitshift); in put_field()
4878 *(data + cur_byte) = ((stuff_to_put >> cur_bitshift) in put_field()
4880 cur_bitshift += FLOATFORMAT_CHAR_BIT; in put_field()