Home
last modified time | relevance | path

Searched refs:ZipArchiveStreamEntry (Results 1 – 3 of 3) sorted by relevance

/system/core/include/ziparchive/
Dzip_archive_stream_entry.h25 class ZipArchiveStreamEntry {
27 virtual ~ZipArchiveStreamEntry() {} in ~ZipArchiveStreamEntry()
33 static ZipArchiveStreamEntry* Create(ZipArchiveHandle handle, const ZipEntry& entry);
34 static ZipArchiveStreamEntry* CreateRaw(ZipArchiveHandle handle, const ZipEntry& entry);
37 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchiveStreamEntry() function
/system/core/libziparchive/
Dzip_archive_stream_entry.cc40 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { in Init()
51 class ZipArchiveStreamEntryUncompressed : public ZipArchiveStreamEntry {
54 : ZipArchiveStreamEntry(handle) {} in ZipArchiveStreamEntryUncompressed()
72 if (!ZipArchiveStreamEntry::Init(entry)) { in Init()
114 class ZipArchiveStreamEntryCompressed : public ZipArchiveStreamEntry {
117 : ZipArchiveStreamEntry(handle) {} in ZipArchiveStreamEntryCompressed()
146 if (!ZipArchiveStreamEntry::Init(entry)) { in Init()
279 ZipArchiveStreamEntry* ZipArchiveStreamEntry::Create( in Create()
281 ZipArchiveStreamEntry* stream = nullptr; in Create()
295 ZipArchiveStreamEntry* ZipArchiveStreamEntry::CreateRaw( in CreateRaw()
[all …]
Dzip_archive_test.cc542 std::unique_ptr<ZipArchiveStreamEntry> stream; in ZipArchiveStreamTest()
544 stream.reset(ZipArchiveStreamEntry::CreateRaw(handle, *entry)); in ZipArchiveStreamTest()
551 stream.reset(ZipArchiveStreamEntry::Create(handle, *entry)); in ZipArchiveStreamTest()