Home
last modified time | relevance | path

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

12

/aosp12/art/libartbase/base/
H A 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);
H A 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()
H A Dzip_archive_test.cc36 …std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &err… in TEST_F()
/aosp12/system/libziparchive/
H A Dzip_archive_private.h88 struct ZipArchive { struct
102 ZipArchive(MappedZipFile&& map, bool assume_ownership); argument
103 ZipArchive(const void* address, size_t length);
104 ~ZipArchive();
H A Dzip_archive.cc95 uint64_t GetOwnerTag(const ZipArchive* archive) { in GetOwnerTag()
101 ZipArchive::ZipArchive(MappedZipFile&& map, bool assume_ownership) in ZipArchive() function in ZipArchive
116 ZipArchive::ZipArchive(const void* address, size_t length) in ZipArchive() function in ZipArchive
124 ZipArchive::~ZipArchive() { in ~ZipArchive()
481 static ZipError ParseZipArchive(ZipArchive* archive) { in ParseZipArchive()
607 ZipArchive* archive = new ZipArchive(MappedZipFile(fd), assume_ownership); in OpenArchiveFd()
614 ZipArchive* archive = new ZipArchive(MappedZipFile(fd, length, offset), assume_ownership); in OpenArchiveFdRange()
632 ZipArchive* archive = new ZipArchive(MappedZipFile(fd), true); in OpenArchive()
645 ZipArchive* archive = new ZipArchive(address, length); in OpenArchiveFromMemory()
950 ZipArchive* archive;
[all …]
H A Dzip_archive_stream_entry.cc92 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); in Read()
223 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); in Read()
/aosp12/bootable/recovery/edify/include/edify/
H A Dupdater_interface.h24 struct ZipArchive;
25 typedef ZipArchive* ZipArchiveHandle;
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DAssetsProvider.h31 struct ZipArchive;
107 ZipAssetsProvider(ZipArchive* handle, PathOrDebugName&& path, package_property_t flags,
124 std::unique_ptr<ZipArchive, void (*)(ZipArchive*)> zip_handle_;
H A DZipFileRO.h47 struct ZipArchive;
48 typedef ZipArchive* ZipArchiveHandle;
/aosp12/art/libdexfile/dex/
H A Dart_dex_file_loader.h34 class ZipArchive; variable
138 bool OpenAllDexFilesFromZip(const ZipArchive& zip_archive,
147 std::unique_ptr<const DexFile> OpenOneDexFileFromZip(const ZipArchive& zip_archive,
H A Dart_dex_file_loader.cc109 std::unique_ptr<ZipArchive> zip_archive( in GetMultiDexChecksums()
110 ZipArchive::OpenFromFd(fd.Release(), filename, error_msg)); in GetMultiDexChecksums()
315 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::OpenFromFd(fd, location.c_str(), error_msg)); in OpenZip()
395 const ZipArchive& zip_archive, in OpenOneDexFileFromZip()
499 const ZipArchive& zip_archive, in OpenAllDexFilesFromZip()
/aosp12/system/libziparchive/include/ziparchive/
H A Dzip_archive.h138 struct ZipArchive;
139 typedef ZipArchive* ZipArchiveHandle;
/aosp12/packages/modules/Virtualization/zipfuse/src/
H A Dinode.rs166 archive: &mut zip::ZipArchive<R>, in from_zip()
240 let zip = zip::ZipArchive::new(buf); in setup()
415 let zip = zip::ZipArchive::new(buf); in rejects_invalid_paths()
/aosp12/system/sepolicy/prebuilts/api/27.0/public/
H A Dprofman.te11 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/26.0/public/
H A Dprofman.te11 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/28.0/public/
H A Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/30.0/public/
H A Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/29.0/public/
H A Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/29.0/private/
H A Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/30.0/private/
H A Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/31.0/private/
H A Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/31.0/public/
H A Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/32.0/private/
H A Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/prebuilts/api/32.0/public/
H A Dprofman.te13 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
/aosp12/system/sepolicy/private/
H A Dviewcompiler.te6 # Reading an APK opens a ZipArchive, which unpack to tmpfs.

12