Home
last modified time | relevance | path

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

/system/libziparchive/include/ziparchive/
Dzip_archive.h98 struct ZipEntry : public ZipEntryCommon { struct
112 static int32_t CopyFromZipEntry64(ZipEntry* dst, const ZipEntry64* src);
115 ZipEntry& operator=(const ZipEntryCommon& other) {
134 explicit ZipEntry64(const ZipEntry& zip_entry) : ZipEntryCommon(zip_entry) { in ZipEntry64()
294 int32_t FindEntry(const ZipArchiveHandle archive, const std::string_view entryName, ZipEntry* data);
295 int32_t Next(void* cookie, ZipEntry* data, std::string* name);
296 int32_t Next(void* cookie, ZipEntry* data, std::string_view* name);
297 int32_t ExtractEntryToFile(ZipArchiveHandle archive, const ZipEntry* entry, int fd);
298 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry* entry, uint8_t* begin,
314 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.cc42 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { in Init()
59 bool Init(const ZipEntry& entry) override;
68 bool ZipArchiveStreamEntryUncompressed::Init(const ZipEntry& entry) { in Init()
133 bool Init(const ZipEntry& entry) override;
153 bool ZipArchiveStreamEntryCompressed::Init(const ZipEntry& entry) { in Init()
280 bool Init(const ZipEntry& entry) override;
283 bool ZipArchiveStreamEntryRawCompressed::Init(const ZipEntry& entry) { in Init()
297 const ZipEntry& entry) { in Create()
313 const ZipEntry& entry) { in CreateRaw()
Dzip_writer_test.cc28 ZipEntry* zip_entry);
62 ZipEntry data; in TEST_F()
87 ZipEntry data; in TEST_F()
113 ZipEntry data; in TEST_F()
145 ZipEntry data; in TEST_F()
180 ZipEntry data; in TEST_F()
214 ZipEntry data; in TEST_F()
242 ZipEntry data; in TEST_F()
264 ZipEntry data; in TEST_F()
292 ZipEntry data; in TEST_F()
[all …]
Dzip_archive_benchmark.cpp71 ZipEntry data; in FindEntry_no_match()
90 ZipEntry data; in Iterate_all_files()
130 ZipEntry data; in ExtractEntry()
155 ZipEntry data; in ExtractStored()
Dlibziparchive_fuzzer.cpp17 ZipEntry ze; in LLVMFuzzerTestOneInput()
Dzip_archive.cc1075 int32_t ZipEntry::CopyFromZipEntry64(ZipEntry* dst, const ZipEntry64* src) { in CopyFromZipEntry64()
1091 ZipEntry* data) { in FindEntry()
1097 return ZipEntry::CopyFromZipEntry64(data, &entry64); in FindEntry()
1117 int32_t Next(void* cookie, ZipEntry* data, std::string* name) { in Next()
1123 return ZipEntry::CopyFromZipEntry64(data, &entry64); in Next()
1126 int32_t Next(void* cookie, ZipEntry* data, std::string_view* name) { in Next()
1132 return ZipEntry::CopyFromZipEntry64(data, &entry64); in Next()
1621 int32_t ExtractToMemory(ZipArchiveHandle archive, const ZipEntry* entry, uint8_t* begin, in ExtractToMemory()
1636 int32_t ExtractEntryToFile(ZipArchiveHandle archive, const ZipEntry* entry, int fd) { in ExtractEntryToFile()
1678 int32_t ProcessZipEntryContents(ZipArchiveHandle archive, const ZipEntry* entry, in ProcessZipEntryContents()
Dzip_archive_test.cc645 bool verified, ZipEntry* entry, std::vector<uint8_t>* read_data) { in ZipArchiveStreamTest()
678 ZipEntry entry; in ZipArchiveStreamTestUsingContents()
693 ZipEntry entry; in ZipArchiveStreamTestUsingMemory()
734 ZipEntry entry; in TEST()
745 ZipEntry entry; in TEST()
1421 ZipEntry ze; in TEST()
/system/extras/simpleperf/
Dutils_test.cpp43 ZipEntry lib_entry; in TEST()
44 ASSERT_TRUE(ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in TEST()
53 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.h103 bool IterateEntries(const std::function<bool(ZipEntry&, const std::string&)>& callback);
104 bool FindEntry(const std::string& name, ZipEntry* entry);
105 bool GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data);
Dutils.cpp118 const std::function<bool(ZipEntry&, const std::string&)>& callback) { in IterateEntries() argument
124 ZipEntry zentry; in IterateEntries()
140 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry()
149 bool ArchiveHelper::GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data) { in GetEntryData()
Ddso.cpp518 ZipEntry entry; in LoadSymbolsImpl()
/system/gsid/tests/
DDsuGsiIntegrationTest.java42 import java.util.zip.ZipEntry;
100 out.putNextEntry(new ZipEntry(GSI_IMAGE_NAME)); in setUp()
/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc43 ZipEntry entry; in IterateZipEntriesAndSearchForKeys()
/system/extras/memory_replay/
DFile.cpp45 ZipEntry entry; in ZipGetContents()
/system/apex/apexd/
Dapex_file.cpp87 ZipEntry entry; in Open()
423 ZipEntry entry; in Decompress()
Dapex_file_test.cpp70 ZipEntry entry; in TEST_P()
/system/core/init/
Dselinux.cpp555 ZipEntry entry; in PutFileInTmpfs()