Home
last modified time | relevance | path

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

123

/external/kotlinx.coroutines/kotlinx-coroutines-core/jsAndWasmJsShared/src/
DEventLoop.kt5 internal actual fun createEventLoop(): EventLoop = UnconfinedEventLoop() in createEventLoop()
9 internal class UnconfinedEventLoop : EventLoop() { in createEventLoop()
13 internal actual abstract class EventLoopImplPlatform : EventLoop() {
/external/aws-sdk-java-v2/http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/nrs/
DHandlerSubscriberTest.java26 import io.netty.channel.EventLoop;
119 protected boolean isCompatible(EventLoop loop) { in isCompatible()
129 … private static class CustomEmbeddedEventLoop extends AbstractEventExecutor implements EventLoop {
139 public EventLoop next() { in next()
140 return (EventLoop) super.next(); in next()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DEventLoop.common.kt19 internal abstract class EventLoop : CoroutineDispatcher() { in <lambda>() class
123 private val ref = commonThreadLocal<EventLoop?>(Symbol("ThreadLocalEventLoop"))
125 internal val eventLoop: EventLoop
128 internal fun currentOrNull(): EventLoop? = in currentOrNull()
135 internal fun setEventLoop(eventLoop: EventLoop) { in setEventLoop()
169 internal expect abstract class EventLoopImplPlatform() : EventLoop { in delayNanosToMillis()
529 internal expect fun createEventLoop(): EventLoop in toString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DBuilders.kt54 val eventLoop: EventLoop? in runBlocking()
63 eventLoop = (contextInterceptor as? EventLoop)?.takeIf { it.shouldBeProcessedFromContext() } in runBlocking()
75 private val eventLoop: EventLoop?
DEventLoop.kt7 internal actual abstract class EventLoopImplPlatform: EventLoop() {
26 internal actual fun createEventLoop(): EventLoop = BlockingEventLoop(Thread.currentThread()) in createEventLoop()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DBuilders.kt50 val eventLoop: EventLoop? in runBlocking()
59 eventLoop = (contextInterceptor as? EventLoop)?.takeIf { it.shouldBeProcessedFromContext() } in runBlocking()
108 private val eventLoop: EventLoop?
DEventLoop.kt9 internal actual abstract class EventLoopImplPlatform : EventLoop() {
28 internal actual fun createEventLoop(): EventLoop = EventLoopImpl()
/external/crosvm/devices/src/usb/xhci/
Dxhci_backend_device_provider.rs11 use crate::utils::EventLoop;
20 event_loop: Arc<EventLoop>, in start() argument
Dintr_resample_handler.rs16 use crate::utils::EventLoop;
27 event_loop: &EventLoop, in start() argument
Dtransfer_ring_controller.rs21 use crate::utils::EventLoop;
81 event_loop: Arc<EventLoop>, in new() argument
Dring_buffer_controller.rs28 use crate::utils::EventLoop;
85 event_loop: Arc<EventLoop>,
103 event_loop: Arc<EventLoop>, in new_with_handler() argument
331 let (l, j) = EventLoop::start("test".to_string(), None).unwrap(); in test_ring_buffer_controller()
/external/aws-sdk-java-v2/http-clients/netty-nio-client/src/main/java/software/amazon/awssdk/http/nio/netty/internal/
DHttp1TunnelConnectionPool.java23 import io.netty.channel.EventLoop;
48 private final EventLoop eventLoop;
59 … public Http1TunnelConnectionPool(EventLoop eventLoop, ChannelPool delegate, SslContext sslContext, in Http1TunnelConnectionPool()
67 … public Http1TunnelConnectionPool(EventLoop eventLoop, ChannelPool delegate, SslContext sslContext, in Http1TunnelConnectionPool()
77 Http1TunnelConnectionPool(EventLoop eventLoop, ChannelPool delegate, SslContext sslContext, in Http1TunnelConnectionPool()
/external/crosvm/devices/src/utils/
Devent_loop.rs49 pub struct EventLoop { struct
61 impl EventLoop { implementation
66 ) -> Result<(EventLoop, thread::JoinHandle<()>)> { in start() argument
81 let event_loop = EventLoop { in start()
260 let (l, j) = EventLoop::start("test".to_string(), None).unwrap(); in event_loop_test()
Dasync_job_queue.rs15 use super::EventLoop;
26 pub fn init(event_loop: &EventLoop) -> Result<Arc<AsyncJobQueue>> { in init()
/external/crosvm/devices/src/usb/backend/
Ddevice_provider.rs34 use crate::utils::EventLoop;
69 event_loop: Arc<EventLoop>, in start_helper() argument
110 event_loop: Arc<EventLoop>, in start() argument
133 event_loop: Arc<EventLoop>,
150 event_loop: Arc<EventLoop>, in new() argument
/external/crosvm/devices/src/usb/backend/fido_backend/
Dfido_provider.rs18 use crate::utils::EventLoop;
24 event_loop: Arc<EventLoop>, in attach_security_key() argument
Dfido_device.rs27 use crate::utils::EventLoop;
75 event_loop: Arc<EventLoop>,
89 pub fn new(hidraw: File, event_loop: Arc<EventLoop>) -> Result<FidoDevice> { in new()
/external/aws-sdk-java-v2/http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/nrs/util/
DClosedLoopChannel.java26 import io.netty.channel.EventLoop;
73 protected boolean isCompatible(EventLoop loop) {
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyHandlerTestBase.java49 import io.netty.channel.EventLoop;
133 EventLoop eventLoop;
140 public EventLoop eventLoop() { in eventLoop()
148 EventLoop realEventLoop = super.eventLoop(); in createEventLoop()
152 eventLoop = mock(EventLoop.class, delegatesTo(realEventLoop)); in createEventLoop()
171 EventLoop eventLoop, final Runnable command, long delay, TimeUnit timeUnit) { in FakeClockScheduledNettyFuture()
347 EventLoop eventLoop = mock(EventLoop.class); in newMockContext()
DWriteQueueTest.java32 import io.netty.channel.EventLoop;
74 EventLoop eventLoop = Mockito.mock(EventLoop.class); in setUp()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerStream.java33 import io.netty.channel.EventLoop;
157 private final EventLoop eventLoop;
162 EventLoop eventLoop, in TransportState()
DNettyClientStream.java43 import io.netty.channel.EventLoop;
229 private final EventLoop eventLoop;
236 EventLoop eventLoop, in TransportState()
/external/kotlinx.coroutines/kotlinx-coroutines-core/wasmWasi/src/
DEventLoop.kt16 internal actual fun createEventLoop(): EventLoop = DefaultExecutor in <lambda>()
57 internal actual abstract class EventLoopImplPlatform : EventLoop() { in invokeOnTimeout()
/external/aws-sdk-java-v2/http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/
DNettyRequestExecutorTest.java32 import io.netty.channel.EventLoop;
107 EventLoop mockEventLoop = mock(EventLoop.class); in cancelExecuteFuture_channelAcquired_submitsRunnable()
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/
DRunBlockingTest.kt29 assertIs<EventLoop>(coroutineContext[ContinuationInterceptor]) in testPrivateEventLoop()
41 val outerEventLoop = coroutineContext[ContinuationInterceptor] as EventLoop in testOuterEventLoop()

123