Searched refs:to_byte (Results 1 – 4 of 4) sorted by relevance
38 int to_byte = to / 8; in extract_bit_field() local45 if (from_byte == to_byte) in extract_bit_field()50 for (i = from_byte + 1; i < to_byte; i++) { in extract_bit_field()55 if (from_byte < to_byte && (to % 8 != 0)) { in extract_bit_field()56 c = b[to_byte]; in extract_bit_field()69 int to_byte = to / 8; in replace_bit_field() local73 if (from_byte == to_byte) { in replace_bit_field()92 for (i = from_byte + 1; i < to_byte; i++) { in replace_bit_field()100 c = b[to_byte]; in replace_bit_field()104 b[to_byte] = c; in replace_bit_field()
52 end_index = resource_range.byte_range.to_byte79 (byte_range.from_byte, byte_range.to_byte,81 total_num_of_bytes = byte_range.to_byte - byte_range.from_byte + 1121 to_byte = 0125 to_byte = (int(byte_range_values[1]) if byte_range_values[1] else129 total_num_of_bytes - to_byte)138 if to_byte < from_byte or to_byte >= total_num_of_bytes:139 to_byte = total_num_of_bytes - 1141 return ByteRange(from_byte, to_byte)
129 void Request::AddRange(uint64_t from_byte, uint64_t to_byte) { in AddRange() argument131 ranges_.emplace_back(from_byte, to_byte); in AddRange()
262 void AddRange(uint64_t from_byte, uint64_t to_byte);