/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | ark_js_value.cpp | 23 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 D | ark_js_value.h | 40 …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 D | jsi_xcomponent_bridge.cpp | 115 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 D | native_api.cpp | 1812 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 D | native_async_hook_context.h | 41 … 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 D | native_sendable.cpp | 57 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 D | native_engine.cpp | 325 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 D | native_safe_async_work.cpp | 311 auto vm = engine_->GetEcmaVm(); in ProcessAsyncHandle() 411 panda::LocalScope scope(this->engine_->GetEcmaVm()); in PostTask() 441 auto vm = eng->GetEcmaVm(); in SendEvent()
|
H A D | native_node_api.cpp | 99 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 D | jsi_object_template.cpp | 23 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 D | jsi_types.inl | 28 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 D | jsi_bindings.inl | 72 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 D | jsi_types.cpp | 146 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 D | jsi_declarative_engine.cpp | 582 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 D | jsi_value_conversions.h | 89 auto vm = runtime->GetEcmaVm(); in toJsiValue() 96 return runtime->GetEcmaVm(); in getEcmaVm()
|
H A D | jsi_object_template.inl | 25 auto vm = runtime->GetEcmaVm();
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_deferred.cpp | 27 : engine_(engine), deferred_(engine->GetEcmaVm(), deferred) in ArkNativeDeferred() 45 auto vm = engine_->GetEcmaVm(); in Resolve() 54 auto vm = engine_->GetEcmaVm(); in Reject()
|
H A D | ark_native_reference.cpp | 37 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 D | ark_native_engine.cpp | 221 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 D | xcomponent_controller.cpp | 33 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 D | js_runtime.cpp | 465 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 D | js_execution_scope_defines.h | 24 panda::LocalScope socpe(runtime->GetEcmaVm());
|
H A D | js_types.h | 48 inline const panda::ecmascript::EcmaVM* GetEcmaVm() in GetEcmaVm() function
|
/ohos5.0/foundation/arkui/napi/callback_scope_manager/ |
H A D | native_callback_scope_manager.cpp | 25 [[maybe_unused]] panda::LocalScope scope(env_->GetEcmaVm()); in NativeCallbackScope()
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_ark_api_allowlist.cpp | 145 const EcmaVM* vm = arkNativeEngine->GetEcmaVm(); 197 const EcmaVM* vm = arkNativeEngine->GetEcmaVm();
|