Home
last modified time | relevance | path

Searched refs:JSNApi (Results 1 – 12 of 12) sorted by relevance

/ark/js_runtime/ecmascript/tooling/test/
Ddebugger_entry_test.cpp41 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/
Djsnapi.cpp114 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/
Djsnapi_tests.cpp48 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/
Djsnapi.h33 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/
Dmain.cpp114 JSNApi::SetOptions(runtimeOptions); in Main()
135 auto res = JSNApi::Execute(vm, fileName, entry); in Main()
/ark/js_runtime/ecmascript/tooling/backend/
Ddebugger_executor.cpp25 Local<ObjectRef> globalObj = JSNApi::GetGlobalObject(vm); in Initialize()
128 JSNApi::ThrowException(vm, exception); in ThrowException()
Ddebugger_api.cpp327 JSNApi::EnableUserUncaughtErrorHandler(ecmaVm); in EvaluateViaFuncCall()
/ark/js_runtime/ecmascript/compiler/
Daot_compiler.cpp110 JSNApi::SetOptions(runtimeOptions); in Main()
/ark/js_runtime/ecmascript/tests/
Dtest_helper.h119 JSNApi::DestroyJSVM(EcmaVM::Cast(instance)); in DestroyEcmaVMWithScope()
/ark/runtime_core/runtime/include/
Druntime_options.h23 class JSNApi; variable
273 friend class panda::JSNApi;
/ark/js_runtime/ecmascript/
Decma_vm.h552 friend class panda::JSNApi;
/ark/js_runtime/ecmascript/tooling/agent/
Ddebugger_impl.cpp1011 …runtime_->properties_[runtime_->curObjectId_++] = Global<JSValueRef>(vm_, JSNApi::GetGlobalObject(… in GetGlobalScopeChain()