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.cc38 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { in Init()
49 class ZipArchiveStreamEntryUncompressed : public ZipArchiveStreamEntry {
51 ZipArchiveStreamEntryUncompressed(ZipArchiveHandle handle) : ZipArchiveStreamEntry(handle) {} in ZipArchiveStreamEntryUncompressed()
69 if (!ZipArchiveStreamEntry::Init(entry)) { in Init()
111 class ZipArchiveStreamEntryCompressed : public ZipArchiveStreamEntry {
113 ZipArchiveStreamEntryCompressed(ZipArchiveHandle handle) : ZipArchiveStreamEntry(handle) {} in ZipArchiveStreamEntryCompressed()
142 if (!ZipArchiveStreamEntry::Init(entry)) { in Init()
275 ZipArchiveStreamEntry* ZipArchiveStreamEntry::Create( in Create()
277 ZipArchiveStreamEntry* stream = nullptr; in Create()
291 ZipArchiveStreamEntry* ZipArchiveStreamEntry::CreateRaw( in CreateRaw()
[all …]
Dzip_archive_test.cc503 std::unique_ptr<ZipArchiveStreamEntry> stream; in ZipArchiveStreamTest()
505 stream.reset(ZipArchiveStreamEntry::CreateRaw(handle, *entry)); in ZipArchiveStreamTest()
512 stream.reset(ZipArchiveStreamEntry::Create(handle, *entry)); in ZipArchiveStreamTest()