Searched refs:uncompressed_length (Results 1 - 10 of 10) sorted by relevance

/system/extras/simpleperf/
H A Dread_apk.cpp82 file_offset < static_cast<uint64_t>(zentry.offset + zentry.uncompressed_length)) {
110 zentry.uncompressed_length));
115 uint32_t* uncompressed_length) {
135 if (zentry.method != kCompressStored || zentry.compressed_length != zentry.uncompressed_length) {
140 *uncompressed_length = zentry.uncompressed_length;
147 uint32_t uncompressed_length; local
148 if (!FindOffsetInApkByName(apk_path, elf_filename, &offset, &uncompressed_length)) {
152 uncompressed_length));
113 FindOffsetInApkByName(const std::string& apk_path, const std::string& elf_filename, uint64_t* offset, uint32_t* uncompressed_length) argument
H A Dread_apk.h76 uint64_t* offset, uint32_t* uncompressed_length);
H A Dgtest_main.cpp93 std::vector<uint8_t> data(entry.uncompressed_length);
/system/core/libziparchive/
H A Dunzip.cpp140 uint8_t* buffer = new uint8_t[entry.uncompressed_length];
141 int err = ExtractToMemory(zah, &entry, buffer, entry.uncompressed_length);
145 if (!android::base::WriteFully(1, buffer, entry.uncompressed_length)) {
207 printf("%8d %s %7d %3d%% %s %08x %s\n", entry.uncompressed_length,
209 CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32,
212 printf("%9d %s %s\n", entry.uncompressed_length, time, name.c_str());
228 total_uncompressed_length += entry.uncompressed_length;
H A Dzip_writer_test.cc69 ASSERT_EQ(strlen(expected), data.uncompressed_length);
101 ASSERT_EQ(2u, data.uncompressed_length);
107 ASSERT_EQ(3u, data.uncompressed_length);
113 EXPECT_EQ(0u, data.uncompressed_length);
246 ASSERT_EQ(4u, data.uncompressed_length);
278 EXPECT_EQ(kBufSize, data.uncompressed_length);
384 if (expected.size() != zip_entry->uncompressed_length) {
386 << "uncompressed entry size " << zip_entry->uncompressed_length
H A Dzip_archive.cc466 offset += entry->uncompressed_length;
480 entry->uncompressed_length != descriptor->uncompressed_size ||
484 entry->compressed_length, entry->uncompressed_length, entry->crc32,
524 data->uncompressed_length = cdr->uncompressed_size;
576 data->uncompressed_length != lfh->uncompressed_size || data->crc32 != lfh->crc32) {
579 data->compressed_length, data->uncompressed_length, data->crc32, lfh->compressed_size,
633 static_cast<off64_t>(data_offset + data->uncompressed_length) > cd_offset) {
635 static_cast<int64_t>(data_offset), data->uncompressed_length,
789 const uint32_t declared_length = entry->uncompressed_length;
903 const uint32_t uncompressed_length, Write
902 Inflate(const Reader& reader, const uint32_t compressed_length, const uint32_t uncompressed_length, Writer* writer, uint64_t* crc_out) argument
[all...]
H A Dzip_archive_test.cc201 ASSERT_EQ(static_cast<uint32_t>(17), data.uncompressed_length);
239 const uint32_t a_size = data.uncompressed_length;
250 const uint32_t b_size = data.uncompressed_length;
307 ASSERT_EQ(static_cast<uint32_t>(0), entry.uncompressed_length);
332 ASSERT_EQ(kAbUncompressedSize, entry.uncompressed_length);
400 std::vector<uint8_t> uncompressed_data(entry.uncompressed_length);
402 android::base::ReadFully(tmp_file.fd, uncompressed_data.data(), entry.uncompressed_length));
445 read_data->resize(entry->uncompressed_length);
451 read_data->resize(entry->uncompressed_length);
491 std::vector<uint8_t> cmp_data(entry.uncompressed_length);
743 const uint32_t uncompressed_length = kATxtContents.size(); local
[all...]
H A Dzip_archive_stream_entry.cc71 length_ = entry.uncompressed_length;
171 uncompressed_length_ = entry.uncompressed_length;
/system/core/libziparchive/include/ziparchive/
H A Dzip_archive.h100 uint32_t uncompressed_length; member in struct:ZipEntry
199 * |entry->uncompressed_length| bytes will be written to the file at
267 * data does not match |uncompressed_length|.
273 const uint32_t uncompressed_length, Writer* writer, uint64_t* crc_out);
/system/core/fastboot/
H A Dfastboot.cpp504 *sz = zip_entry.uncompressed_length;
507 uint8_t* data = reinterpret_cast<uint8_t*>(malloc(zip_entry.uncompressed_length));
510 int error = ExtractToMemory(zip, &zip_entry, data, zip_entry.uncompressed_length);
625 zip_entry.uncompressed_length / 1024 / 1024);

Completed in 468 milliseconds