/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | ecma_context_test.cpp | 30 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 D | ecma_context.cpp | 39 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 D | ecma_handle_scope.h | 40 void OpenHandleScope(EcmaContext *context); 41 void OpenPrimitiveScope(EcmaContext *context); 42 void CloseHandleScope(EcmaContext *context); 43 void ClosePrimitiveScope(EcmaContext *context);
|
H A D | ecma_context.h | 100 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 D | ecma_handle_scope.cpp | 28 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 D | global_index_map.h | 39 static inline JSHandle<PointerToIndexDictionary> GetGlobalIndexMap(EcmaContext *context) in GetGlobalIndexMap()
|
H A D | js_thread.h | 43 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 D | sustaining_js_handle.h | 53 EcmaContext *context_ { nullptr };
|
H A D | js_thread.cpp | 361 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 D | ecma_vm.cpp | 280 auto context = new EcmaContext(thread_); in Initialize() 581 EcmaContext::PrintJSErrorInfo(thread_, exceptionInfo); in PrintJSErrorInfo()
|
/arkcompiler/ets_runtime/test/executiontest/ |
H A D | thread_termination_test.cpp | 128 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 D | jit_task.h | 194 EcmaContext *GetEcmaContext() const in GetEcmaContext() 242 EcmaContext *GetEcmaContext() const in GetEcmaContext() 307 EcmaContext *ecmaContext_;
|
H A D | jit.h | 85 void ClearTask(EcmaContext *ecmaContext);
|
/arkcompiler/ets_runtime/test/fuzztest/jsnapicontext_fuzzer/ |
H A D | jsnapicontext_fuzzer.cpp | 33 EcmaContext *context = JSNApi::CreateJSContext(vm); in JSNApiSwitchCurrentContextFuzztest()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
H A D | quick_fix_test.cpp | 33 using EcmaContext = panda::ecmascript::EcmaContext; 248 EcmaContext *context = thread->GetCurrentEcmaContext(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi.h | 70 class EcmaContext; 84 using EcmaContext = ecmascript::EcmaContext;
|
H A D | jsnapi_expo.h | 76 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 D | js_shared_module_manager.h | 111 friend class EcmaContext;
|
H A D | module_tools.cpp | 67 EcmaContext *context = thread->GetCurrentEcmaContext(); in ProcessModuleLoadInfo()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | properties_cache.h | 126 friend class EcmaContext;
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | interpreter.h | 60 static void InitStackFrame(EcmaContext *context);
|
H A D | interpreter_assembly.h | 40 static void InitStackFrame(EcmaContext *context);
|
/arkcompiler/ets_runtime/ecmascript/js_vm/ |
H A D | main.cpp | 142 EcmaContext *context1 = nullptr; in ExecutePandaFile()
|
/arkcompiler/toolchain/tooling/client/ark_multi/ |
H A D | main.cpp | 51 panda::ecmascript::EcmaContext *context1 = nullptr; in ExecutePandaFile()
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
H A D | patch_loader.cpp | 74 EcmaContext *context = thread->GetCurrentEcmaContext(); in ExecuteFuncOrPatchMain() 136 EcmaContext *context = thread->GetCurrentEcmaContext(); in UnloadPatchInternal()
|