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
81 friend class ZipArchive; variable
85 class ZipArchive {
88 static ZipArchive* Open(const char* filename, std::string* error_msg);
89 static ZipArchive* OpenFromFd(int fd, const char* filename, std::string* error_msg);
93 ~ZipArchive();
96 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchive() function
102 DISALLOW_COPY_AND_ASSIGN(ZipArchive);
Dzip_archive.cc225 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { in Open()
237 return new ZipArchive(handle); in Open()
240 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { in OpenFromFd()
253 return new ZipArchive(handle); in OpenFromFd()
256 ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const { in Find()
270 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.bp32 // ZipArchive support, the order matters here to get all symbols.
/art/libartbase/
DAndroid.bp57 // ZipArchive support, the order matters here to get all symbols.
/art/dex2oat/linker/
Doat_writer.h373 std::vector<std::unique_ptr<ZipArchive>> zip_archives_;
Doat_writer.cc546 zip_archives_.emplace_back(ZipArchive::OpenFromFd(dex_file_fd.Release(), location, &error_msg)); in AddDexFileSource()
547 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.cc1576 dm_file_.reset(ZipArchive::OpenFromFd(dm_fd_, "DexMetadata", &error_msg)); in OpenFile()
1578 dm_file_.reset(ZipArchive::Open(dm_file_location_.c_str(), &error_msg)); in OpenFile()
2912 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(zip_filename, error_msg)); in ReadCommentedInputFromZip()
3028 std::unique_ptr<ZipArchive> dm_file_;
Ddex2oat_test.cc2286 std::unique_ptr<ZipArchive> zip_archive( in TEST_F()
2287 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.cc539 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(jar_file.c_str(), error_msg)); in FindAndExtractEntry()