Searched refs:UniqueStreamPtr (Results 1 – 17 of 17) sorted by relevance
/external/puffin/src/ |
D | extent_stream.h | 22 static UniqueStreamPtr CreateForWrite(UniqueStreamPtr stream, 25 static UniqueStreamPtr CreateForRead(UniqueStreamPtr stream, 37 ExtentStream(UniqueStreamPtr stream, 49 UniqueStreamPtr stream_;
|
D | extent_stream.cc | 16 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()
|
D | puffin_stream.h | 46 static UniqueStreamPtr CreateForPuff(UniqueStreamPtr stream, 60 static UniqueStreamPtr CreateForHuff(UniqueStreamPtr stream, 90 PuffinStream(UniqueStreamPtr stream, 109 UniqueStreamPtr stream_;
|
D | memory_stream.cc | 18 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()
|
D | puffpatch.cc | 52 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()
|
D | puffin_stream.cc | 57 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()
|
D | memory_stream.h | 22 static UniqueStreamPtr CreateForRead(const Buffer& memory); 27 static UniqueStreamPtr CreateForWrite(Buffer* memory);
|
D | puffdiff.cc | 99 bool PuffDiff(UniqueStreamPtr src, in PuffDiff() 100 UniqueStreamPtr dst, in PuffDiff() 108 [&puffer](UniqueStreamPtr stream, const vector<BitExtent>& deflates, in PuffDiff()
|
D | file_stream.cc | 20 UniqueStreamPtr FileStream::Open(const string& path, bool read, bool write) { in Open() 34 return UniqueStreamPtr(new FileStream(fd)); in Open()
|
D | file_stream.h | 22 static UniqueStreamPtr Open(const std::string& path, bool read, bool write);
|
D | main.cc | 37 using puffin::UniqueStreamPtr; 92 bool LocateDeflatesBasedOnFileType(const UniqueStreamPtr& stream, in LocateDeflatesBasedOnFileType()
|
D | utils.cc | 130 bool FindDeflateSubBlocks(const UniqueStreamPtr& src, in FindDeflateSubBlocks() 312 bool FindPuffLocations(const UniqueStreamPtr& src, in FindPuffLocations()
|
D | fuzzer.cc | 30 using puffin::UniqueStreamPtr;
|
/external/puffin/src/include/puffin/ |
D | puffpatch.h | 28 bool PuffPatch(UniqueStreamPtr src, 29 UniqueStreamPtr dst,
|
D | puffdiff.h | 30 bool PuffDiff(UniqueStreamPtr src, 31 UniqueStreamPtr dst,
|
D | utils.h | 64 bool FindDeflateSubBlocks(const UniqueStreamPtr& src, 71 bool FindPuffLocations(const UniqueStreamPtr& src,
|
D | stream.h | 42 using UniqueStreamPtr = std::unique_ptr<StreamInterface>; variable
|