Home
last modified time | relevance | path

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

/system/core/libziparchive/include/ziparchive/
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);
Dzip_archive.h65 struct ZipEntry { struct
167 int32_t FindEntry(const ZipArchiveHandle archive, const ZipString& entryName, ZipEntry* data);
191 int32_t Next(void* cookie, ZipEntry* data, ZipString* name);
208 int32_t ExtractEntryToFile(ZipArchiveHandle archive, ZipEntry* entry, int fd);
218 int32_t ExtractToMemory(ZipArchiveHandle archive, ZipEntry* entry, uint8_t* begin, uint32_t size);
231 int32_t ProcessZipEntryContents(ZipArchiveHandle archive, ZipEntry* entry,
/system/core/libziparchive/
Dzip_archive_stream_entry.cc40 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { in Init()
57 bool Init(const ZipEntry& entry) override;
66 bool ZipArchiveStreamEntryUncompressed::Init(const ZipEntry& entry) { in Init()
121 bool Init(const ZipEntry& entry) override;
141 bool ZipArchiveStreamEntryCompressed::Init(const ZipEntry& entry) { in Init()
259 bool Init(const ZipEntry& entry) override;
262 bool ZipArchiveStreamEntryRawCompressed::Init(const ZipEntry& entry) { in Init()
276 const ZipEntry& entry) { in Create()
292 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()
275 ZipEntry data; in TEST_F()
341 ZipEntry data; in TEST_F()
[all …]
Dzip_archive_test.cc122 ZipEntry data; in AssertIterationOrder()
179 ZipEntry data; in TEST()
192 ZipEntry data; in TEST()
221 ZipEntry data; in TEST()
234 ZipEntry data; in TEST()
302 ZipEntry entry; in TEST()
327 ZipEntry entry; in TEST()
386 ZipEntry entry; in TEST()
426 ZipEntry binary_entry; in TEST()
435 bool verified, ZipEntry* entry, std::vector<uint8_t>* read_data) { in ZipArchiveStreamTest()
[all …]
Dzip_archive_benchmark.cpp54 ZipEntry data; in FindEntry_no_match()
73 ZipEntry data; 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()
201 static void ListOne(const ZipEntry& entry, const std::string& name) { in ListOne()
216 static void ProcessOne(ZipArchiveHandle zah, ZipEntry& entry, const std::string& name) { in ProcessOne()
244 ZipEntry entry; in ProcessAll()
Dzip_archive.cc516 static int32_t ValidateDataDescriptor(MappedZipFile& mapped_zip, ZipEntry* entry) { in ValidateDataDescriptor()
548 static int32_t FindEntry(const ZipArchive* archive, const int ent, ZipEntry* data) { in FindEntry()
757 int32_t FindEntry(const ZipArchiveHandle archive, const ZipString& entryName, ZipEntry* data) { in FindEntry()
772 int32_t Next(void* cookie, ZipEntry* data, ZipString* name) { in Next()
844 static FileWriter Create(int fd, const ZipEntry* entry) { in Create()
930 EntryReader(const MappedZipFile& zip_file, const ZipEntry* entry) in EntryReader()
941 const ZipEntry* entry_;
1064 static int32_t InflateEntryToWriter(MappedZipFile& mapped_zip, const ZipEntry* entry, in InflateEntryToWriter()
1072 static int32_t CopyEntryToWriter(MappedZipFile& mapped_zip, const ZipEntry* entry, in CopyEntryToWriter()
1106 int32_t ExtractToWriter(ZipArchiveHandle archive, ZipEntry* entry, zip_archive::Writer* writer) { in ExtractToWriter()
[all …]
/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()
Dutils.h77 bool IterateEntries(const std::function<bool(ZipEntry&, const std::string&)>& callback);
78 bool FindEntry(const std::string& name, ZipEntry* entry);
79 bool GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data);
Dread_apk.cpp81 ZipEntry found_entry; in FindElfInApkByOffsetWithoutCache()
83 bool result = ahelper->IterateEntries([&](ZipEntry& entry, const std::string& name) { in FindElfInApkByOffsetWithoutCache()
118 ZipEntry zentry; in FindElfInApkByNameWithoutCache()
Dutils.cpp107 const std::function<bool(ZipEntry&, const std::string&)>& callback) { in IterateEntries() argument
113 ZipEntry zentry; in IterateEntries()
130 bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) { in FindEntry()
139 bool ArchiveHelper::GetEntryData(ZipEntry& entry, std::vector<uint8_t>* data) { in GetEntryData()
Ddso.cpp430 ZipEntry entry; in LoadSymbols()
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DTimeZoneDistro.java24 import java.util.zip.ZipEntry;
93 ZipEntry entry; in getEntryContents()
135 ZipEntry entry; in extractZipSafely()
/system/timezone/distro/tools/src/main/com/android/timezone/distro/builder/
DTimeZoneDistroBuilder.java27 import java.util.zip.ZipEntry;
153 ZipEntry zipEntry = new ZipEntry(name); in addZipEntry()
/system/timezone/distro/core/src/test/com/android/timezone/distro/
DTimeZoneDistroTest.java33 import java.util.zip.ZipEntry;
162 ZipEntry zipEntry = new ZipEntry(name); in addZipEntry()
/system/apex/apexd/
Dapex_file_test.cpp49 ZipEntry entry; in TEST()
Dapex_file.cpp124 ZipEntry entry; in Open()
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java38 import java.util.zip.ZipEntry;
796 ZipEntry zipEntry = new ZipEntry(name); in addZipEntry()
/system/core/fastboot/
Dfastboot.cpp506 ZipEntry zip_entry; in UnzipToMemory()
618 ZipEntry zip_entry; in unzip_to_file()