/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/src/future/ |
D | Future.kt | 61 if (!future.completeExceptionally(cause) && !handled) { in onCancelled() 79 future.completeExceptionally(t) in asCompletableFuture() 94 else future.completeExceptionally(cause) in asCompletableFuture() 121 CompletableDeferred<T>().also { it.completeExceptionally(original) } in asDeferred() 132 result.completeExceptionally((exception as? CompletionException)?.cause ?: exception) in asDeferred()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | CompletableJobTest.kt | 27 assertTrue(job.completeExceptionally(TestException())) in <lambda>() 31 assertFalse(job.completeExceptionally(TestException())) in <lambda>() 67 job.completeExceptionally(TestException()) in <lambda>() 89 job.completeExceptionally(TestException()) in <lambda>()
|
D | CompletableDeferredTest.kt | 67 assertEquals(true, c.completeExceptionally(TestException())) in testCancelWithException() 69 assertEquals(false, c.completeExceptionally(TestException())) in testCancelWithException() 134 assertEquals(true, c.completeExceptionally(TestException())) in testParentCancelledOnChildException()
|
D | SupervisorTest.kt | 170 parent.completeExceptionally(TestException1()) in <lambda>() 194 supervisor.completeExceptionally(TestException1()) in <lambda>()
|
D | AwaitTest.kt | 206 .apply { completeExceptionally(TestException()) } in <lambda>() 208 .apply { completeExceptionally(TestException()) } in <lambda>()
|
D | JobTest.kt | 206 job.completeExceptionally(TestException()) in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | CompletableDeferred.kt | 48 public fun completeExceptionally(exception: Throwable): Boolean in complete() method 61 result.fold({ complete(it) }, { completeExceptionally(it) }) in complete() 93 override fun completeExceptionally(exception: Throwable): Boolean = method
|
D | CompletableJob.kt | 44 public fun completeExceptionally(exception: Throwable): Boolean method
|
D | JobSupport.kt | 1327 override fun completeExceptionally(exception: Throwable): Boolean = in complete() method
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/ |
D | JobExceptionHandlingTest.kt | 48 parent.completeExceptionally(IOException()) in <lambda>() 69 parent.completeExceptionally(IOException()) in <lambda>() 187 job.completeExceptionally(IOException()) in <lambda>() 300 parent.completeExceptionally(TestException()) in <lambda>()
|
D | JobBasicCancellationTest.kt | 152 assertTrue(deferred.completeExceptionally(IndexOutOfBoundsException())) in testConsecutiveCancellation() 153 assertFalse(deferred.completeExceptionally(AssertionError())) // second is too late in testConsecutiveCancellation()
|
D | StackTraceRecoverySelectTest.kt | 40 deferred.completeExceptionally(RecoverableTestException()) in <lambda>()
|
D | ProduceExceptionsTest.kt | 150 job.completeExceptionally(TestException2()) in <lambda>()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/future/ |
D | FutureExceptionsTest.kt | 63 future.completeExceptionally(exception) in <lambda>() 77 future.completeExceptionally(exception) in <lambda>()
|
D | FutureTest.kt | 83 toAwait.completeExceptionally(TestException("O")) in <lambda>() 99 completable.completeExceptionally(TestException("O")) in <lambda>() 126 toAwait.completeExceptionally(TestException("O")) in <lambda>() 144 completable.completeExceptionally(TestException("O")) in <lambda>() 236 completeExceptionally(TestException("something went wrong")) in <lambda>()
|
D | AsFutureTest.kt | 76 CompletableDeferred<Unit>(parent = job).apply { completeExceptionally(OutOfMemoryError()) } in testJobAsCompletableFutureThrowable()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/src/ |
D | ListenableFuture.kt | 111 it.completeExceptionally(t) in asDeferred() 129 CompletableDeferred<T>().also { it.completeExceptionally(e.nonNullCause()) } in asDeferred() 143 deferred.completeExceptionally(t) in asDeferred()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/src/ |
D | Tasks.kt | 56 CompletableDeferred<T>().apply { completeExceptionally(e) } in asDeferred() 67 result.completeExceptionally(e) in asDeferred()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | AwaitJvmTest.kt | 15 d1.completeExceptionally(TestException()) // first is crashed in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/ |
D | Share.kt | 341 result.completeExceptionally(e) in launchSharingDeferred()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/ |
D | ListenableFutureTest.kt | 364 deferred.completeExceptionally(CancellationException()) in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/ |
D | kotlinx-coroutines-core.api | 109 public abstract fun completeExceptionally (Ljava/lang/Throwable;)Z 130 public abstract fun completeExceptionally (Ljava/lang/Throwable;)Z
|
/external/kotlinx.coroutines/ |
D | CHANGES.md | 935 * It extends `Deferred` interface with `complete` and `completeExceptionally` functions.
|