Home
last modified time | relevance | path

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

/system/libziparchive/include/ziparchive/
Dzip_archive_stream_entry.h26 class ZipArchiveStreamEntry {
28 virtual ~ZipArchiveStreamEntry() {} in ~ZipArchiveStreamEntry()
34 static ZipArchiveStreamEntry* Create(ZipArchiveHandle handle, const ZipEntry& entry);
35 static ZipArchiveStreamEntry* CreateRaw(ZipArchiveHandle handle, const ZipEntry& entry);
38 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchiveStreamEntry() function
/system/libziparchive/
Dzip_archive_stream_entry.cc41 bool ZipArchiveStreamEntry::Init(const ZipEntry& entry) { in Init()
47 class ZipArchiveStreamEntryUncompressed : public ZipArchiveStreamEntry {
50 : ZipArchiveStreamEntry(handle) {} in ZipArchiveStreamEntryUncompressed()
68 if (!ZipArchiveStreamEntry::Init(entry)) { in Init()
118 class ZipArchiveStreamEntryCompressed : public ZipArchiveStreamEntry {
121 : ZipArchiveStreamEntry(handle) {} in ZipArchiveStreamEntryCompressed()
150 if (!ZipArchiveStreamEntry::Init(entry)) { in Init()
293 ZipArchiveStreamEntry* ZipArchiveStreamEntry::Create(ZipArchiveHandle handle, in Create()
295 ZipArchiveStreamEntry* stream = nullptr; in Create()
309 ZipArchiveStreamEntry* ZipArchiveStreamEntry::CreateRaw(ZipArchiveHandle handle, in CreateRaw()
[all …]
Dzip_archive_test.cc637 std::unique_ptr<ZipArchiveStreamEntry> stream; in ZipArchiveStreamTest()
639 stream.reset(ZipArchiveStreamEntry::CreateRaw(handle, *entry)); in ZipArchiveStreamTest()
646 stream.reset(ZipArchiveStreamEntry::Create(handle, *entry)); in ZipArchiveStreamTest()