Home
last modified time | relevance | path

Searched refs:toState (Results 1 – 6 of 6) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCompletionState.kt12 internal fun <T> Result<T>.toState( in toState() method
19 internal fun <T> Result<T>.toState(caller: CancellableContinuation<*>): Any? = fold( in toState() method
DAbstractCoroutine.kt100 val state = makeCompletingOnce(result.toState()) in resumeWith()
DCancellableContinuationImpl.kt368 resumeImpl(result.toState(this), resumeMode) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DDispatchedContinuation.kt196 val state = result.toState() in <lambda>()
217 val state = result.toState(onCancellation) in <lambda>()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java345 public void toState() { in toState() method in ChannelzProtoUtilTest
349 ChannelzProtoUtil.toState(connectivityState).getValueDescriptor().getName()); in toState()
351 assertEquals(State.UNKNOWN, ChannelzProtoUtil.toState(null)); in toState()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java370 return ChannelConnectivityState.newBuilder().setState(toState(s)).build(); in toChannelConnectivityState()
399 static State toState(ConnectivityState state) { in toState() method in ChannelzProtoUtil