Home
last modified time | relevance | path

Searched refs:consumer_handle (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/mojo/public/cpp/system/
Ddata_pipe.h123 DataPipeConsumerHandle consumer_handle; in CreateDataPipe() local
126 consumer_handle.mutable_value()); in CreateDataPipe()
130 data_pipe_consumer->reset(consumer_handle); in CreateDataPipe()
146 ScopedDataPipeConsumerHandle consumer_handle; variable
151 CreateDataPipe(nullptr, &producer_handle, &consumer_handle); in DataPipe()
164 CreateDataPipe(&options, &producer_handle, &consumer_handle); in DataPipe()
171 CreateDataPipe(&options, &producer_handle, &consumer_handle); in DataPipe()
/external/libchrome/mojo/public/cpp/system/tests/
Dstring_data_pipe_producer_unittest.cc29 explicit DataPipeReader(ScopedDataPipeConsumerHandle consumer_handle, in DataPipeReader() argument
31 : consumer_handle_(std::move(consumer_handle)), in DataPipeReader()
128 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
144 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
160 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
176 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
195 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
Dfile_data_pipe_producer_unittest.cc32 explicit DataPipeReader(ScopedDataPipeConsumerHandle consumer_handle, in DataPipeReader() argument
35 : consumer_handle_(std::move(consumer_handle)), in DataPipeReader()
188 DataPipeReader reader(std::move(pipe.consumer_handle), 16, in TEST_F()
213 DataPipeReader reader(std::move(pipe.consumer_handle), kTestString.size(), in TEST_F()
239 DataPipeReader reader(std::move(pipe.consumer_handle), kBytesToWrite, in TEST_F()
266 DataPipeReader reader(std::move(pipe.consumer_handle), 16, in TEST_F()
288 DataPipeReader reader(std::move(pipe.consumer_handle), 16, in TEST_F()
320 DataPipeReader reader(std::move(pipe.consumer_handle), kDataPipeSize, in TEST_F()
Dsimple_watcher_unittest.cc92 watcher.Watch(pipe.consumer_handle.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
99 pipe.consumer_handle->BeginReadData( in TEST_F()
101 pipe.consumer_handle->EndReadData(num_bytes); in TEST_F()
Ddata_pipe_drainer_unittest.cc26 this, std::move(pipe.consumer_handle)); in DataPipeDrainerTest()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dhandle_passing_unittest.cc261 ScopedDataPipeConsumerHandle consumer_handle; in TEST_P() local
266 CreateDataPipe(&options, &producer_handle, &consumer_handle)); in TEST_P()
277 factory->DoStuff2(std::move(consumer_handle), in TEST_P()
/external/libchrome/mojo/public/c/system/tests/
Dcore_api_unittest.cc199 Handle consumer_handle(hc); in TEST() local
201 mojo::WaitMany(&consumer_handle, &sig, 1, &result_index, states)); in TEST()
/external/libchrome/mojo/core/
Ddata_pipe_unittest.cc215 MojoHandle producer_handle, consumer_handle; in TEST_F() local
218 MojoCreateDataPipe(options, &producer_handle, &consumer_handle)); in TEST_F()
220 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(consumer_handle)); in TEST_F()