Searched refs:dispatcher1 (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/mojo/core/ |
D | shared_buffer_dispatcher_unittest.cc | 181 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 …]
|
D | core.cc | 598 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/ |
D | StandardTestDispatcherTest.kt | 68 val dispatcher1 = StandardTestDispatcher() in <lambda>() constant 69 Dispatchers.setMain(dispatcher1) in <lambda>() 72 assertSame(dispatcher1.scheduler, dispatcher2.scheduler) in <lambda>()
|
D | UnconfinedTestDispatcherTest.kt | 157 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/ |
D | README.md | 240 val dispatcher1 = StandardTestDispatcher(scheduler, name = "IO dispatcher") 242 launch(dispatcher1) {
|