Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DThreadContext.kt27 if (element is ThreadContextElement<*>) { in <anonymous>()
36 …fun (found: ThreadContextElement<*>?, element: CoroutineContext.Element): ThreadContextElement<*>?… in <anonymous>()
38 return element as? ThreadContextElement<*> in <anonymous>()
44 if (element is ThreadContextElement<*>) { in <anonymous>()
54 if (element is ThreadContextElement<*>) { in <anonymous>()
55 … (element as ThreadContextElement<Any?>).restoreThreadContext(state.context, state.take()) in <anonymous>()
77 val element = countOrElement as ThreadContextElement<Any?> in threadContextElements()
94 val element = context.fold(null, findOne) as ThreadContextElement<Any?> in restoreThreadContext()
107 ) : ThreadContextElement<T> {
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DThreadContextElement.kt52 public interface ThreadContextElement<S> : CoroutineContext.Element { interface
136 public fun <T> ThreadLocal<T>.asContextElement(value: T = get()): ThreadContextElement<T> = in updateThreadContext()
DCoroutineContext.kt62 ) : ThreadContextElement<String>, AbstractCoroutineContextElement(CoroutineId) {
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFailingCoroutinesMachineryTest.kt39 private object FailingUpdate : ThreadContextElement<Unit> { in <lambda>()
54 private object FailingRestore : ThreadContextElement<Unit> { in <lambda>()
DThreadContextElementTest.kt97 class MyElement(val data: MyData) : ThreadContextElement<MyData?> {
/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/src/
DMDCContext.kt47 ) : ThreadContextElement<MDCContextMap>, AbstractCoroutineContextElement(Key) {
/external/kotlinx.coroutines/integration/kotlinx-coroutines-slf4j/api/
Dkotlinx-coroutines-slf4j.api1 …text : kotlin/coroutines/AbstractCoroutineContextElement, kotlinx/coroutines/ThreadContextElement {
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api507 public abstract interface class kotlinx/coroutines/ThreadContextElement : kotlin/coroutines/Corouti…
512 public final class kotlinx/coroutines/ThreadContextElement$DefaultImpls {
513 …public static fun fold (Lkotlinx/coroutines/ThreadContextElement;Ljava/lang/Object;Lkotlin/jvm/fun…
514 …public static fun get (Lkotlinx/coroutines/ThreadContextElement;Lkotlin/coroutines/CoroutineContex…
515 …public static fun minusKey (Lkotlinx/coroutines/ThreadContextElement;Lkotlin/coroutines/CoroutineC…
516 …public static fun plus (Lkotlinx/coroutines/ThreadContextElement;Lkotlin/coroutines/CoroutineConte…
520 …ContextElement (Ljava/lang/ThreadLocal;Ljava/lang/Object;)Lkotlinx/coroutines/ThreadContextElement;
521 …va/lang/ThreadLocal;Ljava/lang/Object;ILjava/lang/Object;)Lkotlinx/coroutines/ThreadContextElement;
/external/kotlinc/lib/
Dkotlinx-coroutines-core.jarMETA-INF/ META-INF/MANIFEST.MF kotlinx/ kotlinx/coroutines/ kotlinx/ ...
Dkotlin-main-kts.jarMETA-INF/ META-INF/MANIFEST.MF DebugProbesKt.bin META-INF/LICENSE ...
/external/kotlinx.coroutines/
DCHANGES.md587 * `ThreadContextElement` API for custom thread-context sensitive context elements.