Home
last modified time | relevance | path

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

/system/core/libziparchive/include/ziparchive/
Dzip_archive.h96 uint32_t compressed_length; member
274 int32_t Inflate(const Reader& reader, const uint32_t compressed_length,
/system/core/libziparchive/
Dzip_archive.cc520 offset += entry->compressed_length; in ValidateDataDescriptor()
535 if (entry->compressed_length != descriptor->compressed_size || in ValidateDataDescriptor()
540 entry->compressed_length, entry->uncompressed_length, entry->crc32, in ValidateDataDescriptor()
581 data->compressed_length = cdr->compressed_size; in FindEntry()
633 if (data->compressed_length != lfh->compressed_size || in FindEntry()
637 data->compressed_length, data->uncompressed_length, data->crc32, lfh->compressed_size, in FindEntry()
684 if (static_cast<off64_t>(data_offset + data->compressed_length) > cd_offset) { in FindEntry()
686 static_cast<int64_t>(data_offset), data->compressed_length, in FindEntry()
958 int32_t Inflate(const Reader& reader, const uint32_t compressed_length, in Inflate() argument
1002 uint32_t remaining_bytes = compressed_length; in Inflate()
[all …]
Dunzip.cpp208 (entry.method == kCompressStored) ? "Stored" : "Defl:N", entry.compressed_length, in ListOne()
209 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32, in ListOne()
229 total_compressed_length += entry.compressed_length; in ProcessOne()
Dzip_archive_test.cc201 ASSERT_EQ(static_cast<uint32_t>(13), data.compressed_length); in TEST()
445 read_data->resize(entry->compressed_length); in ZipArchiveStreamTest()
740 const uint32_t compressed_length = kATxtContentsCompressed.size(); in TEST() local
749 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, &crc_out); in TEST()
758 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST()
766 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST()
774 zip_archive::Inflate(reader, compressed_length, uncompressed_length, &writer, nullptr); in TEST()
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()
Dzip_archive_stream_entry.cc172 compressed_length_ = entry.compressed_length; in Init()
266 length_ = entry.compressed_length; in Init()
/system/apex/apexd/
Dapex_file_test.cpp56 EXPECT_EQ(zip_image_size, entry.compressed_length); in TEST()
/system/extras/simpleperf/
Dread_apk.cpp122 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByNameWithoutCache()