Home
last modified time | relevance | path

Searched refs:extra_stream_ (Results 1 – 4 of 4) sorted by relevance

/external/bsdiff/
Dfake_patch_writer.h43 extra_stream_.insert(extra_stream_.end(), data, data + size); in WriteExtraStream()
56 const std::vector<uint8_t>& extra_stream() const { return extra_stream_; } in extra_stream()
63 std::vector<uint8_t> extra_stream_; variable
Dpatch_reader.cc88 extra_stream_ = CreateDecompressor(compression_type[2]); in Init()
89 if (!(ctrl_stream_ && diff_stream_ && extra_stream_)) { in Init()
109 if (!extra_stream_->SetInputData(const_cast<uint8_t*>(patch_data) + offset, in Init()
153 return extra_stream_->Read(buf, size); in ReadExtraStream()
167 if (!extra_stream_->Close()) { in Finish()
Dpatch_reader_unittest.cc46 EXPECT_TRUE(extra_stream_->Write( in CompressData()
52 EXPECT_TRUE(extra_stream_->Finish()); in CompressData()
80 std::copy(extra_stream_->GetCompressedData().begin(), in ConstructPatchData()
81 extra_stream_->GetCompressedData().end(), in ConstructPatchData()
140 std::unique_ptr<CompressorInterface> extra_stream_{nullptr}; member in bsdiff::PatchReaderTest
146 extra_stream_.reset(new BZ2Compressor()); in TEST_F()
162 extra_stream_.reset(new BrotliCompressor(11)); in TEST_F()
219 extra_stream_.reset(new BrotliCompressor(11)); in TEST_F()
Dpatch_reader.h58 std::unique_ptr<DecompressorInterface> extra_stream_{nullptr};