Home
last modified time | relevance | path

Searched refs:GetEcmaVm (Results 1 – 25 of 54) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Dark_js_value.cpp23 const EcmaVM* vm = pandaRuntime->GetEcmaVm(); in ToInt32()
35 const EcmaVM* vm = pandaRuntime->GetEcmaVm(); in ToDouble()
52 const EcmaVM* vm = pandaRuntime->GetEcmaVm(); in ToString()
69 LocalScope scope(pandaRuntime->GetEcmaVm()); in ToBoolean()
143 const EcmaVM* vm = pandaRuntime->GetEcmaVm(); in Call()
169 const EcmaVM* vm = pandaRuntime->GetEcmaVm(); in GetPropertyNames()
193 const EcmaVM* vm = pandaRuntime->GetEcmaVm(); in GetEnumerablePropertyNames()
239 LocalScope scope(pandaRuntime->GetEcmaVm()); in GetProperty()
270 LocalScope scope(pandaRuntime->GetEcmaVm()); in SetProperty()
299 LocalScope scope(pandaRuntime->GetEcmaVm()); in SetAccessorProperty()
[all …]
H A Dark_js_value.h40 …t shared_ptr<ArkJSRuntime> &runtime, Local<JSValueRef> value) : value_(runtime->GetEcmaVm(), value) in ArkJSValue()
92 return value_.ToLocal(runtime->GetEcmaVm()); in GetValue()
97 value_ = Global<JSValueRef>(runtime->GetEcmaVm(), value); in SetValue()
H A Djsi_xcomponent_bridge.cpp115 LocalScope scope(pandaRuntime->GetEcmaVm()); in HandleContext()
116 Local<ObjectRef> obj = arkObjectRef->ToObject(pandaRuntime->GetEcmaVm()); in HandleContext()
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp1812 auto vm = engine->GetEcmaVm(); in napi_wrap()
1858 auto vm = engine->GetEcmaVm(); in napi_wrap_async_finalizer()
1903 auto vm = engine->GetEcmaVm(); in napi_wrap_with_size()
1965 auto vm = engine->GetEcmaVm(); in napi_remove_wrap()
2009 auto vm = engine->GetEcmaVm(); in napi_wrap_sendable()
2032 auto vm = engine->GetEcmaVm(); in napi_wrap_sendable_with_size()
2065 auto vm = engine->GetEcmaVm(); in napi_remove_wrap_sendable()
2083 auto vm = engine->GetEcmaVm(); in napi_create_external()
2102 auto vm = engine->GetEcmaVm(); in napi_create_external_with_size()
2390 auto vm = engine->GetEcmaVm(); in napi_get_and_clear_last_exception()
[all …]
H A Dnative_async_hook_context.h41 … bool isExternalResource) : env_(env), resource_(env->GetEcmaVm(), resourceObject) in NativeAsyncHookContext()
96 auto ecmaVm = env_->GetEcmaVm(); in EnsureReference()
156 auto vm = engine->GetEcmaVm(); in InternalMakeCallback()
199 auto vm = engine->GetEcmaVm(); in MakeCallback()
H A Dnative_sendable.cpp57 auto vm = engine->GetEcmaVm(); in InitSendablePropertiesInfo()
113 auto vm = const_cast<EcmaVM*>(engine->GetEcmaVm()); in NapiNativeCreateSendableFunction()
141 auto vm = engine->GetEcmaVm(); in NapiDefineSendabledProperty()
H A Dnative_engine.cpp325 auto vm = GetEcmaVm(); in CreateAsyncWork()
405 auto vm = GetEcmaVm(); in EncodeToUtf8()
471 auto vm = GetEcmaVm(); in EncodeToChinese()
832 EcmaVM* vm = const_cast<EcmaVM*>(GetEcmaVm()); in RunScriptForAbc()
881 auto vm = GetEcmaVm(); in RunScriptInRestrictedThread()
1054 auto vm = GetEcmaVm(); in ThrowException()
H A Dnative_safe_async_work.cpp311 auto vm = engine_->GetEcmaVm(); in ProcessAsyncHandle()
411 panda::LocalScope scope(this->engine_->GetEcmaVm()); in PostTask()
441 auto vm = eng->GetEcmaVm(); in SendEvent()
H A Dnative_node_api.cpp99 auto ecmaVm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in napi_fatal_exception()
123 auto ecmaVm = engine->GetEcmaVm(); in napi_create_async_work()
496 auto ecmaVm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in napi_async_init()
608 auto vm = engine->GetEcmaVm(); in napi_make_callback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_object_template.cpp23 auto vm = runtime->GetEcmaVm(); in JsiObjectTemplate()
24 … proto_ = panda::CopyableGlobal<panda::ObjectRef>(runtime->GetEcmaVm(), panda::ObjectRef::New(vm)); in JsiObjectTemplate()
35 return panda::ObjectRef::New(runtime->GetEcmaVm()); in NewInstance()
H A Djsi_types.inl28 handle_ = panda::CopyableGlobal(runtime->GetEcmaVm(), val);
46 handle_ = panda::CopyableGlobal(runtime->GetEcmaVm(), val);
140 return JsiType<T>(T::New(runtime->GetEcmaVm(), std::forward<Args>(args)...));
247 auto vm = runtime->GetEcmaVm();
256 auto vm = runtime->GetEcmaVm();
272 auto vm = runtime->GetEcmaVm();
281 auto vm = runtime->GetEcmaVm();
291 auto vm = runtime->GetEcmaVm();
301 auto vm = runtime->GetEcmaVm();
310 auto vm = runtime->GetEcmaVm();
H A Djsi_bindings.inl72 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
84 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
95 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
104 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
117 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
133 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
144 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
158 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
169 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
179 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm());
[all …]
H A Djsi_types.cpp146 return JsiRef<JsiValue>::Make(panda::JSValueRef::Undefined(runtime->GetEcmaVm())); in Undefined()
152 return JsiRef<JsiValue>::Make(panda::JSValueRef::Null(runtime->GetEcmaVm())); in Null()
158 return JsiRef<JsiValue>::Make(panda::JSValueRef::True(runtime->GetEcmaVm())); in True()
164 return JsiRef<JsiValue>::Make(panda::JSValueRef::False(runtime->GetEcmaVm())); in False()
401 return panda::FunctionRef::New(const_cast<EcmaVM*>(runtime->GetEcmaVm()), func); in New()
425 return panda::ObjectRef::New(runtime->GetEcmaVm()); in New()
537 return panda::StringRef::NewFromUtf8(runtime->GetEcmaVm(), str); in New()
554 return JsiRef<JsiValue>::Make(panda::DateRef::New(runtime->GetEcmaVm(), value)); in New()
H A Djsi_declarative_engine.cpp582 EcmaVM* vm = const_cast<EcmaVM*>(nativeArkEngine->GetEcmaVm()); in PreloadAceModuleWorker()
627 EcmaVM* vm = const_cast<EcmaVM*>(nativeArkEngine->GetEcmaVm()); in PreloadAceModule()
1197 vm = const_cast<EcmaVM*>(nativeArkEngine->GetEcmaVm()); in Initialize()
1467 auto vm = engine->GetEcmaVm(); in ExecuteDynamicAbc()
2062 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm()); in SetHspBufferTrackerCallback()
2071 auto vm = const_cast<EcmaVM*>(runtime->GetEcmaVm()); in SetMockModuleList()
2183 LocalScope scope(pandaRuntime->GetEcmaVm()); in FireExternalEvent()
2269 LocalScope scope(pandaRuntime->GetEcmaVm()); in FireExternalEvent()
2484 auto vm = arkRuntime->GetEcmaVm(); in GetStackTrace()
2545 if (!arkRuntime || !arkRuntime->GetEcmaVm()) { in SetContext()
[all …]
H A Djsi_value_conversions.h89 auto vm = runtime->GetEcmaVm(); in toJsiValue()
96 return runtime->GetEcmaVm(); in getEcmaVm()
H A Djsi_object_template.inl25 auto vm = runtime->GetEcmaVm();
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_deferred.cpp27 : engine_(engine), deferred_(engine->GetEcmaVm(), deferred) in ArkNativeDeferred()
45 auto vm = engine_->GetEcmaVm(); in Resolve()
54 auto vm = engine_->GetEcmaVm(); in Reject()
H A Dark_native_reference.cpp37 value_(engine->GetEcmaVm(), LocalValueFromJsValue(value)), in ArkNativeReference()
59 value_(engine->GetEcmaVm(), value), in ArkNativeReference()
124 Local<JSValueRef> value = value_.ToLocal(engine->GetEcmaVm()); in Get()
139 Local<JSValueRef> value = value_.ToLocal(engine_->GetEcmaVm()); in Get()
H A Dark_native_engine.cpp221 auto vm = const_cast<EcmaVM*>(engine->GetEcmaVm()); in NapiNativeCreateSendableFunction()
250 const EcmaVM* vm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in NapiDefineSendableClass()
781 auto vm = const_cast<EcmaVM*>(engine->GetEcmaVm()); in NapiNativeCreateFunction()
834 auto vm = const_cast<EcmaVM*>(engine->GetEcmaVm()); in NapiGetModuleName()
854 auto vm = engine->GetEcmaVm(); in NapiDefinePropertyInner()
905 auto vm = engine->GetEcmaVm(); in NapiDefineProperty()
931 auto vm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in NapiCreateObjectWithProperties()
982 auto vm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in NapiCreateSObjectWithProperties()
1891 panda::JSNApi::ThrowException(GetEcmaVm(), exceptionValue); in TriggerFatalException()
1926 panda::ecmascript::EcmaVM* vm = const_cast<EcmaVM*>(env->GetEcmaVm()); in PromiseRejectCallback()
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/xcomponent_controller/
H A Dxcomponent_controller.cpp33 const auto* vm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in GetXComponentControllerFromNapiValue()
49 const auto* vm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in SetSurfaceCallbackMode()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp465 auto vm = GetEcmaVm(); in LoadRepairPatch()
513 auto vm = GetEcmaVm(); in UnLoadRepairPatch()
614 auto vm = GetEcmaVm(); in FinishPreload()
621 auto vm = GetEcmaVm(); in PostPreload()
656 auto vm = GetEcmaVm(); in LoadAotFile()
987 auto vm = GetEcmaVm(); in LoadJsModule()
1012 auto vm = GetEcmaVm(); in LoadModule()
1102 auto vm = GetEcmaVm(); in RunScript()
1225 auto vm = GetEcmaVm(); in DumpHeapSnapshot()
1239 auto vm = GetEcmaVm(); in ForceFullGC()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A Djs_execution_scope_defines.h24 panda::LocalScope socpe(runtime->GetEcmaVm());
H A Djs_types.h48 inline const panda::ecmascript::EcmaVM* GetEcmaVm() in GetEcmaVm() function
/ohos5.0/foundation/arkui/napi/callback_scope_manager/
H A Dnative_callback_scope_manager.cpp25 [[maybe_unused]] panda::LocalScope scope(env_->GetEcmaVm()); in NativeCallbackScope()
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_ark_api_allowlist.cpp145 const EcmaVM* vm = arkNativeEngine->GetEcmaVm();
197 const EcmaVM* vm = arkNativeEngine->GetEcmaVm();

123