Home
last modified time | relevance | path

Searched refs:ecmaVm (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp325 for (uint32_t i = 0; i < namesArrayRef->Length(ecmaVm); ++i) { in CopyPropertyApiFilter()
328 const std::string curPath = apiPath + "." + nameValue->ToString(ecmaVm)->ToString(ecmaVm); in CopyPropertyApiFilter()
330 const std::string valueType = value->Typeof(ecmaVm)->ToString(ecmaVm); in CopyPropertyApiFilter()
334 exportCopy->Set(ecmaVm, nameValue, subObject); in CopyPropertyApiFilter()
337 exportCopy->Set(ecmaVm, nameValue, value); in CopyPropertyApiFilter()
340 exportCopy->Set(ecmaVm, nameValue, value); in CopyPropertyApiFilter()
382 EcmaVM *ecmaVm = info->GetVM(); in ArkNativeEngine() local
383 panda::EscapeLocalScope scope(ecmaVm); in ArkNativeEngine()
502 EcmaVM *ecmaVm = info->GetVM(); in ArkNativeEngine() local
503 panda::EscapeLocalScope scope(ecmaVm); in ArkNativeEngine()
[all …]
H A Dark_native_engine.h48 EcmaVM* ecmaVm; member
368 const EcmaVM* ecmaVm, const panda::Local<panda::ObjectRef> exportObj,
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_node_api.cpp99 auto ecmaVm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in napi_fatal_exception() local
100 RETURN_STATUS_IF_FALSE(env, exceptionValue->IsError(ecmaVm), napi_invalid_arg); in napi_fatal_exception()
123 auto ecmaVm = engine->GetEcmaVm(); in napi_create_async_work() local
133 int copied = nativeString->WriteUtf8(ecmaVm, name, 63, true) - 1; // 63:NAME_BUFFER_SIZE in napi_create_async_work()
496 auto ecmaVm = reinterpret_cast<NativeEngine*>(env)->GetEcmaVm(); in napi_async_init() local
501 resource = nativeValue->ToObject(ecmaVm); in napi_async_init()
504 resource = panda::ObjectRef::New(ecmaVm); in napi_async_init()
509 auto resourceName = nativeValue->ToString(ecmaVm); in napi_async_init()
H A Dnative_async_hook_context.h96 auto ecmaVm = env_->GetEcmaVm(); in EnsureReference() local
97 panda::Global<panda::ObjectRef> resource(ecmaVm, panda::ObjectRef::New(ecmaVm)); in EnsureReference()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
H A Djsi_pa_engine.cpp297 auto ecmaVm = GetEcmaVm(); in InitJsEnv() local
298 CHECK_NULL_RETURN(ecmaVm, false); in InitJsEnv()
300 if (!arkJSRuntime->InitializeFromExistVM(ecmaVm)) { in InitJsEnv()