Home
last modified time | relevance | path

Searched refs:compressed_length (Results 1 – 16 of 16) sorted by relevance

/system/update_engine/lz4diff/
Dlz4diff_compress.cc59 block_buffer.resize(block.compressed_length); in TryCompressBlob()
62 compressed_offset += block.compressed_length; in TryCompressBlob()
79 block.compressed_length, in TryCompressBlob()
87 block.compressed_length); in TryCompressBlob()
97 TEST_LE(bytes_written, block.compressed_length); in TryCompressBlob()
98 if (bytes_written < block.compressed_length) { in TryCompressBlob()
100 const auto padding = block.compressed_length - bytes_written; in TryCompressBlob()
107 block_buffer.data() + block.compressed_length, in TryCompressBlob()
132 compressed_size += block.compressed_length; in TryCompressBlob()
164 compressed_size += block.compressed_length; in TryDecompressBlob()
[all …]
Dlz4diff_format.h50 compressed_length(length), in CompressedBlock()
53 return compressed_length < uncompressed_length; in IsCompressed()
56 uint64_t compressed_length; member
Dlz4diff.cc53 pb_block.set_compressed_length(block.compressed_length); in StoreDstCompressedFileInfo()
55 auto s1 = recompressed_blob.substr(offset, block.compressed_length); in StoreDstCompressedFileInfo()
56 auto s2 = target_blob.substr(offset, block.compressed_length); in StoreDstCompressedFileInfo()
81 offset += block.compressed_length; in StoreDstCompressedFileInfo()
175 block_info.set_compressed_length(block.compressed_length); in StoreSrcCompressedFileInfo()
Dlz4patch.cc191 info.compressed_length = block.compressed_length(); in ToCompressedBlockVec()
211 compressed_size += block.compressed_length(); in GetCompressedSize()
278 TEST_EQ(size, block_info.compressed_length()); in Lz4Patch()
Dlz4diff.proto36 uint64 compressed_length = 3; field
/system/libziparchive/include/ziparchive/
Dzip_archive.h105 uint32_t compressed_length{0};
129 uint64_t compressed_length{0};
138 compressed_length = zip_entry.compressed_length; in ZipEntry64()
409 int32_t Inflate(const Reader& reader, const uint64_t compressed_length,
/system/libziparchive/
Dzip_archive.cc746 offset += entry->compressed_length; in ValidateDataDescriptor()
763 if (entry->compressed_length >= u32max || in ValidateDataDescriptor()
774 if (entry->compressed_length != descriptor.compressed_size || in ValidateDataDescriptor()
779 entry->compressed_length, entry->uncompressed_length, entry->crc32, in ValidateDataDescriptor()
823 data->compressed_length = cdr->compressed_size; in FindEntry()
844 data->compressed_length = zip64_info.compressed_file_size.value_or(cdr->compressed_size); in FindEntry()
988 if (data->compressed_length != lfh_compressed_size || in FindEntry()
992 data->compressed_length, data->uncompressed_length, data->crc32, lfh_compressed_size, in FindEntry()
1023 if (data->compressed_length > cd_offset - data_offset) { in FindEntry()
1025 static_cast<int64_t>(data_offset), data->compressed_length, in FindEntry()
[all …]
Dzip_writer_test.cc66 EXPECT_EQ(strlen(expected), data.compressed_length); in TEST_F()
117 EXPECT_EQ(strlen(expected), data.compressed_length); in TEST_F()
149 EXPECT_EQ(2u, data.compressed_length); in TEST_F()
155 EXPECT_EQ(3u, data.compressed_length); in TEST_F()
161 EXPECT_EQ(0u, data.compressed_length); in TEST_F()
456 EXPECT_EQ(strlen(expected), data.compressed_length); in TEST_F()
Dzip_archive_test.cc358 ASSERT_EQ(13u, data.compressed_length); in TEST()
657 read_data->resize(static_cast<size_t>(entry->compressed_length)); in ZipArchiveStreamTest()
950 const uint32_t compressed_length = static_cast<uint32_t>(kATxtContentsCompressed.size()); in TEST() local
959 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, &crc_out); in TEST()
968 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST()
976 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST()
984 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST()
1245 ASSERT_EQ(200, entry.compressed_length); in TEST_F()
1249 ASSERT_EQ(300, entry.compressed_length); in TEST_F()
1275 ASSERT_EQ(200, entry.compressed_length); in TEST_F()
[all …]
Dzip_archive_stream_entry.cc184 compressed_length_ = entry.compressed_length; in Init()
287 length_ = entry.compressed_length; in Init()
Dziptool.cpp314 (entry.method == kCompressStored) ? "Stored" : "Defl:N", entry.compressed_length, in ListOne()
315 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32, in ListOne()
403 total_compressed_length += entry.compressed_length; in ProcessOne()
/system/update_engine/payload_generator/
Derofs_filesystem_unittest.cc116 compressed_size += block.compressed_length; in TEST_F()
Derofs_filesystem.cc145 compressed_blocks.back().compressed_length += block.m_llen; in FillExtentInfo()
/system/extras/simpleperf/
Dread_apk.cpp118 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByNameWithoutCache()
/system/extras/pinner/
Dmeminspect.cpp319 file.file_size_bytes = entry.compressed_length; in read_files_and_offsets()
/system/apex/apexd/
Dapex_file_test.cpp77 EXPECT_EQ(zip_image_size, entry.compressed_length); in TEST_P()