Home
last modified time | relevance | path

Searched refs:compressed_length (Results 1 – 15 of 15) sorted by relevance

/aosp12/system/libziparchive/include/ziparchive/
H A Dzip_archive.h100 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 Dzip_archive.cc676 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 Dzip_writer_test.cc68 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 Dzip_archive_test.cc348 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 Dzip_archive_stream_entry.cc180 compressed_length_ = entry.compressed_length; in Init()
284 length_ = entry.compressed_length; in Init()
H A Dziptool.cpp314 (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 DZipFileRO.cpp130 *pCompLen = ze.compressed_length; in getEntryInfo()
223 actualLen = ze.compressed_length; in createEntryFileMap()
248 actualLen = ze.compressed_length; in createEntryIncFsFileMap()
H A DAssetsProvider.cpp170 if (!asset_map.Create(fd, entry.offset + fd_offset, entry.compressed_length, in OpenInternal()
/aosp12/bootable/recovery/applypatch/
H A Dimgdiff.cpp717 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 Dzip_archive.cc122 } 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 Dandroid_util_jar_StrictJarFile.cpp49 static_cast<jlong>(entry.compressed_length), in newZipEntry()
/aosp12/system/extras/simpleperf/
H A Dread_apk.cpp118 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByNameWithoutCache()
/aosp12/system/apex/apexd/
H A Dapex_file_test.cpp74 EXPECT_EQ(zip_image_size, entry.compressed_length); in TEST_P()
/aosp12/packages/modules/adb/client/
H A Dincremental_utils.cpp356 : entry.compressed_length) + in InstallationPriorityBlocks()
/aosp12/frameworks/base/services/incremental/
H A DIncrementalService.cpp2079 << entry.compressed_length << " -> " << entry.uncompressed_length in extractZipFile()