Searched refs:uncompressed_size (Results 1 – 11 of 11) sorted by relevance
/system/update_engine/lz4diff/ |
D | lz4diff_compress.cc | 35 size_t uncompressed_size = 0; in TryCompressBlob() local 37 CHECK_EQ(uncompressed_size, block.uncompressed_offset) in TryCompressBlob() 39 uncompressed_size += block.uncompressed_length; in TryCompressBlob() 71 switch (int src_size = uncompressed_size - block.uncompressed_offset; in TryCompressBlob() 116 sink(reinterpret_cast<const uint8_t*>(blob.data()) + uncompressed_size, in TryCompressBlob() 117 blob.size() - uncompressed_size), in TryCompressBlob() 118 blob.size() - uncompressed_size); in TryCompressBlob() 126 size_t uncompressed_size = 0; in TryCompressBlob() local 129 CHECK_EQ(uncompressed_size, block.uncompressed_offset) in TryCompressBlob() 131 uncompressed_size += block.uncompressed_length; in TryCompressBlob() [all …]
|
/system/update_engine/payload_generator/ |
D | erofs_filesystem_unittest.cc | 114 size_t uncompressed_size = 0; in TEST_F() local 117 uncompressed_size += block.uncompressed_length; in TEST_F() 119 ASSERT_GE(uncompressed_size, in TEST_F()
|
D | erofs_filesystem.cc | 236 const auto uncompressed_size = inode.i_size; in GetFiles() local 238 if (uncompressed_size == 0) { in GetFiles() 255 file.is_compressed = compressed_size != uncompressed_size; in GetFiles() 257 file.file_stat.st_size = uncompressed_size; in GetFiles()
|
/system/libziparchive/ |
D | zip_archive_common.h | 99 uint32_t uncompressed_size; member 151 uint32_t uncompressed_size; member 183 uint64_t uncompressed_size; member
|
D | zip_writer.cc | 191 dst->uncompressed_size = 0u; in CopyFromFileEntry() 195 dst->uncompressed_size = src.uncompressed_size; in CopyFromFileEntry() 356 if (len + static_cast<uint64_t>(current_file_entry_.uncompressed_size) > in WriteBytes() 375 current_file_entry_.uncompressed_size += len32; in WriteBytes() 487 current_file_entry_.compressed_size, current_file_entry_.uncompressed_size}; in FinishEntry() 533 cdr.uncompressed_size = file.uncompressed_size; in Finish()
|
D | zip_archive.cc | 601 extra_field, extra_length, cdr->uncompressed_size, cdr->compressed_size, in ParseZipArchive() 766 descriptor.uncompressed_size = ConsumeUnaligned<uint64_t>(&ddReadPtr); in ValidateDataDescriptor() 769 descriptor.uncompressed_size = ConsumeUnaligned<uint32_t>(&ddReadPtr); in ValidateDataDescriptor() 775 entry->uncompressed_length != descriptor.uncompressed_size || in ValidateDataDescriptor() 780 descriptor.compressed_size, descriptor.uncompressed_size, descriptor.crc32); in ValidateDataDescriptor() 824 data->uncompressed_length = cdr->uncompressed_size; in FindEntry() 832 if (cdr->uncompressed_size == UINT32_MAX || cdr->compressed_size == UINT32_MAX || in FindEntry() 837 extra_field, cdr->extra_field_length, cdr->uncompressed_size, cdr->compressed_size, in FindEntry() 843 data->uncompressed_length = zip64_info.uncompressed_file_size.value_or(cdr->uncompressed_size); in FindEntry() 847 cdr->uncompressed_size == UINT32_MAX || cdr->compressed_size == UINT32_MAX; in FindEntry() [all …]
|
D | zip_archive_test.cc | 1033 uint32_t uncompressed_size, uint32_t compressed_size) { in ConstructLocalFileHeader() argument 1037 lfh.uncompressed_size = uncompressed_size; in ConstructLocalFileHeader() 1061 static void ConstructCentralDirectoryRecord(const std::string& name, uint32_t uncompressed_size, in ConstructCentralDirectoryRecord() argument 1066 cdr.compressed_size = uncompressed_size; in ConstructCentralDirectoryRecord() 1067 cdr.uncompressed_size = compressed_size; in ConstructCentralDirectoryRecord() 1080 auto uncompressed_size = static_cast<uint32_t>(content.size()); in AddEntry() local 1090 zip64_fields.push_back(uncompressed_size); in AddEntry() 1091 uncompressed_size = UINT32_MAX; in AddEntry() 1103 ConstructLocalFileHeader(name, &local_entry.local_file_header, uncompressed_size, in AddEntry() 1132 ConstructCentralDirectoryRecord(name, uncompressed_size, compressed_size, in AddEntry()
|
/system/extras/pinner/include/ |
D | meminspect.h | 111 uint64_t uncompressed_size; member
|
/system/libziparchive/include/ziparchive/ |
D | zip_writer.h | 84 uint32_t uncompressed_size; member
|
/system/extras/pinner/ |
D | meminspect.cpp | 320 file.uncompressed_size = entry.uncompressed_length; in read_files_and_offsets()
|
D | pin_utils.cpp | 206 << " uncompressed=" << file.uncompressed_size in compute_zip_entry_coverages()
|