Home
last modified time | relevance | path

Searched refs:ZipArchiveHandle (Results 1 – 18 of 18) sorted by relevance

/system/libziparchive/include/ziparchive/
Dzip_archive.h144 typedef ZipArchive* ZipArchiveHandle; typedef
153 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle);
173 int32_t OpenArchiveFd(const int fd, const char* debugFileName, ZipArchiveHandle* handle,
176 int32_t OpenArchiveFdRange(const int fd, const char* debugFileName, ZipArchiveHandle* handle,
180 ZipArchiveHandle* handle);
188 void CloseArchive(ZipArchiveHandle archive);
201 ZipArchiveInfo GetArchiveInfo(ZipArchiveHandle archive);
218 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName,
234 int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr,
244 int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr,
[all …]
Dzip_archive_stream_entry.h34 static ZipArchiveStreamEntry* Create(ZipArchiveHandle handle, const ZipEntry& entry);
35 static ZipArchiveStreamEntry* CreateRaw(ZipArchiveHandle handle, const ZipEntry& entry);
38 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchiveStreamEntry()
42 ZipArchiveHandle handle_;
/system/libziparchive/
Dzip_archive_test.cc57 static int32_t OpenArchiveWrapper(const std::string& name, ZipArchiveHandle* handle) { in OpenArchiveWrapper()
135 ZipArchiveHandle handle; in TEST()
152 ZipArchiveHandle handle; in TEST()
158 ZipArchiveHandle handle; in TEST()
164 ZipArchiveHandle handle; in TEST()
170 ZipArchiveHandle handle; in TEST()
180 ZipArchiveHandle handle; in TEST()
190 ZipArchiveHandle handle; in TEST()
202 ZipArchiveHandle handle; in TEST()
215 ZipArchiveHandle handle; in TEST()
[all …]
Dzip_writer_test.cc27 ZipArchiveHandle handle,
59 ZipArchiveHandle handle; in TEST_F()
84 ZipArchiveHandle handle; in TEST_F()
110 ZipArchiveHandle handle; in TEST_F()
142 ZipArchiveHandle handle; in TEST_F()
177 ZipArchiveHandle handle; in TEST_F()
210 ZipArchiveHandle handle; in TEST_F()
238 ZipArchiveHandle handle; in TEST_F()
260 ZipArchiveHandle handle; in TEST_F()
288 ZipArchiveHandle handle; in TEST_F()
[all …]
Dzip_archive_benchmark.cpp59 ZipArchiveHandle handle; in OpenClose()
70 ZipArchiveHandle handle; in FindEntry_no_match()
88 ZipArchiveHandle handle; in Iterate_all_files()
129 ZipArchiveHandle handle; in ExtractEntry()
154 ZipArchiveHandle handle; in ExtractStored()
Dzip_archive_stream_entry.cc50 explicit ZipArchiveStreamEntryUncompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryUncompressed()
124 explicit ZipArchiveStreamEntryCompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryCompressed()
273 explicit ZipArchiveStreamEntryRawCompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryRawCompressed()
296 ZipArchiveStreamEntry* ZipArchiveStreamEntry::Create(ZipArchiveHandle handle, in Create()
312 ZipArchiveStreamEntry* ZipArchiveStreamEntry::CreateRaw(ZipArchiveHandle handle, in CreateRaw()
Dziptool.cpp123 static void MaybeShowHeader(ZipArchiveHandle zah) { in MaybeShowHeader()
223 static void TestOne(ZipArchiveHandle zah, const ZipEntry64& entry, const std::string& name) { in TestOne()
240 static void ExtractToPipe(ZipArchiveHandle zah, const ZipEntry64& entry, const std::string& name) { in ExtractToPipe()
258 static void ExtractOne(ZipArchiveHandle zah, const ZipEntry64& entry, std::string name) { in ExtractOne()
382 static void ProcessOne(ZipArchiveHandle zah, const ZipEntry64& entry, const std::string& name) { in ProcessOne()
407 static void ProcessAll(ZipArchiveHandle zah) { in ProcessAll()
574 ZipArchiveHandle zah; in main()
Dzip_archive.cc675 int32_t OpenArchiveFd(int fd, const char* debug_file_name, ZipArchiveHandle* handle, in OpenArchiveFd()
682 int32_t OpenArchiveFdRange(int fd, const char* debug_file_name, ZipArchiveHandle* handle, in OpenArchiveFdRange()
700 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle) { in OpenArchive()
714 ZipArchiveHandle* handle) { in OpenArchiveFromMemory()
720 ZipArchiveInfo GetArchiveInfo(ZipArchiveHandle archive) { in GetArchiveInfo()
730 void CloseArchive(ZipArchiveHandle archive) { in CloseArchive()
1054 int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr, in StartIteration()
1072 int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr, in StartIteration()
1103 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry()
1113 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, in FindEntry()
[all …]
Dlibziparchive_fuzzer.cpp12 ZipArchiveHandle handle = nullptr; in LLVMFuzzerTestOneInput()
/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc31 const ZipArchiveHandle& handle, std::vector<std::vector<uint8_t>>* result) { in IterateZipEntriesAndSearchForKeys()
75 ZipArchiveHandle raw_handle; in ReadPublicKeysFromCertificates()
/system/core/fastboot/
Dfastboot.h138 explicit ZipImageSource(ZipArchiveHandle zip) : zip_(zip) {} in ZipImageSource()
143 ZipArchiveHandle zip_;
Dfastboot.cpp707 static bool UnzipToMemory(ZipArchiveHandle zip, const std::string& entry_name, in UnzipToMemory()
781 static unique_fd UnzipToFile(ZipArchiveHandle zip, const char* entry_name) { in UnzipToFile()
1938 ZipArchiveHandle zip; in do_update()
/system/extras/pinner/include/
Dmeminspect.h159 ZipArchiveHandle handle_;
/system/extras/simpleperf/
Dutils.h109 ArchiveHelper(ZipArchiveHandle handle, const std::string& filename) in ArchiveHelper()
112 ZipArchiveHandle handle_;
Dutils.cpp104 ZipArchiveHandle handle; in CreateInstance()
/system/extras/memory_replay/
DFile.cpp36 ZipArchiveHandle archive; in ZipGetContents()
/system/apex/apexd/
Dapex_file.cpp95 ZipArchiveHandle handle; in Open()
413 ZipArchiveHandle handle; in Decompress()
Dapex_file_test.cpp64 ZipArchiveHandle handle; in TEST_P()