Home
last modified time | relevance | path

Searched refs:ContextScope (Results 1 – 7 of 7) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DSharingReferenceTest.kt39 val flow = weakEmitter.shareIn(ContextScope(executor), SharingStarted.Eagerly, 0) in testShareInReference()
46 val flow = weakEmitter.stateIn(ContextScope(executor), SharingStarted.Eagerly, null) in testStateInReference()
53 val flow = weakEmitter.stateIn(ContextScope(executor)) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCoroutineScope.kt96 ContextScope(coroutineContext + context) in plus()
118 public fun MainScope(): CoroutineScope = ContextScope(SupervisorJob() + Dispatchers.Main) in plus()
277 ContextScope(if (context[Job] != null) context else context + Job()) in CoroutineScope()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DScopes.kt36 internal class ContextScope(context: CoroutineContext) : CoroutineScope { class
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DCoroutineScopeTest.kt279 (ContextScope(c1) + c2).coroutineContext in scopePlusContext()
/external/armnn/third-party/doctest/
Ddoctest.h1582 template <typename L> class ContextScope : public ContextScopeBase
1587 explicit ContextScope(const L &lambda) : lambda_(lambda) {}
1589 ContextScope(ContextScope &&other) : lambda_(other.lambda_) {}
1593 ~ContextScope() override { destroy(); }
1627 ContextScope<L> MakeContextScope(const L &lambda) {
1628 return ContextScope<L>(lambda);
/external/vixl/src/aarch32/
Dmacro-assembler-aarch32.cc34 ContextScope context(this, __FILE__ ":" TOSTRING(__LINE__))
Dmacro-assembler-aarch32.h166 class ContextScope {
168 explicit ContextScope(MacroAssembler* const masm, const char* loc) in ContextScope() function
173 ~ContextScope() { masm_->GetContext()->Down(); } in ~ContextScope()