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.cpp529 ZipEntry zip_entry; in UnzipToMemory() local
530 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in UnzipToMemory()
535 out->resize(zip_entry.uncompressed_length); in UnzipToMemory()
540 int error = ExtractToMemory(zip, &zip_entry, reinterpret_cast<uint8_t*>(out->data()), in UnzipToMemory()
640 ZipEntry zip_entry; in unzip_to_file() local
641 if (FindEntry(zip, entry_name, &zip_entry) != 0) { in unzip_to_file()
648 zip_entry.uncompressed_length / 1024 / 1024); in unzip_to_file()
650 int error = ExtractEntryToFile(zip, &zip_entry, fd); in unzip_to_file()