Searched refs:block_info (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/lz4diff/ |
D | lz4diff_compress.cc | 31 const std::vector<CompressedBlock>& block_info, in TryCompressBlob() argument 36 for (const auto& block : block_info) { in TryCompressBlob() 50 for (const auto& block : block_info) { in TryCompressBlob() 123 const std::vector<CompressedBlock>& block_info, in TryCompressBlob() argument 128 for (const auto& block : block_info) { in TryCompressBlob() 138 block_info, in TryCompressBlob() 152 const std::vector<CompressedBlock>& block_info, in TryDecompressBlob() argument 154 if (block_info.empty()) { in TryDecompressBlob() 159 for (const auto& block : block_info) { in TryDecompressBlob() 174 for (const auto& block : block_info) { in TryDecompressBlob() [all …]
|
D | lz4patch.cc | 199 for (const auto& info : patch.pb_header.dst_info().block_info()) { in HasPosfixPatches() 251 ToCompressedBlockVec(patch.pb_header.src_info().block_info()), in Lz4Patch() 256 GetDecompressedSize(patch.pb_header.dst_info().block_info()); in Lz4Patch() 264 ToCompressedBlockVec(patch.pb_header.dst_info().block_info()), in Lz4Patch() 272 &dst_block_info = patch.pb_header.dst_info().block_info()]( in Lz4Patch() 277 const auto& block_info = dst_block_info[block_idx]; in Lz4Patch() local 278 TEST_EQ(size, block_info.compressed_length()); in Lz4Patch() 280 if (block_info.postfix_bspatch().empty()) { in Lz4Patch() 283 if (!block_info.sha256_hash().empty()) { in Lz4Patch() 287 if (ToStringView(actual_hash) != block_info.sha256_hash()) { in Lz4Patch() [all …]
|
D | lz4diff_compress.h | 37 const std::vector<CompressedBlock>& block_info, 41 const std::vector<CompressedBlock>& block_info, 47 const std::vector<CompressedBlock>& block_info, 50 const std::vector<CompressedBlock>& block_info,
|
D | lz4diff.cc | 45 const auto& block_info = dst_file_info.blocks; in StoreDstCompressedFileInfo() local 49 for (const auto& block : block_info) { in StoreDstCompressedFileInfo() 172 auto& block_info = *src_blocks.Add(); in StoreSrcCompressedFileInfo() local 173 block_info.set_uncompressed_length(block.uncompressed_length); in StoreSrcCompressedFileInfo() 174 block_info.set_uncompressed_offset(block.uncompressed_offset); in StoreSrcCompressedFileInfo() 175 block_info.set_compressed_length(block.compressed_length); in StoreSrcCompressedFileInfo()
|
D | lz4diff.proto | 51 repeated CompressedBlockInfo block_info = 2; field
|