Home
last modified time | relevance | path

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

/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp430 object = LocalValueFromJsValue(description); in napi_create_symbol()
492 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()
572 auto valueObj = LocalValueFromJsValue(value); in napi_typeof()
685 auto nativeValue = LocalValueFromJsValue(value); in napi_get_value_string_latin1()
717 auto nativeValue = LocalValueFromJsValue(valu in napi_get_value_string_utf8()
[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_utils.h33 inline panda::Local<panda::JSValueRef> LocalValueFromJsValue(napi_value v) in LocalValueFromJsValue() function
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_engine.cpp331 auto val = LocalValueFromJsValue(asyncResourceName); in CreateAsyncWork()
408 auto nativeValue = LocalValueFromJsValue(value); in EncodeToUtf8()
480 auto nativeValue = LocalValueFromJsValue(value); in EncodeToChinese()
/foundation/arkui/napi/test/unittest/
H A Dtest_ark_api_allowlist.cpp168 Local<ObjectRef> i18nObj = LocalValueFromJsValue(i18n); in HWTEST_F()
222 Local<ObjectRef> intlObj = LocalValueFromJsValue(intl); in HWTEST_F()
/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp124 return LocalValueFromJsValue(v); in NapiValueToLocalValue()
265 localParent = LocalValueFromJsValue(parent); in NapiDefineSendableClass()
752 localRet = LocalValueFromJsValue(result); in ArkNativeFunctionCallBack()
888 Local<panda::JSValueRef> val = LocalValueFromJsValue(propertyDescriptor.value); in NapiDefinePropertyInner()
904 propertyName = LocalValueFromJsValue(propertyDescriptor.name); in NapiDefineProperty()
962 val = LocalValueFromJsValue(value); in NapiCreateObjectWithProperties()
1134 Local<JSValueRef> function = LocalValueFromJsValue(func); in InitTaskPoolFunc()
1187 thisObj = LocalValueFromJsValue(thisVar); in CallFunction()
1189 Local<FunctionRef> funcObj = LocalValueFromJsValue(function); in CallFunction()
1194 args.emplace_back(LocalValueFromJsValue(arg in CallFunction()
[all...]
H A Dark_native_reference.cpp37 value_(engine->GetEcmaVm(), LocalValueFromJsValue(value)), in ArkNativeReference()

Completed in 13 milliseconds