Home
last modified time | relevance | path

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

/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.cc186 dst->uncompressed_size = 0u; in CopyFromFileEntry()
190 dst->uncompressed_size = src.uncompressed_size; in CopyFromFileEntry()
351 if (len + static_cast<uint64_t>(current_file_entry_.uncompressed_size) > in WriteBytes()
370 current_file_entry_.uncompressed_size += len32; in WriteBytes()
482 current_file_entry_.compressed_size, current_file_entry_.uncompressed_size}; in FinishEntry()
528 cdr.uncompressed_size = file.uncompressed_size; in Finish()
Dzip_archive.cc543 extra_field, extra_length, cdr->uncompressed_size, cdr->compressed_size, in ParseZipArchive()
695 descriptor.uncompressed_size = ConsumeUnaligned<uint64_t>(&ddReadPtr); in ValidateDataDescriptor()
698 descriptor.uncompressed_size = ConsumeUnaligned<uint32_t>(&ddReadPtr); in ValidateDataDescriptor()
704 entry->uncompressed_length != descriptor.uncompressed_size || in ValidateDataDescriptor()
709 descriptor.compressed_size, descriptor.uncompressed_size, descriptor.crc32); in ValidateDataDescriptor()
755 data->uncompressed_length = cdr->uncompressed_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()
774 data->uncompressed_length = zip64_info.uncompressed_file_size.value_or(cdr->uncompressed_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
1023 lfh.uncompressed_size = uncompressed_size; in ConstructLocalFileHeader()
1047 static void ConstructCentralDirectoryRecord(const std::string& name, uint32_t uncompressed_size, in ConstructCentralDirectoryRecord() argument
1052 cdr.compressed_size = uncompressed_size; in ConstructCentralDirectoryRecord()
1053 cdr.uncompressed_size = compressed_size; in ConstructCentralDirectoryRecord()
1066 auto uncompressed_size = static_cast<uint32_t>(content.size()); in AddEntry() local
1076 zip64_fields.push_back(uncompressed_size); in AddEntry()
1077 uncompressed_size = UINT32_MAX; in AddEntry()
1089 ConstructLocalFileHeader(name, &local_entry.local_file_header, uncompressed_size, in AddEntry()
1118 ConstructCentralDirectoryRecord(name, uncompressed_size, compressed_size, in AddEntry()
/system/libziparchive/include/ziparchive/
Dzip_writer.h78 uint32_t uncompressed_size; member