Searched refs:cur_bitshift (Results 1 – 2 of 2) sorted by relevance
225 int cur_bitshift; in get_field() local231 cur_bitshift = in get_field()233 result = *(data + cur_byte) >> (-cur_bitshift); in get_field()234 cur_bitshift += FLOATFORMAT_CHAR_BIT; in get_field()241 while ((unsigned int) cur_bitshift < len) in get_field()243 if (len - cur_bitshift < FLOATFORMAT_CHAR_BIT) in get_field()247 (*(data + cur_byte) & ((1 << (len - cur_bitshift)) - 1)) in get_field()248 << cur_bitshift; in get_field()250 result |= *(data + cur_byte) << cur_bitshift; in get_field()251 cur_bitshift += FLOATFORMAT_CHAR_BIT; in get_field()[all …]
55 int cur_bitshift; in get_field() local73 cur_bitshift = ((start + len + excess) % FLOATFORMAT_CHAR_BIT) in get_field()79 cur_bitshift = in get_field()82 if (cur_bitshift > -FLOATFORMAT_CHAR_BIT) in get_field()83 result = *(data + cur_byte) >> (-cur_bitshift); in get_field()86 cur_bitshift += FLOATFORMAT_CHAR_BIT; in get_field()93 while (cur_bitshift < len) in get_field()95 result |= (unsigned long)*(data + cur_byte) << cur_bitshift; in get_field()96 cur_bitshift += FLOATFORMAT_CHAR_BIT; in get_field()241 int cur_bitshift; in put_field() local[all …]