Home
last modified time | relevance | path

Searched refs:CompletionHandler (Results 1 – 24 of 24) sorted by relevance

/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dio_service.hpp69 template <typename CompletionHandler>
70 inline ASIO_INITFN_RESULT_TYPE(CompletionHandler, void ()) in ASIO_INITFN_RESULT_TYPE() argument
71 io_service::dispatch(ASIO_MOVE_ARG(CompletionHandler) handler) in ASIO_INITFN_RESULT_TYPE()
75 ASIO_COMPLETION_HANDLER_CHECK(CompletionHandler, handler) type_check; in ASIO_INITFN_RESULT_TYPE()
78 CompletionHandler, void ()> init( in ASIO_INITFN_RESULT_TYPE()
79 ASIO_MOVE_CAST(CompletionHandler)(handler)); in ASIO_INITFN_RESULT_TYPE()
86 template <typename CompletionHandler>
87 inline ASIO_INITFN_RESULT_TYPE(CompletionHandler, void ()) in ASIO_INITFN_RESULT_TYPE() argument
88 io_service::post(ASIO_MOVE_ARG(CompletionHandler) handler) in ASIO_INITFN_RESULT_TYPE()
92 ASIO_COMPLETION_HANDLER_CHECK(CompletionHandler, handler) type_check; in ASIO_INITFN_RESULT_TYPE()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DCompletionHandler.kt9 …ct class CompletionHandlerBase actual constructor() : LockFreeLinkedListNode(), CompletionHandler {
13 internal actual inline val CompletionHandlerBase.asHandler: CompletionHandler get() = this in invoke()
15 internal actual abstract class CancelHandlerBase actual constructor() : CompletionHandler { in invoke()
19 internal actual inline val CancelHandlerBase.asHandler: CompletionHandler get() = this
22 internal actual inline fun CompletionHandler.invokeIt(cause: Throwable?) = invoke(cause)
DInterruptible.kt60 private class ThreadState(private val job: Job) : CompletionHandler {
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DCompletionHandler.kt9 …ct class CompletionHandlerBase actual constructor() : LockFreeLinkedListNode(), CompletionHandler {
13 internal actual inline val CompletionHandlerBase.asHandler: CompletionHandler get() = this in invoke()
15 internal actual abstract class CancelHandlerBase actual constructor() : CompletionHandler { in invoke()
19 internal actual inline val CancelHandlerBase.asHandler: CompletionHandler get() = this
22 internal actual inline fun CompletionHandler.invokeIt(cause: Throwable?) = invoke(cause)
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCompletionHandler.common.kt26 public typealias CompletionHandler = (cause: Throwable?) -> Unit typealias
34 internal expect val CompletionHandlerBase.asHandler: CompletionHandler in invoke()
41 internal expect val CancelHandlerBase.asHandler: CompletionHandler
45 internal expect fun CompletionHandler.invokeIt(cause: Throwable?)
47 internal inline fun <reified T> CompletionHandler.isHandlerOf(): Boolean = this is T
DNonCancellable.kt79 override fun invokeOnCompletion(handler: CompletionHandler): DisposableHandle = in getCancellationException()
87 …pletion(onCancelling: Boolean, invokeImmediately: Boolean, handler: CompletionHandler): Disposable… in getCancellationException()
DCancellableContinuationImpl.kt222 private fun callCancelHandler(handler: CompletionHandler, cause: Throwable?) = in <lambda>()
298 public override fun invokeOnCancellation(handler: CompletionHandler) { in <lambda>()
352 private fun multipleHandlersError(handler: CompletionHandler, state: Any?) { in <lambda>()
356 private fun makeCancelHandler(handler: CompletionHandler): CancelHandler = in <lambda>()
536 private val handler: CompletionHandler in toString()
DJob.kt308 public fun invokeOnCompletion(handler: CompletionHandler): DisposableHandle in getCancellationException()
354 handler: CompletionHandler): DisposableHandle in getCancellationException()
DCancellableContinuation.kt146 public fun invokeOnCancellation(handler: CompletionHandler) in <lambda>()
DJobSupport.kt448 public final override fun invokeOnCompletion(handler: CompletionHandler): DisposableHandle = in <lambda>()
454 handler: CompletionHandler in <lambda>()
511 private fun makeNode(handler: CompletionHandler, onCancelling: Boolean): JobNode<*> { in <lambda>()
1384 private val handler: CompletionHandler in toString()
1459 private val handler: CompletionHandler in toString()
/external/parameter-framework/asio-1.10.6/include/asio/
Dio_service.hpp426 template <typename CompletionHandler>
427 ASIO_INITFN_RESULT_TYPE(CompletionHandler, void ())
428 dispatch(ASIO_MOVE_ARG(CompletionHandler) handler);
452 template <typename CompletionHandler>
453 ASIO_INITFN_RESULT_TYPE(CompletionHandler, void ())
454 post(ASIO_MOVE_ARG(CompletionHandler) handler);
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsAsynchronousFileChannel.java30 import java.nio.channels.CompletionHandler;
59 CompletionHandler<R, ? super A> handler, in addCallback()
81 CompletionHandler<FileLock, ? super A> handler) { in lock()
126 CompletionHandler<Integer, ? super A> handler) {
152 CompletionHandler<Integer, ? super A> handler) {
193 private final CompletionHandler<R, ? super A> completionHandler;
198 CompletionHandler<R, ? super A> completionHandler,
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DCompletionHandler.kt15 internal actual inline val CompletionHandlerBase.asHandler: CompletionHandler get() = asDynamic() in invoke()
23 internal actual inline val CancelHandlerBase.asHandler: CompletionHandler get() = asDynamic()
25 internal actual fun CompletionHandler.invokeIt(cause: Throwable?) { in invokeIt()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DProduce.kt118 onCompletion: CompletionHandler? = null, in produce()
129 onCompletion: CompletionHandler? = null, in produce()
DBroadcast.kt113 onCompletion: CompletionHandler? = null, in broadcast()
DChannels.common.kt108 public fun ReceiveChannel<*>.consumes(): CompletionHandler = { cause: Throwable? -> in cause()
131 public fun consumesAll(vararg channels: ReceiveChannel<*>): CompletionHandler = in consumesAll()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsAsynchronousFileChannelTest.java41 import java.nio.channels.CompletionHandler;
221 private static <T> CompletionHandler<T, Object> setFuture(final SettableFuture<T> future) { in setFuture()
222 return new CompletionHandler<T, Object>() { in setFuture()
/external/jline/src/src/main/java/jline/
DCompletionHandler.java17 public interface CompletionHandler { interface
DCandidateCycleCompletionHandler.java23 public class CandidateCycleCompletionHandler implements CompletionHandler {
DCandidateListCompletionHandler.java30 public class CandidateListCompletionHandler implements CompletionHandler {
DConsoleReader.java122 private CompletionHandler completionHandler = new CandidateListCompletionHandler();
1678 public void setCompletionHandler(final CompletionHandler completionHandler) { in setCompletionHandler()
1682 public CompletionHandler getCompletionHandler() { in getCompletionHandler()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/channels/
DActor.kt113 onCompletion: CompletionHandler? = null, in actor()
/external/google-styleguide/
Dobjcguide.md719 CompletionHandler handler = self.completionHandler;
/external/kotlinx.coroutines/
DCHANGES.md683 * Introduce `ReceiveChannel.consumes(): CompletionHandler` extension function.