Home
last modified time | relevance | path

Searched refs:uncompressed_size (Results 1 – 11 of 11) sorted by relevance

/system/update_engine/lz4diff/
Dlz4diff_compress.cc35 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/
Derofs_filesystem_unittest.cc114 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()
Derofs_filesystem.cc236 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/
Dzip_archive_common.h99 uint32_t uncompressed_size; member
151 uint32_t uncompressed_size; member
183 uint64_t uncompressed_size; member
Dzip_writer.cc191 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()
Dzip_archive.cc601 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 …]
Dzip_archive_test.cc1033 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/
Dmeminspect.h111 uint64_t uncompressed_size; member
/system/libziparchive/include/ziparchive/
Dzip_writer.h84 uint32_t uncompressed_size; member
/system/extras/pinner/
Dmeminspect.cpp320 file.uncompressed_size = entry.uncompressed_length; in read_files_and_offsets()
Dpin_utils.cpp206 << " uncompressed=" << file.uncompressed_size in compute_zip_entry_coverages()