Searched refs:src_stream (Results 1 – 7 of 7) sorted by relevance
/external/puffin/src/ |
D | main.cc | 224 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 …]
|
D | puffpatch.cc | 146 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()
|
D | utils_unittest.cc | 92 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()
|
D | patching_unittest.cc | 149 auto src_stream = MemoryStream::CreateForRead(src_buf); in TestPatching() local 152 ASSERT_TRUE(PuffPatch(std::move(src_stream), std::move(dst_stream), in TestPatching()
|
D | integration_test.cc | 74 auto src_stream = MemoryStream::CreateForRead(kTestZipA); in TEST_P() local
|
/external/libbrillo/brillo/streams/ |
D | input_stream_set.cc | 37 for (Stream* src_stream : source_streams) { in Create() 38 if (!src_stream->CanRead()) { in Create()
|
/external/libbrillo/brillo/http/ |
D | http_request.cc | 331 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()
|