Home
last modified time | relevance | path

Searched refs:ZipEntry (Results 1 – 22 of 22) sorted by relevance

/system/libziparchive/include/ziparchive/
Dzip_archive.h96 struct ZipEntry : public ZipEntryCommon { struct
110 static int32_t CopyFromZipEntry64(ZipEntry* dst, const ZipEntry64* src);
113 ZipEntry& operator=(const ZipEntryCommon& other) {
132 explicit ZipEntry64(const ZipEntry& zip_entry) : ZipEntryCommon(zip_entry) { in ZipEntry64()
292 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, ZipEntry* data);
293 int32_t Next(void* cookie, ZipEntry* data, std::string* name);
294 int32_t Next(void* cookie, ZipEntry* data, std::string_view* name);
295 int32_t ExtractEntryToFile(ZipArchiveHandle archive, const ZipEntry* entry, int fd);
296 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry* entry, uint8_t* begin,
306 int32_t ProcessZipEntryContents(ZipArchiveHandle archive, const ZipEntry* entry,
Dzip_archive_stream_entry.h34 static ZipArchiveStreamEntry* Create(ZipArchiveHandle handle, const ZipEntry& entry);
35 static ZipArchiveStreamEntry* CreateRaw(ZipArchiveHandle handle, const ZipEntry& entry);
40 virtual bool Init(const ZipEntry& entry);
/system/libziparchive/
Dzip_archive_stream_entry.cc41 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { in Init()
58 bool Init(const ZipEntry& entry) override;
67 bool ZipArchiveStreamEntryUncompressed::Init(const ZipEntry& entry) { in Init()
129 bool Init(const ZipEntry& entry) override;
149 bool ZipArchiveStreamEntryCompressed::Init(const ZipEntry& entry) { in Init()
277 bool Init(const ZipEntry& entry) override;
280 bool ZipArchiveStreamEntryRawCompressed::Init(const ZipEntry& entry) { in Init()
294 const ZipEntry& entry) { in Create()
310 const ZipEntry& entry) { in CreateRaw()
Dzip_writer_test.cc28 ZipEntry* zip_entry);
64 ZipEntry data; in TEST_F()
96 ZipEntry data; in TEST_F()
131 ZipEntry data; in TEST_F()
165 ZipEntry data; in TEST_F()
193 ZipEntry data; in TEST_F()
215 ZipEntry data; in TEST_F()
243 ZipEntry data; in TEST_F()
276 ZipEntry data; in TEST_F()
343 ZipEntry data; in TEST_F()
[all …]
Dzip_archive_benchmark.cpp56 ZipEntry data; in FindEntry_no_match()
75 ZipEntry data; in Iterate_all_files()
115 ZipEntry data; in ExtractEntry()
Dzip_archive.cc931 int32_t ZipEntry::CopyFromZipEntry64(ZipEntry* dst, const ZipEntry64* src) { in CopyFromZipEntry64()
947 ZipEntry* data) { in FindEntry()
953 return ZipEntry::CopyFromZipEntry64(data, &entry64); in FindEntry()
973 int32_t Next(void* cookie, ZipEntry* data, std::string* name) { in Next()
979 return ZipEntry::CopyFromZipEntry64(data, &entry64); in Next()
982 int32_t Next(void* cookie, ZipEntry* data, std::string_view* name) { in Next()
988 return ZipEntry::CopyFromZipEntry64(data, &entry64); in Next()
1384 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry* entry, uint8_t* begin, in ExtractToMemory()
1400 int32_t ExtractEntryToFile(ZipArchiveHandle archive, const ZipEntry* entry, int fd) { in ExtractEntryToFile()
1437 int32_t ProcessZipEntryContents(ZipArchiveHandle archive, const ZipEntry* entry, in ProcessZipEntryContents()
Dzip_archive_test.cc635 bool verified, ZipEntry* entry, std::vector<uint8_t>* read_data) { in ZipArchiveStreamTest()
668 ZipEntry entry; in ZipArchiveStreamTestUsingContents()
683 ZipEntry entry; in ZipArchiveStreamTestUsingMemory()
724 ZipEntry entry; in TEST()
735 ZipEntry entry; in TEST()
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DTimeZoneDistro.java24 import java.util.zip.ZipEntry;
96 ZipEntry entry; in getEntryContents()
138 ZipEntry entry; in extractZipSafely()
/system/extras/simpleperf/
Dutils_test.cpp82 ZipEntry lib_entry; in TEST()
83 ASSERT_TRUE(ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in TEST()
92 ZipEntry entry; in TEST()
Dread_apk.cpp81 ZipEntry found_entry; in FindElfInApkByOffsetWithoutCache()
83 bool result = ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in FindElfInApkByOffsetWithoutCache()
114 ZipEntry zentry; in FindElfInApkByNameWithoutCache()
Dutils.h78 bool IterateEntries(const std::function<bool(ZipEntry&, const std::string&)>& callback);
79 bool FindEntry(const std::string& name, ZipEntry* entry);
80 bool GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data);
Dutils.cpp107 const std::function<bool(ZipEntry&, const std::string&)>& callback) { in IterateEntries() argument
113 ZipEntry zentry; in IterateEntries()
129 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry()
138 bool ArchiveHelper::GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data) { in GetEntryData()
Ddso.cpp454 ZipEntry entry; in LoadSymbols()
/system/timezone/distro/tools/src/main/com/android/timezone/distro/builder/
DTimeZoneDistroBuilder.java27 import java.util.zip.ZipEntry;
168 ZipEntry zipEntry = new ZipEntry(name); in addZipEntry()
/system/timezone/distro/core/src/test/com/android/timezone/distro/
DTimeZoneDistroTest.java31 import java.util.zip.ZipEntry;
161 ZipEntry zipEntry = new ZipEntry(name); in addZipEntry()
/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc43 ZipEntry entry; in IterateZipEntriesAndSearchForKeys()
/system/apex/apexd/
Dapex_file_test.cpp51 ZipEntry entry; in TEST()
Dapex_file.cpp73 ZipEntry entry; in Open()
/system/extras/memory_replay/
DFile.cpp44 ZipEntry entry; in ZipGetContents()
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java39 import java.util.zip.ZipEntry;
846 ZipEntry zipEntry = new ZipEntry(name); in addZipEntry()
/system/core/adb/client/
Dincremental_utils.cpp328 ZipEntry entry; in InstallationPriorityBlocks()
/system/core/fastboot/
Dfastboot.cpp529 ZipEntry zip_entry; in UnzipToMemory()
640 ZipEntry zip_entry; in unzip_to_file()