Home
last modified time | relevance | path

Searched refs:ZipEntry (Results 1 – 21 of 21) 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,
312 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()
Dlibziparchive_fuzzer.cpp17 ZipEntry ze; in LLVMFuzzerTestOneInput()
Dzip_archive.cc993 int32_t ZipEntry::CopyFromZipEntry64(ZipEntry* dst, const ZipEntry64* src) { in CopyFromZipEntry64()
1009 ZipEntry* data) { in FindEntry()
1015 return ZipEntry::CopyFromZipEntry64(data, &entry64); in FindEntry()
1035 int32_t Next(void* cookie, ZipEntry* data, std::string* name) { in Next()
1041 return ZipEntry::CopyFromZipEntry64(data, &entry64); in Next()
1044 int32_t Next(void* cookie, ZipEntry* data, std::string_view* name) { in Next()
1050 return ZipEntry::CopyFromZipEntry64(data, &entry64); in Next()
1458 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry* entry, uint8_t* begin, in ExtractToMemory()
1474 int32_t ExtractEntryToFile(ZipArchiveHandle archive, const ZipEntry* entry, int fd) { in ExtractEntryToFile()
1517 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()
1411 ZipEntry ze; in TEST()
/system/extras/simpleperf/
Dutils_test.cpp41 ZipEntry lib_entry; in TEST()
42 ASSERT_TRUE(ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in TEST()
51 ZipEntry entry; in TEST()
Dread_apk.cpp83 ZipEntry found_entry; in FindElfInApkByOffsetWithoutCache()
85 bool result = ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in FindElfInApkByOffsetWithoutCache()
114 ZipEntry zentry; in FindElfInApkByNameWithoutCache()
Dutils.h99 bool IterateEntries(const std::function<bool(ZipEntry&, const std::string&)>& callback);
100 bool FindEntry(const std::string& name, ZipEntry* entry);
101 bool GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data);
Dutils.cpp115 const std::function<bool(ZipEntry&, const std::string&)>& callback) { in IterateEntries() argument
121 ZipEntry zentry; in IterateEntries()
137 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry()
146 bool ArchiveHelper::GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data) { in GetEntryData()
Ddso.cpp477 ZipEntry entry; in LoadSymbolsImpl()
/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/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/extras/memory_replay/
DFile.cpp44 ZipEntry entry; in ZipGetContents()
/system/apex/apexd/
Dapex_file.cpp86 ZipEntry entry; in Open()
431 ZipEntry entry; in Decompress()
Dapex_file_test.cpp67 ZipEntry entry; in TEST_P()
/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()