Home
last modified time | relevance | path

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

/system/core/libziparchive/include/ziparchive/
Dzip_archive.h108 typedef ZipArchive* ZipArchiveHandle; typedef
117 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle);
137 int32_t OpenArchiveFd(const int fd, const char* debugFileName, ZipArchiveHandle* handle,
141 ZipArchiveHandle* handle);
149 void CloseArchive(ZipArchiveHandle archive);
167 int32_t FindEntry(const ZipArchiveHandle archive, const ZipString& entryName, ZipEntry* data);
182 int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr,
208 int32_t ExtractEntryToFile(ZipArchiveHandle archive, ZipEntry* entry, int fd);
218 int32_t ExtractToMemory(ZipArchiveHandle archive, ZipEntry* entry, uint8_t* begin, uint32_t size);
220 int GetFileDescriptor(const ZipArchiveHandle archive);
[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/core/libziparchive/
Dzip_archive_test.cc61 static int32_t OpenArchiveWrapper(const std::string& name, ZipArchiveHandle* handle) { in OpenArchiveWrapper()
72 ZipArchiveHandle handle; in TEST()
81 ZipArchiveHandle handle; in TEST()
87 ZipArchiveHandle handle; in TEST()
97 ZipArchiveHandle handle; in TEST()
107 ZipArchiveHandle handle; in TEST()
116 ZipArchiveHandle handle; in AssertIterationOrder()
171 ZipArchiveHandle handle; in TEST()
189 ZipArchiveHandle handle; in TEST()
214 ZipArchiveHandle handle; in TEST()
[all …]
Dzip_writer_test.cc27 ZipArchiveHandle handle,
61 ZipArchiveHandle handle; in TEST_F()
93 ZipArchiveHandle handle; in TEST_F()
128 ZipArchiveHandle handle; in TEST_F()
162 ZipArchiveHandle handle; in TEST_F()
190 ZipArchiveHandle handle; in TEST_F()
212 ZipArchiveHandle handle; in TEST_F()
240 ZipArchiveHandle handle; in TEST_F()
272 ZipArchiveHandle handle; in TEST_F()
338 ZipArchiveHandle handle; in TEST_F()
[all …]
Dzip_archive_stream_entry.cc48 explicit ZipArchiveStreamEntryUncompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryUncompressed()
112 explicit ZipArchiveStreamEntryCompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryCompressed()
252 explicit ZipArchiveStreamEntryRawCompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryRawCompressed()
275 ZipArchiveStreamEntry* ZipArchiveStreamEntry::Create(ZipArchiveHandle handle, in Create()
291 ZipArchiveStreamEntry* ZipArchiveStreamEntry::CreateRaw(ZipArchiveHandle handle, in CreateRaw()
Dzip_archive_benchmark.cpp53 ZipArchiveHandle handle; in FindEntry_no_match()
71 ZipArchiveHandle handle; in Iterate_all_files()
Dunzip.cpp137 static void ExtractToPipe(ZipArchiveHandle zah, ZipEntry& entry, const std::string& name) { in ExtractToPipe()
151 static void ExtractOne(ZipArchiveHandle zah, ZipEntry& entry, const std::string& name) { in ExtractOne()
216 static void ProcessOne(ZipArchiveHandle zah, ZipEntry& entry, const std::string& name) { in ProcessOne()
233 static void ProcessAll(ZipArchiveHandle zah) { in ProcessAll()
330 ZipArchiveHandle zah; in main()
Dzip_archive.cc481 int32_t OpenArchiveFd(int fd, const char* debug_file_name, ZipArchiveHandle* handle, in OpenArchiveFd()
488 int32_t OpenArchive(const char* fileName, ZipArchiveHandle* handle) { in OpenArchive()
502 ZipArchiveHandle* handle) { in OpenArchiveFromMemory()
511 void CloseArchive(ZipArchiveHandle archive) { in CloseArchive()
738 int32_t StartIteration(ZipArchiveHandle archive, void** cookie_ptr, in StartIteration()
757 int32_t FindEntry(const ZipArchiveHandle archive, const ZipString& entryName, ZipEntry* data) { in FindEntry()
1106 int32_t ExtractToWriter(ZipArchiveHandle archive, ZipEntry* entry, zip_archive::Writer* writer) { in ExtractToWriter()
1134 int32_t ExtractToMemory(ZipArchiveHandle archive, ZipEntry* entry, uint8_t* begin, uint32_t size) { in ExtractToMemory()
1139 int32_t ExtractEntryToFile(ZipArchiveHandle archive, ZipEntry* entry, int fd) { in ExtractEntryToFile()
1162 int GetFileDescriptor(const ZipArchiveHandle archive) { in GetFileDescriptor()
[all …]
/system/extras/simpleperf/
Dutils.h83 ArchiveHelper(ZipArchiveHandle handle, const std::string& filename) in ArchiveHelper()
86 ZipArchiveHandle handle_;
Dutils.cpp93 ZipArchiveHandle handle; in CreateInstance()
/system/apex/apexd/
Dapex_file_test.cpp43 ZipArchiveHandle handle; in TEST()
Dapex_file.cpp113 ZipArchiveHandle handle; in Open()
/system/core/fastboot/
Dfastboot.cpp503 static bool UnzipToMemory(ZipArchiveHandle zip, const std::string& entry_name, in UnzipToMemory()
614 static int unzip_to_file(ZipArchiveHandle zip, const char* entry_name) { in unzip_to_file()
1369 explicit ZipImageSource(ZipArchiveHandle zip) : zip_(zip) {} in ZipImageSource()
1374 ZipArchiveHandle zip_;
1386 ZipArchiveHandle zip; in do_update()