Home
last modified time | relevance | path

Searched refs:src_stream (Results 1 – 7 of 7) sorted by relevance

/external/puffin/src/
Dmain.cc224 auto src_stream = FileStream::Open(FLAGS_src_file, true, false); in Main() local
225 TEST_AND_RETURN_FALSE(src_stream); in Main()
227 src_stream = in Main()
228 ExtentStream::CreateForRead(std::move(src_stream), src_extents); in Main()
229 TEST_AND_RETURN_FALSE(src_stream); in Main()
234 src_stream, FLAGS_src_file, FLAGS_src_file_type, &src_deflates_bit)); in Main()
240 TEST_AND_RETURN_FALSE(FindDeflateSubBlocks(src_stream, src_deflates_byte, in Main()
245 TEST_AND_RETURN_FALSE(FindPuffLocations(src_stream, src_deflates_bit, in Main()
252 PuffinStream::CreateForPuff(std::move(src_stream), puffer, in Main()
299 TEST_AND_RETURN_FALSE(src_stream->GetSize(&src_stream_size)); in Main()
[all …]
Dpuffpatch.cc146 bool ApplyZucchiniPatch(UniqueStreamPtr src_stream, in ApplyZucchiniPatch() argument
158 TEST_AND_RETURN_FALSE(src_stream->Read(buffer.data(), write_size)); in ApplyZucchiniPatch()
212 auto src_stream = in PuffPatch() local
215 TEST_AND_RETURN_FALSE(src_stream); in PuffPatch()
222 auto reader = BsdiffStream::Create(std::move(src_stream)); in PuffPatch()
233 std::move(src_stream), src_puff_size, patch + patch_offset, in PuffPatch()
Dutils_unittest.cc92 auto src_stream = FileStream::Open(tmp_file, false, true); in FindDeflatesInZlibBlocks() local
93 ASSERT_TRUE(src_stream); in FindDeflatesInZlibBlocks()
94 ASSERT_TRUE(src_stream->Write(src.data(), src.size())); in FindDeflatesInZlibBlocks()
95 ASSERT_TRUE(src_stream->Close()); in FindDeflatesInZlibBlocks()
Dpatching_unittest.cc149 auto src_stream = MemoryStream::CreateForRead(src_buf); in TestPatching() local
152 ASSERT_TRUE(PuffPatch(std::move(src_stream), std::move(dst_stream), in TestPatching()
Dintegration_test.cc74 auto src_stream = MemoryStream::CreateForRead(kTestZipA); in TEST_P() local
/external/libbrillo/brillo/streams/
Dinput_stream_set.cc37 for (Stream* src_stream : source_streams) { in Create()
38 if (!src_stream->CanRead()) { in Create()
/external/libbrillo/brillo/http/
Dhttp_request.cc331 StreamPtr src_stream = connection_->ExtractDataStream(nullptr); in ExtractData() local
333 if (src_stream && dest_stream) { in ExtractData()
336 while (src_stream->ReadBlocking(buffer, sizeof(buffer), &read, nullptr) && in ExtractData()