Searched refs:uncompressed_length (Results 1 – 11 of 11) sorted by relevance
/system/core/libziparchive/ |
D | unzip.cpp | 140 uint8_t* buffer = new uint8_t[entry.uncompressed_length]; in ExtractToPipe() 141 int err = ExtractToMemory(zah, &entry, buffer, entry.uncompressed_length); in ExtractToPipe() 145 if (!android::base::WriteFully(1, buffer, entry.uncompressed_length)) { in ExtractToPipe() 207 printf("%8d %s %7d %3d%% %s %08x %s\n", entry.uncompressed_length, in ListOne() 209 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32, in ListOne() 212 printf("%9d %s %s\n", entry.uncompressed_length, time, name.c_str()); in ListOne() 228 total_uncompressed_length += entry.uncompressed_length; in ProcessOne()
|
D | zip_archive_test.cc | 200 ASSERT_EQ(static_cast<uint32_t>(17), data.uncompressed_length); in TEST() 238 const uint32_t a_size = data.uncompressed_length; in TEST() 249 const uint32_t b_size = data.uncompressed_length; in TEST() 306 ASSERT_EQ(static_cast<uint32_t>(0), entry.uncompressed_length); in TEST() 331 ASSERT_EQ(kAbUncompressedSize, entry.uncompressed_length); in TEST() 399 std::vector<uint8_t> uncompressed_data(entry.uncompressed_length); in TEST() 401 android::base::ReadFully(tmp_file.fd, uncompressed_data.data(), entry.uncompressed_length)); in TEST() 443 read_data->resize(entry->uncompressed_length); in ZipArchiveStreamTest() 449 read_data->resize(entry->uncompressed_length); in ZipArchiveStreamTest() 489 std::vector<uint8_t> cmp_data(entry.uncompressed_length); in ZipArchiveStreamTestUsingMemory() [all …]
|
D | zip_writer_test.cc | 69 ASSERT_EQ(strlen(expected), data.uncompressed_length); in TEST_F() 101 ASSERT_EQ(2u, data.uncompressed_length); in TEST_F() 107 ASSERT_EQ(3u, data.uncompressed_length); in TEST_F() 113 EXPECT_EQ(0u, data.uncompressed_length); in TEST_F() 246 ASSERT_EQ(4u, data.uncompressed_length); in TEST_F() 278 EXPECT_EQ(kBufSize, data.uncompressed_length); in TEST_F() 384 if (expected.size() != zip_entry->uncompressed_length) { in AssertFileEntryContentsEq() 386 << "uncompressed entry size " << zip_entry->uncompressed_length in AssertFileEntryContentsEq()
|
D | zip_archive.cc | 522 offset += entry->uncompressed_length; in ValidateDataDescriptor() 536 entry->uncompressed_length != descriptor->uncompressed_size || in ValidateDataDescriptor() 540 entry->compressed_length, entry->uncompressed_length, entry->crc32, in ValidateDataDescriptor() 582 data->uncompressed_length = cdr->uncompressed_size; in FindEntry() 634 data->uncompressed_length != lfh->uncompressed_size || data->crc32 != lfh->crc32) { in FindEntry() 637 data->compressed_length, data->uncompressed_length, data->crc32, lfh->compressed_size, in FindEntry() 692 static_cast<off64_t>(data_offset + data->uncompressed_length) > cd_offset) { in FindEntry() 694 static_cast<int64_t>(data_offset), data->uncompressed_length, in FindEntry() 845 const uint32_t declared_length = entry->uncompressed_length; in Create() 959 const uint32_t uncompressed_length, Writer* writer, uint64_t* crc_out) { in Inflate() argument [all …]
|
D | zip_archive_stream_entry.cc | 71 length_ = entry.uncompressed_length; in Init() 171 uncompressed_length_ = entry.uncompressed_length; in Init()
|
/system/extras/simpleperf/ |
D | read_apk.cpp | 86 file_offset < static_cast<uint64_t>(entry.offset) + entry.uncompressed_length) { in FindElfInApkByOffsetWithoutCache() 109 found_entry.uncompressed_length)); in FindElfInApkByOffsetWithoutCache() 122 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByNameWithoutCache() 126 zentry.uncompressed_length)); in FindElfInApkByNameWithoutCache()
|
D | utils.cpp | 140 data->resize(entry.uncompressed_length); in GetEntryData()
|
/system/core/libziparchive/include/ziparchive/ |
D | zip_archive.h | 101 uint32_t uncompressed_length; member 275 const uint32_t uncompressed_length, Writer* writer, uint64_t* crc_out);
|
/system/apex/apexd/ |
D | apex_file.cpp | 133 image_size = entry.uncompressed_length; in Open() 143 uint32_t length = entry.uncompressed_length; in Open() 158 length = entry.uncompressed_length; in Open()
|
D | apex_file_test.cpp | 55 zip_image_size = entry.uncompressed_length; in TEST()
|
/system/core/fastboot/ |
D | fastboot.cpp | 512 out->resize(zip_entry.uncompressed_length); in UnzipToMemory() 626 zip_entry.uncompressed_length / 1024 / 1024); in unzip_to_file()
|