/system/update_engine/lz4diff/ |
D | lz4diff_compress.cc | 59 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 …]
|
D | lz4diff_format.h | 50 compressed_length(length), in CompressedBlock() 53 return compressed_length < uncompressed_length; in IsCompressed() 56 uint64_t compressed_length; member
|
D | lz4diff.cc | 53 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()
|
D | lz4patch.cc | 191 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()
|
D | lz4diff.proto | 36 uint64 compressed_length = 3; field
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive.h | 105 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/ |
D | zip_archive.cc | 746 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 …]
|
D | zip_writer_test.cc | 66 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()
|
D | zip_archive_test.cc | 358 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 …]
|
D | zip_archive_stream_entry.cc | 184 compressed_length_ = entry.compressed_length; in Init() 287 length_ = entry.compressed_length; in Init()
|
D | ziptool.cpp | 314 (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/ |
D | erofs_filesystem_unittest.cc | 116 compressed_size += block.compressed_length; in TEST_F()
|
D | erofs_filesystem.cc | 145 compressed_blocks.back().compressed_length += block.m_llen; in FillExtentInfo()
|
/system/extras/simpleperf/ |
D | read_apk.cpp | 118 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByNameWithoutCache()
|
/system/extras/pinner/ |
D | meminspect.cpp | 319 file.file_size_bytes = entry.compressed_length; in read_files_and_offsets()
|
/system/apex/apexd/ |
D | apex_file_test.cpp | 77 EXPECT_EQ(zip_image_size, entry.compressed_length); in TEST_P()
|