Home
last modified time | relevance | path

Searched refs:ZipArchive (Results 1 – 13 of 13) sorted by relevance

/art/runtime/
Dzip_archive.h38 class ZipArchive; variable
79 friend class ZipArchive; variable
83 class ZipArchive {
86 static ZipArchive* Open(const char* filename, std::string* error_msg);
87 static ZipArchive* OpenFromFd(int fd, const char* filename, std::string* error_msg);
91 ~ZipArchive();
94 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchive() function
100 DISALLOW_COPY_AND_ASSIGN(ZipArchive);
Dzip_archive.cc223 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { in Open()
235 return new ZipArchive(handle); in Open()
238 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { in OpenFromFd()
251 return new ZipArchive(handle); in OpenFromFd()
254 ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const { in Find()
268 ZipArchive::~ZipArchive() { in ~ZipArchive()
Dzip_archive_test.cc35 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &err… in TEST_F()
DAndroid.bp353 // ZipArchive support, the order matters here to get all symbols.
/art/runtime/dex/
Dart_dex_file_loader.h34 class ZipArchive; variable
107 bool OpenAllDexFilesFromZip(const ZipArchive& zip_archive,
116 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const ZipArchive& zip_archive,
Dart_dex_file_loader.cc107 std::unique_ptr<ZipArchive> zip_archive( in GetMultiDexChecksums()
108 ZipArchive::OpenFromFd(fd.Release(), filename, error_msg)); in GetMultiDexChecksums()
271 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip()
349 const ZipArchive& zip_archive, in OpenOneDexFileFromZip()
447 const ZipArchive& zip_archive, in OpenAllDexFilesFromZip()
/art/dex2oat/linker/
Doat_writer.h371 std::vector<std::unique_ptr<ZipArchive>> zip_archives_;
Doat_writer.cc527 zip_archives_.emplace_back(ZipArchive::OpenFromFd(zip_fd.Release(), location, &error_msg)); in AddZippedDexFilesSource()
528 ZipArchive* zip_archive = zip_archives_.back().get(); in AddZippedDexFilesSource()
/art/tools/hiddenapi/
Dhiddenapi_test.cc49 std::unique_ptr<ZipArchive> jar( in RunHiddenApi()
50 ZipArchive::Open(GetTestDexFileName("HiddenApi").c_str(), &error)); in RunHiddenApi()
/art/dex2oat/
Ddex2oat.cc1444 dm_file_.reset(ZipArchive::OpenFromFd(dm_fd_, "DexMetadata", &error_msg)); in OpenFile()
1446 dm_file_.reset(ZipArchive::Open(dm_file_location_.c_str(), &error_msg)); in OpenFile()
2777 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip()
2896 std::unique_ptr<ZipArchive> dm_file_;
/art/runtime/jit/
Dprofile_compilation_info.cc1176 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, "profile", error)); in OpenSource()
/art/libdexfile/dex/
Ddex_file.h46 class ZipArchive; variable
/art/runtime/interpreter/
Dunstarted_runtime.cc527 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); in FindAndExtractEntry()