/aosp12/system/libziparchive/include/ziparchive/ |
H A D | zip_archive.h | 100 uint32_t compressed_length{0}; 124 uint64_t compressed_length{0}; 133 compressed_length = zip_entry.compressed_length; in ZipEntry64() 379 int32_t Inflate(const Reader& reader, const uint64_t compressed_length,
|
/aosp12/system/libziparchive/ |
H A D | zip_archive.cc | 676 offset += entry->compressed_length; in ValidateDataDescriptor() 692 if (entry->compressed_length >= u32max || in ValidateDataDescriptor() 703 if (entry->compressed_length != descriptor.compressed_size || in ValidateDataDescriptor() 754 data->compressed_length = cdr->compressed_size; in FindEntry() 896 if (data->compressed_length != lfh_compressed_size || in FindEntry() 931 if (data->compressed_length > cd_offset - data_offset) { in FindEntry() 998 src->uncompressed_length, src->compressed_length); in CopyFromZipEntry64() 1004 dst->compressed_length = static_cast<uint32_t>(src->compressed_length); in CopyFromZipEntry64() 1259 const uint64_t compressed_length, in inflateImpl() argument 1311 uint64_t remaining_bytes = compressed_length; in inflateImpl() [all …]
|
H A D | zip_writer_test.cc | 68 EXPECT_EQ(strlen(expected), data.compressed_length); in TEST_F() 100 EXPECT_EQ(2u, data.compressed_length); in TEST_F() 106 EXPECT_EQ(3u, data.compressed_length); in TEST_F() 112 EXPECT_EQ(0u, data.compressed_length); in TEST_F() 372 EXPECT_EQ(strlen(expected), data.compressed_length); in TEST_F()
|
H A D | zip_archive_test.cc | 348 ASSERT_EQ(13u, data.compressed_length); in TEST() 643 read_data->resize(static_cast<size_t>(entry->compressed_length)); in ZipArchiveStreamTest() 936 const uint32_t compressed_length = static_cast<uint32_t>(kATxtContentsCompressed.size()); in TEST() local 945 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, &crc_out); in TEST() 954 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST() 962 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST() 970 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST() 1231 ASSERT_EQ(200, entry.compressed_length); in TEST_F() 1235 ASSERT_EQ(300, entry.compressed_length); in TEST_F() 1261 ASSERT_EQ(200, entry.compressed_length); in TEST_F() [all …]
|
H A D | zip_archive_stream_entry.cc | 180 compressed_length_ = entry.compressed_length; in Init() 284 length_ = entry.compressed_length; in Init()
|
H A D | ziptool.cpp | 314 (entry.method == kCompressStored) ? "Stored" : "Defl:N", entry.compressed_length, in ListOne() 315 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32, in ListOne() 403 total_compressed_length += entry.compressed_length; in ProcessOne()
|
/aosp12/frameworks/base/libs/androidfw/ |
H A D | ZipFileRO.cpp | 130 *pCompLen = ze.compressed_length; in getEntryInfo() 223 actualLen = ze.compressed_length; in createEntryFileMap() 248 actualLen = ze.compressed_length; in createEntryIncFsFileMap()
|
H A D | AssetsProvider.cpp | 170 if (!asset_map.Create(fd, entry.offset + fd_offset, entry.compressed_length, in OpenInternal()
|
/aosp12/bootable/recovery/applypatch/ |
H A D | imgdiff.cpp | 717 temp_entries.back().second.compressed_length, &entries_end)) { in InitializeChunks() 720 << temp_entries.back().second.compressed_length; in InitializeChunks() 744 if (temp_entries[nextentry].second.compressed_length > std::numeric_limits<size_t>::max()) { in InitializeChunks() 746 << entry.compressed_length; in InitializeChunks() 749 if (__builtin_add_overflow(pos, temp_entries[nextentry].second.compressed_length, &pos)) { in InitializeChunks() 751 << temp_entries[nextentry].second.compressed_length; in InitializeChunks() 775 if (entry->compressed_length > std::numeric_limits<size_t>::max()) { in AddZipEntryToChunks() 778 << entry->compressed_length; in AddZipEntryToChunks() 781 size_t compressed_len = entry->compressed_length; in AddZipEntryToChunks()
|
/aosp12/art/libartbase/base/ |
H A D | zip_archive.cc | 122 } else if (zip_entry_->uncompressed_length != zip_entry_->compressed_length) { in MapDirectlyFromFile() 128 zip_entry_->compressed_length); in MapDirectlyFromFile()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_util_jar_StrictJarFile.cpp | 49 static_cast<jlong>(entry.compressed_length), in newZipEntry()
|
/aosp12/system/extras/simpleperf/ |
H A D | read_apk.cpp | 118 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByNameWithoutCache()
|
/aosp12/system/apex/apexd/ |
H A D | apex_file_test.cpp | 74 EXPECT_EQ(zip_image_size, entry.compressed_length); in TEST_P()
|
/aosp12/packages/modules/adb/client/ |
H A D | incremental_utils.cpp | 356 : entry.compressed_length) + in InstallationPriorityBlocks()
|
/aosp12/frameworks/base/services/incremental/ |
H A D | IncrementalService.cpp | 2079 << entry.compressed_length << " -> " << entry.uncompressed_length in extractZipFile()
|