Home
last modified time | relevance | path

Searched refs:EmptyCoroutineContext (Results 1 – 25 of 47) sorted by relevance

12

/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/android-unit-tests/src/
DEmptyCoroutineScopeImpl.kt5 import kotlin.coroutines.EmptyCoroutineContext
10 get() = EmptyCoroutineContext
15 get() = EmptyCoroutineContext
20 get() = EmptyCoroutineContext
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DCoroutineSchedulerStressTest.kt59 dispatcher.dispatch(EmptyCoroutineContext, Runnable { in testStealingFromBlocking()
66 dispatcher.dispatch(EmptyCoroutineContext, Runnable { in testStealingFromBlocking()
91 submissionInitiator.dispatch(EmptyCoroutineContext, Runnable { in stressTest()
93 dispatcher.dispatch(EmptyCoroutineContext, Runnable { in stressTest()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DCoroutineScopeTest.kt255 … assertSame(EmptyCoroutineContext, scopePlusContext(EmptyCoroutineContext, EmptyCoroutineContext)) in testScopePlusContext()
256 … assertSame(Dispatchers.Default, scopePlusContext(EmptyCoroutineContext, Dispatchers.Default)) in testScopePlusContext()
257 … assertSame(Dispatchers.Default, scopePlusContext(Dispatchers.Default, EmptyCoroutineContext)) in testScopePlusContext()
/external/kotlinx.coroutines/stdlib-stubs/src/
DCoroutineContext.kt24 if (this.key == key) EmptyCoroutineContext else this in get()
28 public object EmptyCoroutineContext : CoroutineContext { object
30 private fun readResolve(): Any = EmptyCoroutineContext
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectBuilderImplTest.kt17 override val context: CoroutineContext get() = EmptyCoroutineContext in testIdempotentSelectResumeInline()
42 override val context: CoroutineContext get() = EmptyCoroutineContext in testIdempotentSelectResumeSuspended()
67 override val context: CoroutineContext get() = EmptyCoroutineContext in testIdempotentSelectResumeWithExceptionInline()
97 override val context: CoroutineContext get() = EmptyCoroutineContext in testIdempotentSelectResumeWithExceptionSuspended()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactor/src/
DFlux.kt43 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
58 context: CoroutineContext = EmptyCoroutineContext, in flux()
65 context: CoroutineContext = EmptyCoroutineContext, in flux()
DMono.kt32 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
47 context: CoroutineContext = EmptyCoroutineContext, in mono()
DConvert.kt53 public fun <T> ReceiveChannel<T>.asFlux(context: CoroutineContext = EmptyCoroutineContext): Flux<T>… in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/src/
DRxFlowable.kt38 context: CoroutineContext = EmptyCoroutineContext, in rxFlowable()
53 context: CoroutineContext = EmptyCoroutineContext,
DRxCompletable.kt29 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
44 context: CoroutineContext = EmptyCoroutineContext, in rxCompletable()
DRxSingle.kt29 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
44 context: CoroutineContext = EmptyCoroutineContext, in rxSingle()
DRxMaybe.kt30 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
45 context: CoroutineContext = EmptyCoroutineContext, in rxMaybe()
DRxObservable.kt39 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
54 context: CoroutineContext = EmptyCoroutineContext, in rxObservable()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DExceptions.kt58 context: CoroutineContext = EmptyCoroutineContext, in captureExceptionsRun()
67 context: CoroutineContext = EmptyCoroutineContext, in captureMultipleExceptionsRun()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DProduce.kt91 context: CoroutineContext = EmptyCoroutineContext, in produce()
116 context: CoroutineContext = EmptyCoroutineContext, in produce()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/internal/
DMerge.kt16 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
43 context: CoroutineContext = EmptyCoroutineContext,
DChannelFlow.kt31 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
128 context: CoroutineContext = EmptyCoroutineContext, in toString()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/
DConvert.kt24 public fun <T> ReceiveChannel<T>.asPublisher(context: CoroutineContext = EmptyCoroutineContext): Pu… in <lambda>()
DPublish.kt41 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
56 context: CoroutineContext = EmptyCoroutineContext, in publish()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/test/
DWorkerTest.kt29 CoroutineScope(EmptyCoroutineContext).launch { in testLaunchInWorkerTroughGlobalScope()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/linearizability/
DLinTesting.kt16 import kotlin.coroutines.EmptyCoroutineContext in <lambda>()
48 get() = EmptyCoroutineContext in run()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DBuilders.common.kt46 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()
81 context: CoroutineContext = EmptyCoroutineContext, in async()
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/
DTestCoroutineScope.kt49 public fun TestCoroutineScope(context: CoroutineContext = EmptyCoroutineContext): TestCoroutineScop… in TestCoroutineScope()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/
DCancellableContinuationBenchmark.kt48 get() = EmptyCoroutineContext
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DPromise.kt26 context: CoroutineContext = EmptyCoroutineContext, in <lambda>()

12