Home
last modified time | relevance | path

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

/system/libziparchive/include/ziparchive/
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,
/system/libziparchive/
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()
708 entry->compressed_length, entry->uncompressed_length, entry->crc32, in ValidateDataDescriptor()
754 data->compressed_length = cdr->compressed_size; in FindEntry()
775 data->compressed_length = zip64_info.compressed_file_size.value_or(cdr->compressed_size); in FindEntry()
896 if (data->compressed_length != lfh_compressed_size || in FindEntry()
900 data->compressed_length, data->uncompressed_length, data->crc32, lfh_compressed_size, in FindEntry()
931 if (data->compressed_length > cd_offset - data_offset) { in FindEntry()
933 static_cast<int64_t>(data_offset), data->compressed_length, in FindEntry()
[all …]
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()
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 …]
Dzip_archive_stream_entry.cc180 compressed_length_ = entry.compressed_length; in Init()
284 length_ = entry.compressed_length; in Init()
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()
/system/extras/simpleperf/
Dread_apk.cpp118 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByNameWithoutCache()
/system/apex/apexd/
Dapex_file_test.cpp74 EXPECT_EQ(zip_image_size, entry.compressed_length); in TEST_P()