Searched refs:GetCInt32 (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/common_napi_utils/ |
H A D | common_napi_utils.cpp | 92 int32_t CommonNapiUtils::GetCInt32(napi_value value, napi_env env) in GetCInt32() function in OHOS::Ace::CommonNapiUtils 369 int32_t intValue = CommonNapiUtils::GetCInt32(value, env); in PutJsonValue() 391 uint32_t colorId = CommonNapiUtils::GetCInt32(jsColorId, env); in ParseColorFromResource() 414 auto value = themeConstants->GetString(CommonNapiUtils::GetCInt32(jsType, env)); in ParseColorFromResource() 419 auto value = themeConstants->GetInt(CommonNapiUtils::GetCInt32(jsType, env)); in ParseColorFromResource() 434 int32_t colorId = CommonNapiUtils::GetCInt32(value, env); in ParseColor() 463 uint32_t dimensionId = GetCInt32(jsDimensionId, env); in GetDimensionResult() 485 uint32_t type = GetCInt32(jsType, env); in GetDimensionResult()
|
H A D | common_napi_utils.h | 45 static int32_t GetCInt32(napi_value value, napi_env env);
|
/ohos5.0/foundation/arkui/ace_engine/component_ext/ext_common/ |
H A D | ext_napi_utils.h | 42 static int32_t GetCInt32(napi_env env, napi_value value);
|
H A D | ext_napi_utils.cpp | 69 int32_t ExtNapiUtils::GetCInt32(napi_env env, napi_value value) in GetCInt32() function in OHOS::Ace::ExtNapiUtils
|
/ohos5.0/foundation/arkui/ace_engine/component_ext/movingphoto/ |
H A D | movingphoto_napi.cpp | 88 format = static_cast<MovingPhotoFormat>(ExtNapiUtils::GetCInt32(env, jsMovingPhotoFormat)); in JsCreate() 96 rangeMode = static_cast<DynamicRangeMode>(ExtNapiUtils::GetCInt32(env, jsDynamicRangeMode)); in JsCreate() 138 objectFit = static_cast<ImageFit>(ExtNapiUtils::GetCInt32(env, argv[0])); in JsObjectFit()
|