• Home
  • Raw
  • Download

Lines Matching refs:deflate

85   for (const auto& deflate : sub_deflates) {  in LocateDeflatesInDeflateStream()  local
86 deflates->emplace_back(deflate.offset + virtual_offset * 8, deflate.length); in LocateDeflatesInDeflateStream()
136 for (const auto& deflate : deflates) { in FindDeflateSubBlocks() local
137 TEST_AND_RETURN_FALSE(src->Seek(deflate.offset)); in FindDeflateSubBlocks()
139 deflate_buffer.resize(deflate.length); in FindDeflateSubBlocks()
140 TEST_AND_RETURN_FALSE(src->Read(deflate_buffer.data(), deflate.length)); in FindDeflateSubBlocks()
143 BufferBitReader bit_reader(deflate_buffer.data(), deflate.length); in FindDeflateSubBlocks()
151 TEST_AND_RETURN_FALSE(deflate.length == bit_reader.Offset()); in FindDeflateSubBlocks()
153 subblock_deflates->emplace_back(subblock.offset + deflate.offset * 8, in FindDeflateSubBlocks()
173 for (const auto& deflate : tmp_deflates) { in LocateDeflatesInZlibBlocks() local
174 deflates->emplace_back(deflate.offset + zlib.offset * 8, deflate.length); in LocateDeflatesInZlibBlocks()
332 for (auto deflate = deflates.begin(); deflate != deflates.end(); ++deflate) { in FindPuffLocations() local
334 auto start_byte = deflate->offset / 8; in FindPuffLocations()
335 auto end_byte = (deflate->offset + deflate->length + 7) / 8; in FindPuffLocations()
342 uint64_t bits_to_skip = deflate->offset % 8; in FindPuffLocations()
357 if (deflate != deflates.begin()) { in FindPuffLocations()
358 auto prev_deflate = std::prev(deflate); in FindPuffLocations()
359 if ((prev_deflate->offset + prev_deflate->length == deflate->offset) in FindPuffLocations()
362 && (deflate->offset % 8 != 0)) { in FindPuffLocations()
367 start_byte = ((deflate->offset + 7) / 8); in FindPuffLocations()
368 end_byte = (deflate->offset + deflate->length) / 8; in FindPuffLocations()