Home
last modified time | relevance | path

Searched refs:CompletedExceptionally (Results 1 – 11 of 11) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCompletionState.kt16 onFailure = { CompletedExceptionally(it) } in <lambda>()
21 onFailure = { CompletedExceptionally(recoverStackTrace(it, caller)) } in <lambda>()
26 if (state is CompletedExceptionally) in recoverResult()
42 internal open class CompletedExceptionally( in recoverResult() class
63 ) : CompletedExceptionally(cause ?: CancellationException("Continuation $continuation was cancelled…
DJobSupport.kt190 return state is CompletedExceptionally || (state is Finishing && state.isCancelling) in <lambda>()
208 val proposedException = (proposedUpdate as? CompletedExceptionally)?.cause in <lambda>()
225 else -> CompletedExceptionally(finalException) in <lambda>()
230 if (handled) (finalState as CompletedExceptionally).makeHandled() in <lambda>()
291 assert { update !is CompletedExceptionally } // only for normal completion in <lambda>()
311 val cause = (update as? CompletedExceptionally)?.cause in <lambda>()
419 is CompletedExceptionally -> state.cause.toCancellationException() in <lambda>()
437 is CompletedExceptionally -> state.cause in <lambda>()
445 get() = state.let { it is CompletedExceptionally && it.handled } in <lambda>()
504 … if (invokeImmediately) handler.invokeIt((state as? CompletedExceptionally)?.cause) in <lambda>()
[all …]
DCancellableContinuationImpl.kt160 … is CompletedExceptionally -> return // already completed exception or cancelled, nothing to do in <lambda>()
276 if (state is CompletedExceptionally) throw recoverStackTrace(state.cause, this) in <lambda>()
306 is CompletedExceptionally -> { in <lambda>()
319 callCancelHandler(handler, (state as? CompletedExceptionally)?.cause) in <lambda>()
372 proposedUpdate is CompletedExceptionally -> { in <lambda>()
474 tryResumeImpl(CompletedExceptionally(exception), idempotent = null, onCancellation = null) in <lambda>()
489 …resumeImpl(CompletedExceptionally(exception), if (dc?.dispatcher === this) MODE_UNDISPATCHED else … in <lambda>()
DCompletableDeferred.kt94 makeCompleting(CompletedExceptionally(exception))
DAbstractCoroutine.kt101 if (state is CompletedExceptionally) in cancellationExceptionMessage()
DBuilders.common.kt268 if (state is CompletedExceptionally) throw state.cause in getResult()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/intrinsics/
DUndispatched.kt113 CompletedExceptionally(e) in undispatchedResult()
130 return if (state is CompletedExceptionally) { // (3) in undispatchedResult()
133 result is CompletedExceptionally -> throw recoverStackTrace(result.cause, uCont) in undispatchedResult()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/selects/
DSelect.kt307 doResume({ CompletedExceptionally(recoverStackTrace(exception, uCont)) }) { in next()
322 result is CompletedExceptionally -> throw result.cause in next()
357 if (result !is CompletedExceptionally || unwrap(result.cause) !== unwrap(e)) { in next()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DBuilders.kt77 (state as? CompletedExceptionally)?.let { throw it.cause } in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DBuilders.kt97 (state as? CompletedExceptionally)?.let { throw it.cause } in joinBlocking()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DDispatchedTask.kt79 (state as? CompletedExceptionally)?.cause in getSuccessfulResult()