Searched refs:uncompressed_length (Results 1 – 14 of 14) sorted by relevance
/system/libziparchive/ |
D | ziptool.cpp | 200 if (entry.uncompressed_length > SIZE_MAX) { in ExtractToPipe() 201 die(0, "entry size %" PRIu64 " is too large to extract.", entry.uncompressed_length); in ExtractToPipe() 203 auto uncompressed_length = static_cast<size_t>(entry.uncompressed_length); in ExtractToPipe() local 204 uint8_t* buffer = new uint8_t[uncompressed_length]; in ExtractToPipe() 205 int err = ExtractToMemory(zah, &entry, buffer, uncompressed_length); in ExtractToPipe() 209 if (!android::base::WriteFully(1, buffer, uncompressed_length)) { in ExtractToPipe() 270 printf("%8" PRIu64 " %s %8" PRIu64 " %3.0f%% %s %08x %s\n", entry.uncompressed_length, in ListOne() 272 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32, in ListOne() 275 printf("%9" PRIu64 " %s %s\n", entry.uncompressed_length, time, name.c_str()); in ListOne() 335 entry.uncompressed_length, entry.is_text ? 't' : 'b', in InfoOne() [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() 247 ASSERT_EQ(4u, data.uncompressed_length); in TEST_F() 279 EXPECT_EQ(kBufSize, data.uncompressed_length); in TEST_F() 373 ASSERT_EQ(strlen(expected), data.uncompressed_length); in TEST_F() 409 if (expected.size() != zip_entry->uncompressed_length) { in AssertFileEntryContentsEq() 411 << "uncompressed entry size " << zip_entry->uncompressed_length in AssertFileEntryContentsEq()
|
D | zip_archive.cc | 637 offset += entry->uncompressed_length; in ValidateDataDescriptor() 659 entry->uncompressed_length != descriptor.uncompressed_size || in ValidateDataDescriptor() 663 entry->compressed_length, entry->uncompressed_length, entry->crc32, in ValidateDataDescriptor() 702 data->uncompressed_length = cdr->uncompressed_size; in FindEntry() 721 data->uncompressed_length = zip64_info.uncompressed_file_size.value_or(cdr->uncompressed_size); in FindEntry() 835 data->uncompressed_length != lfh_uncompressed_size || data->crc32 != lfh->crc32) { in FindEntry() 838 data->compressed_length, data->uncompressed_length, data->crc32, lfh_compressed_size, in FindEntry() 876 if (data->method == kCompressStored && data->uncompressed_length > cd_offset - data_offset) { in FindEntry() 878 static_cast<int64_t>(data_offset), data->uncompressed_length, in FindEntry() 932 if (src->compressed_length > UINT32_MAX || src->uncompressed_length > UINT32_MAX) { in CopyFromZipEntry64() [all …]
|
D | zip_archive_test.cc | 347 ASSERT_EQ(17u, data.uncompressed_length); in TEST() 420 const auto a_size = static_cast<size_t>(data.uncompressed_length); in TEST() 428 const auto b_size = static_cast<size_t>(data.uncompressed_length); in TEST() 444 const auto a_size = static_cast<size_t>(data.uncompressed_length); in TEST() 453 const auto b_size = static_cast<size_t>(data.uncompressed_length); in TEST() 508 ASSERT_EQ(0u, entry.uncompressed_length); in TEST() 534 ASSERT_EQ(kAbUncompressedSize, entry.uncompressed_length); in TEST() 600 std::vector<uint8_t> uncompressed_data(static_cast<size_t>(entry.uncompressed_length)); in TEST() 602 static_cast<size_t>(entry.uncompressed_length))); in TEST() 641 read_data->resize(static_cast<size_t>(entry->uncompressed_length)); in ZipArchiveStreamTest() [all …]
|
D | zip_archive_stream_entry.cc | 72 length_ = entry.uncompressed_length; in Init() 179 uncompressed_length_ = entry.uncompressed_length; in Init()
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive.h | 105 uint32_t uncompressed_length{0}; 129 uint64_t uncompressed_length{0}; 134 uncompressed_length = zip_entry.uncompressed_length; in ZipEntry64() 352 const uint64_t uncompressed_length, Writer* writer, uint64_t* crc_out);
|
/system/extras/simpleperf/ |
D | read_apk.cpp | 86 file_offset < static_cast<uint64_t>(entry.offset) + entry.uncompressed_length) { in FindElfInApkByOffsetWithoutCache() 105 found_entry.uncompressed_length)); in FindElfInApkByOffsetWithoutCache() 118 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) { in FindElfInApkByNameWithoutCache() 122 zentry.uncompressed_length)); in FindElfInApkByNameWithoutCache()
|
D | utils.cpp | 139 data->resize(entry.uncompressed_length); in GetEntryData()
|
/system/extras/memory_replay/ |
D | File.cpp | 47 contents.resize(entry.uncompressed_length); in ZipGetContents() 49 entry.uncompressed_length) != 0) { in ZipGetContents()
|
/system/apex/apexd/ |
D | apex_file.cpp | 80 image_size = entry.uncompressed_length; in Open() 88 uint32_t length = entry.uncompressed_length; in Open() 100 length = entry.uncompressed_length; in Open()
|
D | apex_file_test.cpp | 57 zip_image_size = entry.uncompressed_length; in TEST()
|
/system/update_engine/payload_consumer/ |
D | certificate_parser_android.cc | 45 std::vector<uint8_t> pem_content(entry.uncompressed_length); in IterateZipEntriesAndSearchForKeys()
|
/system/core/adb/client/ |
D | incremental_utils.cpp | 342 (entry.method == kCompressStored ? entry.uncompressed_length in InstallationPriorityBlocks()
|
/system/core/fastboot/ |
D | fastboot.cpp | 535 out->resize(zip_entry.uncompressed_length); in UnzipToMemory() 648 zip_entry.uncompressed_length / 1024 / 1024); in unzip_to_file()
|