Searched refs:JSNApi (Results 1 – 12 of 12) sorted by relevance
/ark/js_runtime/ecmascript/tooling/test/ |
D | debugger_entry_test.cpp | 41 JSNApi::StartDebugger(DEBUGGER_TEST_LIBRARY, ecmaVm, true); in SetUp() 46 JSNApi::StopDebugger(ecmaVm); in TearDown() 62 auto res = JSNApi::Execute(ecmaVm, pandaFile.c_str(), entryPoint.c_str()); in HWTEST_P_L0()
|
/ark/js_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 114 int JSNApi::vmCount = 1; 118 bool JSNApi::CreateRuntime(const RuntimeOption &option) in CreateRuntime() 157 bool JSNApi::DestroyRuntime() in DestroyRuntime() 162 EcmaVM *JSNApi::CreateJSVM(const RuntimeOption &option) in CreateJSVM() 185 void JSNApi::DestroyJSVM(EcmaVM *ecmaVm) in DestroyJSVM() 203 void JSNApi::TriggerGC(const EcmaVM *vm, TRIGGER_GC_TYPE gcType) in TriggerGC() 222 void JSNApi::ThrowException(const EcmaVM *vm, Local<JSValueRef> error) in ThrowException() 228 bool JSNApi::StartDebugger(const char *libraryPath, EcmaVM *vm, bool isDebugMode, int32_t instanceI… in StartDebugger() 256 bool JSNApi::StopDebugger(EcmaVM *vm) in StopDebugger() 276 bool JSNApi::Execute(EcmaVM *vm, const std::string &fileName, const std::string &entry) in Execute() [all …]
|
/ark/js_runtime/ecmascript/napi/test/ |
D | jsnapi_tests.cpp | 48 vm_ = JSNApi::CreateJSVM(option); in SetUp() 57 JSNApi::DestroyJSVM(vm_); in TearDown() 79 Local<ObjectRef> globalObject = JSNApi::GetGlobalObject(vm_); in HWTEST_F_L0() 110 Local<ObjectRef> globalObject = JSNApi::GetGlobalObject(vm_); in HWTEST_F_L0() 122 Local<ObjectRef> globalObject = JSNApi::GetGlobalObject(vm_); in HWTEST_F_L0() 142 Local<ObjectRef> globalObject = JSNApi::GetGlobalObject(vm_); in HWTEST_F_L0() 368 Local<ObjectRef> object = JSNApi::GetGlobalObject(vm_); in HWTEST_F_L0() 386 JSNApi::TriggerGC(vm_); in HWTEST_F_L0() 413 JSNApi::TriggerGC(vm_, JSNApi::TRIGGER_GC_TYPE::FULL_GC); in HWTEST_F_L0() 422 JSNApi::TriggerGC(vm_); in HWTEST_F_L0() [all …]
|
/ark/js_runtime/ecmascript/napi/include/ |
D | jsnapi.h | 33 class JSNApi; variable 338 friend JSNApi; variable 857 friend JSNApi; variable 878 class PUBLIC_API JSNApi { 948 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current)); in Global() 957 address_ = JSNApi::GetGlobalHandleAddr(vm_, reinterpret_cast<uintptr_t>(*current)); in Global() 965 JSNApi::DisposeGlobalHandleAddr(vm_, address_); in Update() 977 JSNApi::DisposeGlobalHandleAddr(vm_, address_); in FreeGlobalHandleAddr() 984 address_ = JSNApi::SetWeak(vm_, address_); in SetWeak() 990 address_ = JSNApi::ClearWeak(vm_, address_); in ClearWeak() [all …]
|
/ark/js_runtime/ecmascript/js_vm/ |
D | main.cpp | 114 JSNApi::SetOptions(runtimeOptions); in Main() 135 auto res = JSNApi::Execute(vm, fileName, entry); in Main()
|
/ark/js_runtime/ecmascript/tooling/backend/ |
D | debugger_executor.cpp | 25 Local<ObjectRef> globalObj = JSNApi::GetGlobalObject(vm); in Initialize() 128 JSNApi::ThrowException(vm, exception); in ThrowException()
|
D | debugger_api.cpp | 327 JSNApi::EnableUserUncaughtErrorHandler(ecmaVm); in EvaluateViaFuncCall()
|
/ark/js_runtime/ecmascript/compiler/ |
D | aot_compiler.cpp | 110 JSNApi::SetOptions(runtimeOptions); in Main()
|
/ark/js_runtime/ecmascript/tests/ |
D | test_helper.h | 119 JSNApi::DestroyJSVM(EcmaVM::Cast(instance)); in DestroyEcmaVMWithScope()
|
/ark/runtime_core/runtime/include/ |
D | runtime_options.h | 23 class JSNApi; variable 273 friend class panda::JSNApi;
|
/ark/js_runtime/ecmascript/ |
D | ecma_vm.h | 552 friend class panda::JSNApi;
|
/ark/js_runtime/ecmascript/tooling/agent/ |
D | debugger_impl.cpp | 1011 …runtime_->properties_[runtime_->curObjectId_++] = Global<JSValueRef>(vm_, JSNApi::GetGlobalObject(… in GetGlobalScopeChain()
|