Lines Matching refs:context
54 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0() local
60 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()
70 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0() local
73 context->SetRegExpCache(value2.GetTaggedValue()); in HWTEST_F_L0()
74 JSHandle<JSTaggedValue> res2 = context->GetRegExpCache(); in HWTEST_F_L0()
76 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()
81 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0() local
82 bool value = context->GetAllowAtomicWait(); in HWTEST_F_L0()
84 context->SetAllowAtomicWait(false); in HWTEST_F_L0()
85 bool value2 = context->GetAllowAtomicWait(); in HWTEST_F_L0()
87 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()
92 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0() local
98 thread->SwitchCurrentContext(context); in HWTEST_F_L0()
100 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()