Searched defs:ZipArchive (Results 1 - 2 of 2) sorted by relevance

/art/runtime/
H A Dzip_archive.h34 class ZipArchive;
46 // the original file that the ZipArchive was open with is used
70 friend class ZipArchive;
74 class ZipArchive { class in namespace:art
76 // return new ZipArchive instance on success, null on error.
77 static ZipArchive* Open(const char* filename, std::string* error_msg);
78 static ZipArchive* OpenFromFd(int fd, const char* filename, std::string* error_msg);
82 ~ZipArchive();
85 explicit ZipArchive(ZipArchiveHandle handle) : handle_(handle) {} function in class:art::ZipArchive
91 DISALLOW_COPY_AND_ASSIGN(ZipArchive);
[all...]
H A Dzip_archive.cc96 // Should not happen since we don't have a memory ZipArchive constructor.
97 // However the underlying ZipArchive isn't required to have an FD,
202 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) {
214 return new ZipArchive(handle);
217 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) {
230 return new ZipArchive(handle);
233 ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const {
247 ZipArchive
[all...]

Completed in 386 milliseconds