Home
last modified time | relevance | path

Searched refs:zip_entry (Results 1 – 3 of 3) sorted by relevance

/system/libziparchive/include/ziparchive/
Dzip_archive.h132 explicit ZipEntry64(const ZipEntry& zip_entry) : ZipEntryCommon(zip_entry) { in ZipEntry64()
133 compressed_length = zip_entry.compressed_length; in ZipEntry64()
134 uncompressed_length = zip_entry.uncompressed_length; in ZipEntry64()
/system/libziparchive/
Dzip_writer_test.cc28 ZipEntry* zip_entry);
408 ZipEntry* zip_entry) { in AssertFileEntryContentsEq() argument
409 if (expected.size() != zip_entry->uncompressed_length) { in AssertFileEntryContentsEq()
411 << "uncompressed entry size " << zip_entry->uncompressed_length in AssertFileEntryContentsEq()
419 if (ExtractToMemory(handle, zip_entry, buffer, static_cast<uint32_t>(actual.size())) != 0) { in AssertFileEntryContentsEq()
/system/core/fastboot/
Dfastboot.cpp550 ZipEntry64 zip_entry; in UnzipToMemory() local
551 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in UnzipToMemory()
556 if (zip_entry.uncompressed_length > std::numeric_limits<size_t>::max()) { in UnzipToMemory()
557 die("entry '%s' is too large: %" PRIu64, entry_name.c_str(), zip_entry.uncompressed_length); in UnzipToMemory()
559 out->resize(zip_entry.uncompressed_length); in UnzipToMemory()
564 int error = ExtractToMemory(zip, &zip_entry, reinterpret_cast<uint8_t*>(out->data()), in UnzipToMemory()
664 ZipEntry64 zip_entry; in unzip_to_file() local
665 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in unzip_to_file()
672 zip_entry.uncompressed_length / 1024 / 1024); in unzip_to_file()
674 int error = ExtractEntryToFile(zip, &zip_entry, fd.get()); in unzip_to_file()