Home
last modified time | relevance | path

Searched refs:EventLoop (Results 1 – 25 of 36) sorted by relevance

12

/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DEventLoop.kt9 internal actual fun createEventLoop(): EventLoop = UnconfinedEventLoop() in createEventLoop()
13 internal class UnconfinedEventLoop : EventLoop() { in createEventLoop()
17 internal actual abstract class EventLoopImplPlatform : EventLoop() {
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DBuilders.kt35 val eventLoop: EventLoop? in runBlocking()
44 eventLoop = (contextInterceptor as? EventLoop)?.takeIf { it.shouldBeProcessedFromContext() } in runBlocking()
55 private val eventLoop: EventLoop?
DEventLoop.kt10 internal actual abstract class EventLoopImplPlatform: EventLoop() {
21 internal actual fun createEventLoop(): EventLoop = EventLoopImpl()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DEventLoop.common.kt23 internal abstract class EventLoop : CoroutineDispatcher() { in <lambda>() class
123 private val ref = CommonThreadLocal<EventLoop?>()
125 internal val eventLoop: EventLoop
128 internal fun currentOrNull(): EventLoop? = in currentOrNull()
135 internal fun setEventLoop(eventLoop: EventLoop) { in setEventLoop()
171 internal expect abstract class EventLoopImplPlatform() : EventLoop { in delayNanosToMillis()
521 internal expect fun createEventLoop(): EventLoop in toString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DBuilders.kt44 val eventLoop: EventLoop? in runBlocking()
53 eventLoop = (contextInterceptor as? EventLoop)?.takeIf { it.shouldBeProcessedFromContext() } in runBlocking()
65 private val eventLoop: EventLoop?
DEventLoop.kt7 internal actual abstract class EventLoopImplPlatform: EventLoop() {
26 internal actual fun createEventLoop(): EventLoop = BlockingEventLoop(Thread.currentThread())
/external/crosvm/devices/src/utils/
Devent_loop.rs42 pub struct EventLoop { struct
54 impl EventLoop { argument
59 ) -> Result<(EventLoop, thread::JoinHandle<()>)> { in start() argument
77 let event_loop = EventLoop { in start()
221 let (l, j) = EventLoop::start("test".to_string(), None).unwrap(); in event_loop_test()
Dasync_job_queue.rs6 use super::{EventHandler, EventLoop};
20 pub fn init(event_loop: &EventLoop) -> Result<Arc<AsyncJobQueue>> { in init()
/external/crosvm/devices/src/usb/xhci/
Dxhci_backend_device_provider.rs7 use crate::utils::{EventLoop, FailHandle};
17 event_loop: Arc<EventLoop>, in start() argument
Dintr_resample_handler.rs6 use crate::utils::{EventHandler, EventLoop};
20 event_loop: &EventLoop, in start() argument
Dtransfer_ring_controller.rs8 use crate::utils::EventLoop;
69 event_loop: Arc<EventLoop>, in new() argument
Dring_buffer_controller.rs7 use crate::utils::{self, EventHandler, EventLoop};
79 event_loop: Arc<EventLoop>,
97 event_loop: Arc<EventLoop>, in new_with_handler() argument
323 let (l, j) = EventLoop::start("test".to_string(), None).unwrap(); in test_ring_buffer_controller()
Dxhci.rs17 use crate::utils::{Error as UtilsError, EventLoop, FailHandle};
73 event_loop: Arc<EventLoop>,
95 EventLoop::start("xhci".to_string(), Some(fail_handle.clone())) in new()
Ddevice_slot.rs17 use crate::utils::{EventLoop, FailHandle};
98 event_loop: Arc<EventLoop>, in new() argument
251 event_loop: Arc<EventLoop>,
264 event_loop: Arc<EventLoop>, in new() argument
Dcommand_ring_controller.rs17 use crate::utils::EventLoop;
67 event_loop: Arc<EventLoop>, in new() argument
/external/crosvm/devices/src/usb/host_backend/
Dhost_backend_device_provider.rs13 use crate::utils::{EventHandler, EventLoop, FailHandle};
56 event_loop: Arc<EventLoop>, in start_helper() argument
97 event_loop: Arc<EventLoop>, in start() argument
122 event_loop: Arc<EventLoop>,
139 event_loop: Arc<EventLoop>, in new() argument
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyHandlerTestBase.java48 import io.netty.channel.EventLoop;
128 EventLoop eventLoop;
135 public EventLoop eventLoop() { in eventLoop()
143 EventLoop realEventLoop = super.eventLoop(); in createEventLoop()
147 eventLoop = mock(EventLoop.class, delegatesTo(realEventLoop)); in createEventLoop()
166 EventLoop eventLoop, final Runnable command, long delay, TimeUnit timeUnit) { in FakeClockScheduledNettyFuture()
336 EventLoop eventLoop = mock(EventLoop.class); in newMockContext()
DWriteQueueTest.java32 import io.netty.channel.EventLoop;
72 EventLoop eventLoop = Mockito.mock(EventLoop.class); in setUp()
DNettyStreamTestBase.java41 import io.netty.channel.EventLoop;
71 protected EventLoop eventLoop;
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerStream.java33 import io.netty.channel.EventLoop;
159 private final EventLoop eventLoop;
163 EventLoop eventLoop, in TransportState()
DNettyClientStream.java41 import io.netty.channel.EventLoop;
213 private final EventLoop eventLoop;
219 EventLoop eventLoop, in TransportState()
DNettyClientTransport.java49 import io.netty.channel.EventLoop;
189 EventLoop eventLoop = group.next();
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DRunBlockingTest.kt29 assertTrue(coroutineContext[ContinuationInterceptor] is EventLoop) in testPrivateEventLoop()
41 val outerEventLoop = coroutineContext[ContinuationInterceptor] as EventLoop in testOuterEventLoop()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test-resources/stacktraces/timeout/
DtestStacktraceIsRecoveredFromSuspensionPoint.txt10 at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:492)
/external/rust/crates/mio/
DCHANGELOG.md418 * `EventLoop` and types to `deprecated` mod. All contents of the
444 * Renamed `EventLoop::register_opt` to `EventLoop::register` (#257)
456 * Mio's socket types are permanently associated with an EventLoop (#308)
466 * [BUGFIX] EventLoop::register requests all events, not just readable.

12