Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive_common.h97 uint32_t compressed_size; member
149 uint32_t compressed_size; member
180 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.cc543 extra_field, extra_length, cdr->uncompressed_size, cdr->compressed_size, in ParseZipArchive()
694 descriptor.compressed_size = ConsumeUnaligned<uint64_t>(&ddReadPtr); in ValidateDataDescriptor()
697 descriptor.compressed_size = ConsumeUnaligned<uint32_t>(&ddReadPtr); in ValidateDataDescriptor()
703 if (entry->compressed_length != descriptor.compressed_size || in ValidateDataDescriptor()
709 descriptor.compressed_size, descriptor.uncompressed_size, descriptor.crc32); in ValidateDataDescriptor()
754 data->compressed_length = cdr->compressed_size; in FindEntry()
763 if (cdr->uncompressed_size == UINT32_MAX || cdr->compressed_size == UINT32_MAX || in FindEntry()
768 extra_field, cdr->extra_field_length, cdr->uncompressed_size, cdr->compressed_size, in FindEntry()
775 data->compressed_length = zip64_info.compressed_file_size.value_or(cdr->compressed_size); in FindEntry()
778 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/logging/logd/
DCompressionEngine.cpp53 uint32_t compressed_size = strm.total_out; in Compress() local
56 out.Resize(compressed_size); in Compress()
/system/unwinding/libunwindstack/
DMemoryXz.h49 uint32_t compressed_size; member
DMemory.cpp729 .compressed_size = static_cast<uint32_t>((block.totalSize + 3) & ~3u), in ReadBlocks()
733 src_offset += blocks_.back().compressed_size; in ReadBlocks()
749 std::unique_ptr<uint8_t[]> compressed_data(new (std::nothrow) uint8_t[block->compressed_size]); in Decompress()
754 compressed_data.get(), block->compressed_size)) { in Decompress()
770 size_t compressed_size = block->compressed_size; in Decompress() local
775 compressed_data.get(), &compressed_size, true, CODER_FINISH_END, &status); in Decompress()
/system/libziparchive/include/ziparchive/
Dzip_writer.h77 uint32_t compressed_size; member