Home
last modified time | relevance | path

Searched refs:globalValue (Results 1 – 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/interfaces/napi/kits/grid/
Djs_grid.cpp31 napi_value globalValue; in JSGridGetSystemLayoutInfo() local
32 napi_get_global(env, &globalValue); in JSGridGetSystemLayoutInfo()
34 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in JSGridGetSystemLayoutInfo()
/foundation/ability/form_fwk/frameworks/js/napi/form_binding_data/
Djs_form_binding_data.cpp57 napi_value globalValue = nullptr; in OnCreateFormBindingData() local
58 napi_get_global(napiEnv, &globalValue); in OnCreateFormBindingData()
60 napi_get_named_property(napiEnv, globalValue, "JSON", &jsonValue); in OnCreateFormBindingData()
Dform_binding_data.cpp58 napi_value globalValue = nullptr; in OnCreateFormBindingData() local
59 napi_get_global(napiEnv, &globalValue); in OnCreateFormBindingData()
61 napi_get_named_property(napiEnv, globalValue, "JSON", &jsonValue); in OnCreateFormBindingData()
/foundation/arkui/ace_engine/interfaces/napi/kits/device/
Djs_device.cpp101 napi_value globalValue; in JSGetInfo() local
102 napi_get_global(env, &globalValue); in JSGetInfo()
104 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in JSGetInfo()
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
Djs_drawable_descriptor.cpp96 napi_value globalValue; in ToNapi() local
97 napi_get_global(env, &globalValue); in ToNapi()
99 napi_get_named_property(env, globalValue, "requireNapi", &func); in ToNapi()
104 napi_call_function(env, globalValue, func, 1, &module, &returnValue); in ToNapi()
/foundation/arkui/napi/native_engine/impl/ark/native_value/
Dark_native_typed_array.cpp33 Global<JSValueRef> globalValue = *value; in ArkNativeTypedArray() local
34 Local<JSValueRef> localValue = globalValue.ToLocal(vm); in ArkNativeTypedArray()
Dark_native_value.cpp21 Global<JSValueRef> globalValue(engine->GetEcmaVm(), value); in ArkNativeValue() local
22 value_ = globalValue; in ArkNativeValue()
/foundation/arkui/ace_engine/interfaces/napi/kits/router/
Djs_router.cpp60 napi_value globalValue; in ParseParams() local
61 napi_get_global(env, &globalValue); in ParseParams()
63 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in ParseParams()
672 napi_value globalValue; in JSRouterGetParams() local
673 napi_get_global(env, &globalValue); in JSRouterGetParams()
675 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in JSRouterGetParams()
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/
Djs_plugin_util.cpp564 napi_value globalValue; in AceKVObjectToString() local
565 napi_get_global(env, &globalValue); in AceKVObjectToString()
567 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in AceKVObjectToString()
590 napi_value globalValue; in AceStringToKVObject() local
591 napi_get_global(env, &globalValue); in AceStringToKVObject()
593 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in AceStringToKVObject()
/foundation/ability/ability_runtime/frameworks/js/napi/feature_ability/
Djs_feature_ability.cpp215 napi_value globalValue = nullptr; in OnFinishWithResult() local
216 napi_get_global(env, &globalValue); in OnFinishWithResult()
218 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in OnFinishWithResult()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
Dpixel_map_napi.cpp605 napi_value globalValue; in CreatePixelMap() local
606 napi_get_global(env, &globalValue); in CreatePixelMap()
608 napi_get_named_property(env, globalValue, "requireNapi", &func); in CreatePixelMap()
614 napi_call_function(env, globalValue, func, 1, funcArgv, &returnValue); in CreatePixelMap()
662 napi_value globalValue; in CreatePixelMap() local
663 napi_get_global(env, &globalValue); in CreatePixelMap()
665 napi_get_named_property(env, globalValue, "requireNapi", &func); in CreatePixelMap()
671 napi_call_function(env, globalValue, func, 1, funcArgv, &returnValue); in CreatePixelMap()
738 napi_value globalValue; in Unmarshalling() local
739 napi_get_global(env, &globalValue); in Unmarshalling()
[all …]
Dimage_source_napi.cpp696 napi_value globalValue; in PrepareNapiEnv() local
697 napi_get_global(env, &globalValue); in PrepareNapiEnv()
699 napi_get_named_property(env, globalValue, "requireNapi", &func); in PrepareNapiEnv()
705 napi_call_function(env, globalValue, func, 1, funcArgv, &returnValue); in PrepareNapiEnv()
815 napi_value globalValue; in CreateIncrementalSource() local
816 napi_get_global(env, &globalValue); in CreateIncrementalSource()
818 napi_get_named_property(env, globalValue, "requireNapi", &func); in CreateIncrementalSource()
824 napi_call_function(env, globalValue, func, 1, funcArgv, &returnValue); in CreateIncrementalSource()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
Dnapi_common_ability.cpp3320 napi_value globalValue; in UvWorkOnAbilityConnectDone() local
3321 napi_get_global(cbInfo.env, &globalValue); in UvWorkOnAbilityConnectDone()
3323 napi_get_named_property(cbInfo.env, globalValue, "requireNapi", &func); in UvWorkOnAbilityConnectDone()
3329 napi_call_function(cbInfo.env, globalValue, func, 1, funcArgv, &returnValue); in UvWorkOnAbilityConnectDone()