/art/runtime/ |
zip_archive.h | 21 #include <ziparchive/zip_archive.h> 34 class ZipArchive; 54 friend class ZipArchive; 58 class ZipArchive { 60 // return new ZipArchive instance on success, null on error. 61 static ZipArchive* Open(const char* filename, std::string* error_msg); 62 static ZipArchive* OpenFromFd(int fd, const char* filename, std::string* error_msg); 66 ~ZipArchive(); 69 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} 75 DISALLOW_COPY_AND_ASSIGN(ZipArchive); [all...] |
zip_archive.cc | 91 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { 103 return new ZipArchive(handle); 106 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { 119 return new ZipArchive(handle); 122 ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const { 136 ZipArchive::~ZipArchive() {
|
zip_archive_test.cc | 35 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &error_msg));
|
dex_file.h | 55 class ZipArchive; 435 static bool OpenFromZip(const ZipArchive& zip_archive, const std::string& location, [all...] |
dex_file.cc | 94 std::unique_ptr<ZipArchive> zip_archive( 95 ZipArchive::OpenFromFd(fd.release(), filename, error_msg)); 152 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, filename, &error_msg)); 292 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); 313 std::unique_ptr<const DexFile> DexFile::Open(const ZipArchive& zip_archive, const char* entry_name, 359 bool DexFile::OpenFromZip(const ZipArchive& zip_archive, const std::string& location, [all...] |
/bootable/recovery/minzip/ |
Zip.h | 48 typedef struct ZipArchive { 54 } ZipArchive; 71 int mzOpenZipArchive(unsigned char* addr, size_t length, ZipArchive* pArchive); 79 void mzCloseZipArchive(ZipArchive* pArchive); 85 const ZipEntry* mzFindZipEntry(const ZipArchive* pArchive, 112 bool mzProcessZipEntryContents(const ZipArchive *pArchive, 119 bool mzReadZipEntry(const ZipArchive* pArchive, const ZipEntry* pEntry, 125 bool mzExtractZipEntryToFile(const ZipArchive *pArchive, 132 bool mzExtractZipEntryToBuffer(const ZipArchive *pArchive, 162 bool mzExtractRecursive(const ZipArchive *pArchive [all...] |
Zip.c | 187 static bool parseZipArchive(ZipArchive* pArchive) 426 int mzOpenZipArchive(unsigned char* addr, size_t length, ZipArchive* pArchive) 454 * Close a ZipArchive, closing the file and freeing the contents. 456 * NOTE: the ZipArchive may not have been fully created. 458 void mzCloseZipArchive(ZipArchive* pArchive) 475 const ZipEntry* mzFindZipEntry(const ZipArchive* pArchive, 497 static bool processStoredEntry(const ZipArchive *pArchive, 504 static bool processDeflatedEntry(const ZipArchive *pArchive, 600 bool mzProcessZipEntryContents(const ZipArchive *pArchive, 643 bool mzReadZipEntry(const ZipArchive* pArchive, const ZipEntry* pEntry [all...] |
/system/core/libziparchive/ |
zip_archive_private.h | 25 #include <ziparchive/zip_archive.h> 27 struct ZipArchive { 46 ZipArchive(const int fd, bool assume_ownership) : 54 ~ZipArchive() {
|
zip_archive_stream_entry.cc | 27 #define LOG_TAG "ZIPARCHIVE" 30 #include <ziparchive/zip_archive.h> 31 #include <ziparchive/zip_archive_stream_entry.h> 39 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); 87 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); 207 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_);
|
zip_archive.cc | 39 #include "ziparchive/zip_archive.h" 85 // An invalid iteration / ziparchive handle was passed in as an input 218 ZipArchive* archive, off64_t file_length, 310 ZipArchive* archive) { 362 static int32_t ParseZipArchive(ZipArchive* archive) { 436 static int32_t OpenArchiveInternal(ZipArchive* archive, 452 ZipArchive* archive = new ZipArchive(fd, assume_ownership); 459 ZipArchive* archive = new ZipArchive(fd, true) [all...] |
/bootable/recovery/otafault/ |
config.h | 55 void ota_io_init(ZipArchive* za);
|
config.cpp | 31 static ZipArchive* archive; 38 void ota_io_init(ZipArchive* za) {
|
/bootable/recovery/ |
install.h | 39 bool read_metadata_from_package(ZipArchive* zip, std::string* meta_data);
|
install.cpp | 79 bool read_metadata_from_package(ZipArchive* zip, std::string* meta_data) { 95 static void read_source_target_build(ZipArchive* zip, std::vector<std::string>& log_buffer) { 127 update_binary_command(const char* path, ZipArchive* zip, int retry_count, 135 static int check_newer_ab_build(ZipArchive* zip) 217 update_binary_command(const char* path, ZipArchive* zip, int retry_count, 261 update_binary_command(const char* path, ZipArchive* zip, int retry_count, 300 try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache, 482 ZipArchive zip;
|
/bootable/recovery/updater/ |
updater.h | 28 ZipArchive* package_zip;
|
updater.cpp | 80 ZipArchive za;
|
install.cpp | 521 ZipArchive* za = ((UpdaterInfo*)(state->cookie))->package_zip; 551 ZipArchive* za = ((UpdaterInfo*)(state->cookie))->package_zip; 597 ZipArchive* za = ((UpdaterInfo*)(state->cookie))->package_zip; [all...] |
blockimg.cpp | 299 ZipArchive* za; [all...] |
/frameworks/native/cmds/dumpstate/ |
Android.mk | 18 # ZipArchive support, the order matters here to get all symbols.
|
/art/profman/ |
profman.cc | 234 MemMap::Init(); // for ZipArchive::OpenFromFd 240 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(apks_fd_[i],
|
/art/compiler/ |
oat_writer.h | 289 std::vector<std::unique_ptr<ZipArchive>> zip_archives_;
|
oat_writer.cc | 354 zip_archives_.emplace_back(ZipArchive::OpenFromFd(zip_fd.release(), location, &error_msg)); 355 ZipArchive* zip_archive = zip_archives_.back().get(); [all...] |
/frameworks/base/tools/aapt2/ |
Android.mk | 35 io/ZipArchive.cpp \
|
/art/dex2oat/ |
dex2oat.cc | [all...] |
/art/runtime/interpreter/ |
unstarted_runtime.cc | 371 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); [all...] |