Lines Matching refs:deflate_bit_pos_

104       deflate_bit_pos_(0),  in PuffinStream()
180 deflate_bit_pos_ = ((cur_deflate_->offset + 7) / 8 - back_track_bytes) * 8; in Seek()
183 if (deflate_bit_pos_ < prev_deflate->offset + prev_deflate->length) { in Seek()
184 deflate_bit_pos_ = prev_deflate->offset + prev_deflate->length; in Seek()
190 deflate_bit_pos_ = cur_deflate_->offset; in Seek()
220 uint64_t start_byte = (deflate_bit_pos_ / 8); in Read()
241 if (start_byte * 8 < deflate_bit_pos_) { in Read()
242 bytes[bytes_read] >>= deflate_bit_pos_ & 7; in Read()
246 deflate_bit_pos_ -= deflate_bit_pos_ & 7; in Read()
247 deflate_bit_pos_ += bytes_to_read * 8; in Read()
248 if (deflate_bit_pos_ > cur_deflate_->offset) { in Read()
250 deflate_bit_pos_ = cur_deflate_->offset; in Read()
312 deflate_bit_pos_ = cur_deflate_->offset + cur_deflate_->length; in Read()
333 if (deflate_bit_pos_ < (cur_deflate_->offset & ~7ull)) { in Write()
338 TEST_AND_RETURN_FALSE((deflate_bit_pos_ & 7) == 0); in Write()
340 std::min((cur_deflate_->offset / 8) - (deflate_bit_pos_ / 8), in Write()
345 deflate_bit_pos_ += copy_len * 8; in Write()
355 if (deflate_bit_pos_ < cur_deflate_->offset) { in Write()
356 last_byte_ |= bytes[bytes_wrote++] << (deflate_bit_pos_ & 7); in Write()
358 deflate_bit_pos_ = cur_deflate_->offset; in Write()
389 deflate_bit_pos_ = cur_deflate_->offset + cur_deflate_->length; in Write()
392 puff_buffer_->data()[cur_puff_->length] << (deflate_bit_pos_ & 7); in Write()
393 deflate_bit_pos_ = (deflate_bit_pos_ + 7) & ~7ull; in Write()
394 } else if ((deflate_bit_pos_ & 7) != 0) { in Write()