Home
last modified time | relevance | path

Searched refs:refValue (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_types.cpp191 auto refValue = JsiRef<JsiValue>(func); in GetProperty() local
192 return refValue; in GetProperty()
201 auto refValue = JsiRef<JsiValue>(func); in GetProperty() local
202 return refValue; in GetProperty()
297 auto refValue = JsiRef<JsiValue>(func); in GetProperty() local
298 return refValue; in GetProperty()
315 auto refValue = JsiRef<JsiValue>(func); in GetProperty() local
316 return refValue; in GetProperty()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.cpp427 auto refValue = GetValue(*uintPtr); in GetValue() local
428 refValue.isPublic = platformConstants->isPublic; in GetValue()
430 if ((refValue.type == ThemeConstantsType::COLOR) && (blendAlpha < BLEND_ALPHA_MAX)) { in GetValue()
431 auto colorPtr = std::get_if<Color>(&refValue.value); in GetValue()
435 refValue.value = colorPtr->BlendOpacity(blendAlpha); in GetValue()
437 return refValue; in GetValue()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_util.cpp309 napi_value refValue = nullptr; in GetReferenceValue() local
310 if (napi_get_reference_value(env, funcRef, &refValue) != napi_ok) { in GetReferenceValue()
314 return refValue; in GetReferenceValue()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp596 auto refValue = methodRequireNapiRef_->GetNapiValue(); in LoadSystemModuleByEngine() local
599 napi_call_function(env, globalObj, refValue, 1, args, &classValue); in LoadSystemModuleByEngine()
1082 napi_value refValue = methodRequireNapiRef_->GetNapiValue(); in LoadSystemModule() local
1085 napi_call_function(env, globalObj, refValue, 1, args, &classValue); in LoadSystemModule()
1302 napi_value refValue = methodRequireNapiRef_->GetNapiValue(); in PreloadSystemModule() local
1304 napi_call_function(env, globalObj, refValue, 1, args, nullptr); in PreloadSystemModule()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/test/
H A Dtest_concurrent.cpp449 napi_value refValue = nullptr; variable
451 refValue = NapiHelper::GetReferenceValue(env, resultRef);
453 ASSERT_NE(refValue, nullptr);
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi.cpp1239 napi_value refValue = nullptr; variable
1240 napi_get_reference_value(env, resultRef, &refValue);
1242 ASSERT_NE(refValue, nullptr);
7791 napi_value refValue = nullptr; variable
7792 auto res = napi_get_reference_value(env, booleanRef, &refValue);
7794 ASSERT_NE(refValue, nullptr);