• Home
  • Raw
  • Download

Lines Matching refs:cur_deflate_

174   cur_deflate_ = std::next(deflates_.begin(), next_puff_idx);  in Seek()
180 deflate_bit_pos_ = ((cur_deflate_->offset + 7) / 8 - back_track_bytes) * 8; in Seek()
182 auto prev_deflate = std::prev(cur_deflate_); in Seek()
190 deflate_bit_pos_ = cur_deflate_->offset; in Seek()
221 uint64_t end_byte = (cur_deflate_->offset + 7) / 8; in Read()
230 if ((start_byte + bytes_to_read) * 8 > cur_deflate_->offset) { in Read()
232 (1 << (cur_deflate_->offset & 7)) - 1; in Read()
248 if (deflate_bit_pos_ > cur_deflate_->offset) { in Read()
250 deflate_bit_pos_ = cur_deflate_->offset; in Read()
261 auto start_byte = (cur_deflate_->offset / 8); in Read()
262 auto end_byte = (cur_deflate_->offset + cur_deflate_->length + 7) / 8; in Read()
285 size_t extra_bits_len = cur_deflate_->offset & 7; in Read()
312 deflate_bit_pos_ = cur_deflate_->offset + cur_deflate_->length; in Read()
314 cur_deflate_++; in Read()
333 if (deflate_bit_pos_ < (cur_deflate_->offset & ~7ull)) { in Write()
340 std::min((cur_deflate_->offset / 8) - (deflate_bit_pos_ / 8), in Write()
355 if (deflate_bit_pos_ < cur_deflate_->offset) { in Write()
358 deflate_bit_pos_ = cur_deflate_->offset; in Write()
372 auto start_byte = cur_deflate_->offset / 8; in Write()
373 auto end_byte = (cur_deflate_->offset + cur_deflate_->length + 7) / 8; in Write()
382 bit_writer.WriteBits(cur_deflate_->offset & 7, last_byte_)); in Write()
389 deflate_bit_pos_ = cur_deflate_->offset + cur_deflate_->length; in Write()
411 cur_deflate_++; in Write()
426 TEST_AND_RETURN_FALSE(cur_deflate_ != deflates_.end()); in SetExtraByte()
427 if ((cur_deflate_ + 1) == deflates_.end()) { in SetExtraByte()
431 uint64_t end_bit = cur_deflate_->offset + cur_deflate_->length; in SetExtraByte()
432 if ((end_bit & 7) && ((end_bit + 7) & ~7ull) <= (cur_deflate_ + 1)->offset) { in SetExtraByte()