H A D | data_pipe_utils.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 bool BlockingCopyHelper(ScopedDataPipeConsumerHandle source, argument 25 source.get(), &buffer, &num_bytes, MOJO_READ_DATA_FLAG_NONE); 28 result = EndReadDataRaw(source.get(), num_bytes); 32 result = Wait(source.get(), 65 bool BlockingCopyToString(ScopedDataPipeConsumerHandle source, argument 70 source.Pass(), base::Bind(&CopyToStringHelper, result)); 73 bool BlockingCopyToFile(ScopedDataPipeConsumerHandle source, argument 79 source.Pass(), base::Bind(&CopyToFileHelper, fp.get())); 82 void CopyToFile(ScopedDataPipeConsumerHandle source, argument [all...] |