Home
last modified time | relevance | path

Searched refs:compressed_size (Results 1 – 7 of 7) sorted by relevance

/system/libziparchive/
Dzip_archive_common.h96 uint32_t compressed_size; member
147 uint32_t compressed_size; member
177 uint64_t compressed_size; member
Dzip_writer.cc185 dst->compressed_size = 0u; in CopyFromFileEntry()
189 dst->compressed_size = src.compressed_size; in CopyFromFileEntry()
380 file->compressed_size += len; in StoreBytes()
408 file->compressed_size += write_bytes; in CompressBytes()
435 file->compressed_size += write_bytes; in FlushCompressedBytes()
451 file->compressed_size += write_bytes; in FlushCompressedBytes()
482 current_file_entry_.compressed_size, current_file_entry_.uncompressed_size}; in FinishEntry()
527 cdr.compressed_size = file.compressed_size; in Finish()
Dzip_archive.cc504 extra_field, extra_length, cdr->uncompressed_size, cdr->compressed_size, in ParseZipArchive()
649 descriptor.compressed_size = ConsumeUnaligned<uint64_t>(&ddReadPtr); in ValidateDataDescriptor()
652 descriptor.compressed_size = ConsumeUnaligned<uint32_t>(&ddReadPtr); in ValidateDataDescriptor()
658 if (entry->compressed_length != descriptor.compressed_size || in ValidateDataDescriptor()
664 descriptor.compressed_size, descriptor.uncompressed_size, descriptor.crc32); in ValidateDataDescriptor()
701 data->compressed_length = cdr->compressed_size; in FindEntry()
710 if (cdr->uncompressed_size == UINT32_MAX || cdr->compressed_size == UINT32_MAX || in FindEntry()
715 extra_field, cdr->extra_field_length, cdr->uncompressed_size, cdr->compressed_size, in FindEntry()
722 data->compressed_length = zip64_info.compressed_file_size.value_or(cdr->compressed_size); in FindEntry()
725 cdr->uncompressed_size == UINT32_MAX || cdr->compressed_size == UINT32_MAX; in FindEntry()
[all …]
Dzip_archive_test.cc1019 uint32_t uncompressed_size, uint32_t compressed_size) { in ConstructLocalFileHeader() argument
1022 lfh.compressed_size = compressed_size; in ConstructLocalFileHeader()
1048 uint32_t compressed_size, uint32_t local_offset, in ConstructCentralDirectoryRecord() argument
1052 cdr.compressed_size = uncompressed_size; in ConstructCentralDirectoryRecord()
1053 cdr.uncompressed_size = compressed_size; in ConstructCentralDirectoryRecord()
1067 auto compressed_size = static_cast<uint32_t>(content.size()); in AddEntry() local
1080 zip64_fields.push_back(compressed_size); in AddEntry()
1081 compressed_size = UINT32_MAX; in AddEntry()
1090 compressed_size); in AddEntry()
1118 ConstructCentralDirectoryRecord(name, uncompressed_size, compressed_size, in AddEntry()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp238 uint32_t compressed_size; in ParseCentralDirectoryRecord() member
286 : cdr->compressed_size; in ParseCentralDirectoryRecord()
316 uint32_t compressed_size; in CalculateLocalFileEntrySize() member
356 uint32_t compressed_size; in CalculateLocalFileEntrySize() member
401 : dd->compressed_size; in CalculateLocalFileEntrySize()
405 : lfh->compressed_size; in CalculateLocalFileEntrySize()
/system/core/logd/
DCompressionEngine.cpp53 uint32_t compressed_size = strm.total_out; in Compress() local
56 out.Resize(compressed_size); in Compress()
/system/libziparchive/include/ziparchive/
Dzip_writer.h77 uint32_t compressed_size; member