Searched refs:consumer_handle (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/mojo/public/cpp/system/ |
D | data_pipe.h | 123 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/ |
D | string_data_pipe_producer_unittest.cc | 29 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()
|
D | file_data_pipe_producer_unittest.cc | 32 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()
|
D | simple_watcher_unittest.cc | 92 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()
|
D | data_pipe_drainer_unittest.cc | 26 this, std::move(pipe.consumer_handle)); in DataPipeDrainerTest()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | handle_passing_unittest.cc | 261 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/ |
D | core_api_unittest.cc | 199 Handle consumer_handle(hc); in TEST() local 201 mojo::WaitMany(&consumer_handle, &sig, 1, &result_index, states)); in TEST()
|
/external/libchrome/mojo/core/ |
D | data_pipe_unittest.cc | 215 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()
|