Home
last modified time | relevance | path

Searched refs:EcmaContext (Results 1 - 25 of 41) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/tests/
H A Decma_context_test.cpp30 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0()
32 CVector<EcmaContext *> Cv1 = thread->GetEcmaContexts(); in HWTEST_F_L0()
34 auto context2 = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0()
38 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()
41 EcmaContext::CheckAndDestroy(thread, context2); in HWTEST_F_L0()
48 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0()
55 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()
60 auto context = EcmaContext::CreateAndInitialize(thread); in HWTEST_F_L0()
67 EcmaContext::CheckAndDestroy(thread, context); in HWTEST_F_L0()
72 auto context = EcmaContext in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Decma_context.cpp39 EcmaContext::EcmaContext(JSThread *thread) in EcmaContext() function in panda::ecmascript::EcmaContext
48 EcmaContext *EcmaContext::Create(JSThread *thread) in Create()
50 LOG_ECMA(INFO) << "EcmaContext::Create"; in Create()
51 auto context = new EcmaContext(thread); in Create()
56 bool EcmaContext::Destroy(EcmaContext *context) in Destroy()
66 bool EcmaContext::Initialize() in Initialize()
68 LOG_ECMA(DEBUG) << "EcmaContext in Initialize()
[all...]
H A Decma_handle_scope.h40 void OpenHandleScope(EcmaContext *context);
41 void OpenPrimitiveScope(EcmaContext *context);
42 void CloseHandleScope(EcmaContext *context);
43 void ClosePrimitiveScope(EcmaContext *context);
H A Decma_context.h100 class EcmaContext { class
102 static EcmaContext *CreateAndInitialize(JSThread *thread);
103 static void CheckAndDestroy(JSThread *thread, EcmaContext *context);
105 static EcmaContext *Create(JSThread *thread);
106 static bool Destroy(EcmaContext *context);
108 EcmaContext(JSThread *thread);
109 ~EcmaContext();
127 static EcmaContext *ConstCast(const EcmaContext *context) in ConstCast()
129 return const_cast<EcmaContext *>(contex in ConstCast()
[all...]
H A Decma_handle_scope.cpp28 void EcmaHandleScope::OpenHandleScope(EcmaContext *context) in OpenHandleScope()
40 void EcmaHandleScope::OpenPrimitiveScope(EcmaContext *context) in OpenPrimitiveScope()
59 void EcmaHandleScope::CloseHandleScope(EcmaContext *context) in CloseHandleScope()
73 void EcmaHandleScope::ClosePrimitiveScope(EcmaContext *context) in ClosePrimitiveScope()
H A Dglobal_index_map.h39 static inline JSHandle<PointerToIndexDictionary> GetGlobalIndexMap(EcmaContext *context) in GetGlobalIndexMap()
H A Djs_thread.h43 class EcmaContext;
1275 alignas(EAS) EcmaContext *currentContext_ {nullptr};
1287 void PushContext(EcmaContext *context);
1290 EcmaContext *GetCurrentEcmaContext() const
1301 void SwitchCurrentContext(EcmaContext *currentContext, bool isInIterate = false);
1303 CVector<EcmaContext *> GetEcmaContexts()
1310 bool EraseContext(EcmaContext *context);
1515 void SetCurrentEcmaContext(EcmaContext *context) in SetCurrentEcmaContext()
1609 CVector<EcmaContext *> contexts_;
1610 EcmaContext *currentContext
[all...]
H A Dsustaining_js_handle.h53 EcmaContext *context_ { nullptr };
H A Djs_thread.cpp361 EcmaContext *tempContext = glueData_.currentContext_; in Iterate()
362 for (EcmaContext *context : contexts_) { in Iterate()
398 for (EcmaContext *context : contexts_) { in IterateHandleWithCheck()
947 void JSThread::PushContext(EcmaContext *context) in PushContext()
979 void JSThread::SwitchCurrentContext(EcmaContext *currentContext, bool isInIterate) in SwitchCurrentContext()
1042 bool JSThread::EraseContext(EcmaContext *context) in EraseContext()
1062 for (EcmaContext *context : contexts_) { in ClearContextCachedConstantPool()
1132 for (EcmaContext *context : contexts_) { in IsPropertyCacheCleared()
H A Decma_vm.cpp280 auto context = new EcmaContext(thread_); in Initialize()
581 EcmaContext::PrintJSErrorInfo(thread_, exceptionInfo); in PrintJSErrorInfo()
/arkcompiler/ets_runtime/test/executiontest/
H A Dthread_termination_test.cpp128 EcmaContext::MountContext(thread); in HWTEST_F_L0()
135 EcmaContext::UnmountContext(thread); in HWTEST_F_L0()
141 EcmaContext::MountContext(thread); in HWTEST_F_L0()
151 EcmaContext::UnmountContext(thread); in HWTEST_F_L0()
157 EcmaContext::MountContext(thread); in HWTEST_F_L0()
167 EcmaContext::UnmountContext(thread); in HWTEST_F_L0()
173 EcmaContext::MountContext(thread); in HWTEST_F_L0()
180 EcmaContext::UnmountContext(thread); in HWTEST_F_L0()
186 EcmaContext::MountContext(thread); in HWTEST_F_L0()
192 EcmaContext in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit_task.h194 EcmaContext *GetEcmaContext() const in GetEcmaContext()
242 EcmaContext *GetEcmaContext() const in GetEcmaContext()
307 EcmaContext *ecmaContext_;
H A Djit.h85 void ClearTask(EcmaContext *ecmaContext);
/arkcompiler/ets_runtime/test/fuzztest/jsnapicontext_fuzzer/
H A Djsnapicontext_fuzzer.cpp33 EcmaContext *context = JSNApi::CreateJSContext(vm); in JSNApiSwitchCurrentContextFuzztest()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
H A Dquick_fix_test.cpp33 using EcmaContext = panda::ecmascript::EcmaContext;
248 EcmaContext *context = thread->GetCurrentEcmaContext(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/include/
H A Djsnapi.h70 class EcmaContext;
84 using EcmaContext = ecmascript::EcmaContext;
H A Djsnapi_expo.h76 class EcmaContext;
108 using EcmaContext = ecmascript::EcmaContext;
1560 static EcmaContext *CreateJSContext(EcmaVM *vm);
1561 static void SwitchCurrentContext(EcmaVM *vm, EcmaContext *context);
1562 static void DestroyJSContext(EcmaVM *vm, EcmaContext *context);
/arkcompiler/ets_runtime/ecmascript/module/
H A Djs_shared_module_manager.h111 friend class EcmaContext;
H A Dmodule_tools.cpp67 EcmaContext *context = thread->GetCurrentEcmaContext(); in ProcessModuleLoadInfo()
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dproperties_cache.h126 friend class EcmaContext;
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dinterpreter.h60 static void InitStackFrame(EcmaContext *context);
H A Dinterpreter_assembly.h40 static void InitStackFrame(EcmaContext *context);
/arkcompiler/ets_runtime/ecmascript/js_vm/
H A Dmain.cpp142 EcmaContext *context1 = nullptr; in ExecutePandaFile()
/arkcompiler/toolchain/tooling/client/ark_multi/
H A Dmain.cpp51 panda::ecmascript::EcmaContext *context1 = nullptr; in ExecutePandaFile()
/arkcompiler/ets_runtime/ecmascript/patch/
H A Dpatch_loader.cpp74 EcmaContext *context = thread->GetCurrentEcmaContext(); in ExecuteFuncOrPatchMain()
136 EcmaContext *context = thread->GetCurrentEcmaContext(); in UnloadPatchInternal()

Completed in 19 milliseconds

12