Home
last modified time | relevance | path

Searched refs:dispatcher1 (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/mojo/core/
Dshared_buffer_dispatcher_unittest.cc181 scoped_refptr<SharedBufferDispatcher> dispatcher1; in TEST_F() local
184 nullptr, 100, &dispatcher1)); in TEST_F()
188 EXPECT_EQ(MOJO_RESULT_OK, dispatcher1->MapBuffer(0, 100, &mapping)); in TEST_F()
195 dispatcher1->DuplicateBufferHandle(nullptr, &dispatcher2)); in TEST_F()
199 EXPECT_EQ(MOJO_RESULT_OK, dispatcher1->Close()); in TEST_F()
209 scoped_refptr<SharedBufferDispatcher> dispatcher1; in TEST_F() local
212 nullptr, 100, &dispatcher1)); in TEST_F()
228 EXPECT_EQ(MOJO_RESULT_OK, dispatcher1->DuplicateBufferHandle( in TEST_F()
239 dispatcher1->DuplicateBufferHandle(&kReadOnlyOptions, in TEST_F()
261 EXPECT_EQ(MOJO_RESULT_OK, dispatcher1->Close()); in TEST_F()
[all …]
Dcore.cc598 scoped_refptr<Dispatcher> dispatcher1; in FuseMessagePipes() local
606 handles_->GetAndRemoveDispatcher(handle1, &dispatcher1); in FuseMessagePipes()
609 dispatcher1->GetType() != Dispatcher::Type::MESSAGE_PIPE) in FuseMessagePipes()
616 if (dispatcher1) in FuseMessagePipes()
617 dispatcher1->Close(); in FuseMessagePipes()
624 static_cast<MessagePipeDispatcher*>(dispatcher1.get()); in FuseMessagePipes()
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/test/
DStandardTestDispatcherTest.kt68 val dispatcher1 = StandardTestDispatcher() in <lambda>() constant
69 Dispatchers.setMain(dispatcher1) in <lambda>()
72 assertSame(dispatcher1.scheduler, dispatcher2.scheduler) in <lambda>()
DUnconfinedTestDispatcherTest.kt157 val dispatcher1 = StandardTestDispatcher() in <lambda>() constant
158 Dispatchers.setMain(dispatcher1) in <lambda>()
161 assertSame(dispatcher1.scheduler, dispatcher2.scheduler) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/
DREADME.md240 val dispatcher1 = StandardTestDispatcher(scheduler, name = "IO dispatcher")
242 launch(dispatcher1) {