Lines Matching refs:context
30 auto context = EcmaContext::CreateAndInitialize(thread);
31 thread->SwitchCurrentContext(context);
38 EcmaContext::CheckAndDestroy(thread, context);
48 auto context = EcmaContext::CreateAndInitialize(thread);
49 thread->SwitchCurrentContext(context);
52 context->SetRegExpCache(value2.GetTaggedValue());
53 JSHandle<JSTaggedValue> res2 = context->GetRegExpCache();
55 EcmaContext::CheckAndDestroy(thread, context);
60 auto context = EcmaContext::CreateAndInitialize(thread);
61 thread->SwitchCurrentContext(context);
62 bool value = context->GetAllowAtomicWait();
64 context->SetAllowAtomicWait(false);
65 bool value2 = context->GetAllowAtomicWait();
67 EcmaContext::CheckAndDestroy(thread, context);
72 auto context = EcmaContext::CreateAndInitialize(thread);
78 thread->SwitchCurrentContext(context);
80 EcmaContext::CheckAndDestroy(thread, context);