Home
last modified time | relevance | path

Searched refs:LocalValueFromJsValue (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp492 codeValue = LocalValueFromJsValue(code); in napi_create_error()
496 auto msgValue = LocalValueFromJsValue(msg); in napi_create_error()
520 codeValue = LocalValueFromJsValue(code); in napi_create_type_error()
523 auto msgValue = LocalValueFromJsValue(msg); in napi_create_type_error()
548 codeValue = LocalValueFromJsValue(code); in napi_create_range_error()
551 auto msgValue = LocalValueFromJsValue(msg); in napi_create_range_error()
870 auto propKey = LocalValueFromJsValue(key); in napi_set_property()
1496 auto propKey = LocalValueFromJsValue(key); in napi_map_set_property()
1547 auto propKey = LocalValueFromJsValue(key); in napi_map_get_property()
1601 auto propKey = LocalValueFromJsValue(key); in napi_map_has_property()
[all …]
H A Dnative_sendable.cpp65 key = LocalValueFromJsValue(propertyDescriptor.name); in InitSendablePropertiesInfo()
101 Local<JSValueRef> val = LocalValueFromJsValue(propertyDescriptor.value); in InitSendablePropertiesInfo()
175 Local<JSValueRef> val = LocalValueFromJsValue(propertyDescriptor.value); in NapiDefineSendabledProperty()
H A Dnative_node_api.cpp98 auto exceptionValue = LocalValueFromJsValue(err); in napi_fatal_exception()
124 auto asyncResource = LocalValueFromJsValue(async_resource); in napi_create_async_work()
125 auto asyncResourceName = LocalValueFromJsValue(async_resource_name); in napi_create_async_work()
500 auto nativeValue = LocalValueFromJsValue(async_resource); in napi_async_init()
508 auto nativeValue = LocalValueFromJsValue(async_resource_name); in napi_async_init()
H A Dnative_utils.h33 inline panda::Local<panda::JSValueRef> LocalValueFromJsValue(napi_value v) in LocalValueFromJsValue() function
H A Dnative_engine.cpp323 auto val = LocalValueFromJsValue(asyncResourceName); in CreateAsyncWork()
399 auto nativeValue = LocalValueFromJsValue(value); in EncodeToUtf8()
470 auto nativeValue = LocalValueFromJsValue(value); in EncodeToChinese()
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp126 return LocalValueFromJsValue(v); in NapiValueToLocalValue()
267 localParent = LocalValueFromJsValue(parent); in NapiDefineSendableClass()
759 localRet = LocalValueFromJsValue(result); in ArkNativeFunctionCallBack()
969 val = LocalValueFromJsValue(value); in NapiCreateObjectWithProperties()
1138 Local<JSValueRef> function = LocalValueFromJsValue(func); in InitTaskPoolFunc()
1191 thisObj = LocalValueFromJsValue(thisVar); in CallFunction()
1193 Local<FunctionRef> funcObj = LocalValueFromJsValue(function); in CallFunction()
1198 args.emplace_back(LocalValueFromJsValue(argv[i])); in CallFunction()
1493 Local<FunctionRef> value = LocalValueFromJsValue(constructor); in CreateInstance()
1498 args.emplace_back(LocalValueFromJsValue(argv[i])); in CreateInstance()
[all …]
H A Dark_native_reference.cpp37 value_(engine->GetEcmaVm(), LocalValueFromJsValue(value)), in ArkNativeReference()
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_ark_api_allowlist.cpp168 Local<ObjectRef> i18nObj = LocalValueFromJsValue(i18n);
222 Local<ObjectRef> intlObj = LocalValueFromJsValue(intl);