Lines Matching refs:bytes_read
213 uint64_t bytes_read = 0; in Read() local
214 while (bytes_read < length) { in Read()
222 auto bytes_to_read = std::min(length - bytes_read, end_byte - start_byte); in Read()
226 TEST_AND_RETURN_FALSE(stream_->Read(bytes + bytes_read, bytes_to_read)); in Read()
231 bytes[bytes_read + bytes_to_read - 1] &= in Read()
242 bytes[bytes_read] >>= deflate_bit_pos_ & 7; in Read()
253 bytes_read += bytes_to_read; in Read()
267 (length - bytes_read >= cur_puff_->length); in Read()
280 ? bytes + bytes_read in Read()
299 std::min(length - bytes_read, cur_puff_->length - skip_bytes_); in Read()
301 memcpy(bytes + bytes_read, puff_buffer_->data() + skip_bytes_, in Read()
306 bytes_read += bytes_to_copy; in Read()
322 TEST_AND_RETURN_FALSE(bytes_read == length); in Read()