Home
last modified time | relevance | path

Searched refs:DispatchedContinuation (Results 1 – 7 of 7) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DDispatchedContinuation.kt19 internal class DispatchedContinuation<in T>( in <lambda>() class
265 is DispatchedContinuation -> resumeCancellableWith(result, onCancellation) in resumeCancellableWith()
269 internal fun DispatchedContinuation<Unit>.yieldUndispatched(): Boolean = in yieldUndispatched()
280 private inline fun DispatchedContinuation<*>.executeUnconfined( in executeUnconfined()
DDispatchedTask.kt86 val delegate = delegate as DispatchedContinuation<T> in getSuccessfulResult()
154 …if (!undispatched && delegate is DispatchedContinuation<*> && mode.isCancellableMode == resumeMode… in dispatch()
177 undispatched -> (delegate as DispatchedContinuation).resumeUndispatchedWith(result) in resume()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCoroutineDispatcher.kt100 DispatchedContinuation(this, continuation) in isDispatchNeeded()
104 (continuation as DispatchedContinuation<*>).reusableCancellableContinuation?.detachChild() in isDispatchNeeded()
DCancellableContinuationImpl.kt92 …private fun isReusable(): Boolean = delegate is DispatchedContinuation<*> && delegate.isReusable(t… in <lambda>()
139 val dispatched = delegate as? DispatchedContinuation<*> ?: return completed in <lambda>()
184 val dispatched = (delegate as? DispatchedContinuation<*>) ?: return false in <lambda>()
483 val dc = delegate as? DispatchedContinuation in <lambda>()
488 val dc = delegate as? DispatchedContinuation in <lambda>()
DYield.kt33 val cont = uCont.intercepted() as? DispatchedContinuation<Unit> ?: return@sc Unit in <lambda>()
DCancellableContinuation.kt334 if (delegate !is DispatchedContinuation<T>) { in getOrCreateCancellableContinuation()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DDebugStrings.kt16 is DispatchedContinuation -> toString() in toDebugString()