Home
last modified time | relevance | path

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

/art/libartbase/base/
Dzip_archive.h33 struct ZipArchive;
35 typedef ZipArchive* ZipArchiveHandle;
39 class ZipArchive; variable
86 friend class ZipArchive; variable
90 class ZipArchive {
93 static ZipArchive* Open(const char* filename, std::string* error_msg);
94 static ZipArchive* OpenFromFd(int fd, const char* filename, std::string* error_msg);
98 ~ZipArchive();
101 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchive() function
107 DISALLOW_COPY_AND_ASSIGN(ZipArchive);
Dzip_archive.cc233 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { in Open()
245 return new ZipArchive(handle); in Open()
248 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { in OpenFromFd()
261 return new ZipArchive(handle); in OpenFromFd()
264 ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const { in Find()
278 ZipArchive::~ZipArchive() { in ~ZipArchive()
Dzip_archive_test.cc36 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &err… in TEST_F()
/art/libdexfile/dex/
Dart_dex_file_loader.h34 class ZipArchive; variable
123 bool OpenAllDexFilesFromZip(const ZipArchive& zip_archive,
132 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const ZipArchive& zip_archive,
Dart_dex_file_loader.cc108 std::unique_ptr<ZipArchive> zip_archive( in GetMultiDexChecksums()
109 ZipArchive::OpenFromFd(fd.Release(), filename, error_msg)); in GetMultiDexChecksums()
301 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip()
381 const ZipArchive& zip_archive, in OpenOneDexFileFromZip()
481 const ZipArchive& zip_archive, in OpenAllDexFilesFromZip()
Ddex_file.h47 class ZipArchive; variable
/art/libprofile/
DAndroid.bp39 // ZipArchive support, the order matters here to get all symbols.
/art/libartbase/
DAndroid.bp63 // ZipArchive support, the order matters here to get all symbols.
/art/dex2oat/linker/
Doat_writer.h367 std::vector<std::unique_ptr<ZipArchive>> zip_archives_;
Doat_writer.cc559 zip_archives_.emplace_back(ZipArchive::OpenFromFd(dex_file_fd.Release(), location, &error_msg)); in AddDexFileSource()
560 ZipArchive* zip_archive = zip_archives_.back().get(); in AddDexFileSource()
/art/tools/hiddenapi/
Dhiddenapi_test.cc50 std::unique_ptr<ZipArchive> jar( in RunHiddenapiEncode()
51 ZipArchive::Open(GetTestDexFileName("HiddenApi").c_str(), &error)); in RunHiddenapiEncode()
/art/dex2oat/
Ddex2oat.cc1592 dm_file_.reset(ZipArchive::OpenFromFd(dm_fd_, "DexMetadata", &error_msg)); in OpenFile()
1594 dm_file_.reset(ZipArchive::Open(dm_file_location_.c_str(), &error_msg)); in OpenFile()
2916 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip()
3032 std::unique_ptr<ZipArchive> dm_file_;
Ddex2oat_test.cc2275 std::unique_ptr<ZipArchive> zip_archive( in TEST_F()
2276 ZipArchive::OpenFromFd(zip_file->Release(), zip_location.c_str(), &error_msg)); in TEST_F()
/art/libprofile/profile/
Dprofile_compilation_info.cc1208 std::unique_ptr<ZipArchive> zip_archive( in OpenSource()
1209 ZipArchive::OpenFromFd(DupCloexec(fd), "profile", error)); in OpenSource()
/art/runtime/interpreter/
Dunstarted_runtime.cc488 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); in FindAndExtractEntry()