Home
last modified time | relevance | path

Searched refs:UniqueStreamPtr (Results 1 – 17 of 17) sorted by relevance

/external/puffin/src/
Dextent_stream.h22 static UniqueStreamPtr CreateForWrite(UniqueStreamPtr stream,
25 static UniqueStreamPtr CreateForRead(UniqueStreamPtr stream,
37 ExtentStream(UniqueStreamPtr stream,
49 UniqueStreamPtr stream_;
Dextent_stream.cc16 UniqueStreamPtr ExtentStream::CreateForWrite( in CreateForWrite()
17 UniqueStreamPtr stream, const vector<ByteExtent>& extents) { in CreateForWrite()
18 return UniqueStreamPtr(new ExtentStream(std::move(stream), extents, true)); in CreateForWrite()
21 UniqueStreamPtr ExtentStream::CreateForRead(UniqueStreamPtr stream, in CreateForRead()
23 return UniqueStreamPtr(new ExtentStream(std::move(stream), extents, false)); in CreateForRead()
26 ExtentStream::ExtentStream(UniqueStreamPtr stream, in ExtentStream()
Dpuffin_stream.h46 static UniqueStreamPtr CreateForPuff(UniqueStreamPtr stream,
60 static UniqueStreamPtr CreateForHuff(UniqueStreamPtr stream,
90 PuffinStream(UniqueStreamPtr stream,
109 UniqueStreamPtr stream_;
Dmemory_stream.cc18 UniqueStreamPtr MemoryStream::CreateForRead(const Buffer& memory) { in CreateForRead()
19 return UniqueStreamPtr(new MemoryStream(&memory, nullptr)); in CreateForRead()
22 UniqueStreamPtr MemoryStream::CreateForWrite(Buffer* memory) { in CreateForWrite()
23 return UniqueStreamPtr(new MemoryStream(nullptr, memory)); in CreateForWrite()
Dpuffpatch.cc52 static unique_ptr<bsdiff::FileInterface> Create(UniqueStreamPtr stream) { in Create()
88 explicit BsdiffStream(UniqueStreamPtr stream) : stream_(std::move(stream)) {} in BsdiffStream()
90 UniqueStreamPtr stream_;
141 bool PuffPatch(UniqueStreamPtr src, in PuffPatch()
142 UniqueStreamPtr dst, in PuffPatch()
Dpuffin_stream.cc57 UniqueStreamPtr PuffinStream::CreateForPuff(UniqueStreamPtr stream, in CreateForPuff()
67 UniqueStreamPtr puffin_stream(new PuffinStream(std::move(stream), puffer, in CreateForPuff()
74 UniqueStreamPtr PuffinStream::CreateForHuff(UniqueStreamPtr stream, in CreateForHuff()
83 UniqueStreamPtr puffin_stream(new PuffinStream( in CreateForHuff()
89 PuffinStream::PuffinStream(UniqueStreamPtr stream, in PuffinStream()
Dmemory_stream.h22 static UniqueStreamPtr CreateForRead(const Buffer& memory);
27 static UniqueStreamPtr CreateForWrite(Buffer* memory);
Dpuffdiff.cc99 bool PuffDiff(UniqueStreamPtr src, in PuffDiff()
100 UniqueStreamPtr dst, in PuffDiff()
108 [&puffer](UniqueStreamPtr stream, const vector<BitExtent>& deflates, in PuffDiff()
Dfile_stream.cc20 UniqueStreamPtr FileStream::Open(const string& path, bool read, bool write) { in Open()
34 return UniqueStreamPtr(new FileStream(fd)); in Open()
Dfile_stream.h22 static UniqueStreamPtr Open(const std::string& path, bool read, bool write);
Dmain.cc37 using puffin::UniqueStreamPtr;
92 bool LocateDeflatesBasedOnFileType(const UniqueStreamPtr& stream, in LocateDeflatesBasedOnFileType()
Dutils.cc130 bool FindDeflateSubBlocks(const UniqueStreamPtr& src, in FindDeflateSubBlocks()
312 bool FindPuffLocations(const UniqueStreamPtr& src, in FindPuffLocations()
Dfuzzer.cc30 using puffin::UniqueStreamPtr;
/external/puffin/src/include/puffin/
Dpuffpatch.h28 bool PuffPatch(UniqueStreamPtr src,
29 UniqueStreamPtr dst,
Dpuffdiff.h30 bool PuffDiff(UniqueStreamPtr src,
31 UniqueStreamPtr dst,
Dutils.h64 bool FindDeflateSubBlocks(const UniqueStreamPtr& src,
71 bool FindPuffLocations(const UniqueStreamPtr& src,
Dstream.h42 using UniqueStreamPtr = std::unique_ptr<StreamInterface>; variable