Home
last modified time | relevance | path

Searched refs:GetUInt (Results 1 - 24 of 24) sorted by relevance

/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/
H A Dstage_app_info.cpp34 iconId_ = root->GetUInt("iconId", 0); in Parse()
35 labelId_ = root->GetUInt("labelId", 0); in Parse()
36 minAPIVersion_ = root->GetUInt("minAPIVersion", 0); in Parse()
37 targetAPIVersion_ = root->GetUInt("targetAPIVersion", 0); in Parse()
38 versionCode_ = root->GetUInt("versionCode", 0); in Parse()
H A Dstage_hap_module_info.cpp41 labelId_ = item->GetUInt("labelId", 0); in Parse()
/foundation/arkui/ace_engine/adapter/preview/external/ability/fa/
H A Dfa_app_info.cpp27 minAPIVersion_ = apiVersion->GetUInt("compatible", 0); in Parse()
29 targetAPIVersion_ = apiVersion->GetUInt("target", 0); in Parse()
37 versionCode_ = versionInfo->GetUInt("code", 0); in Parse()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_pattern.cpp624 auto newYear = json->GetUInt("year") * 10 + number; in HandleYearKeyWaitingEvent()
638 auto maxDay = PickerDate::GetMaxDay(newYear, json->GetUInt("month")); in HandleYearKeyWaitingEvent()
639 if (json->GetUInt("day") > maxDay) { in HandleYearKeyWaitingEvent()
708 auto newMonth = json->GetUInt("month") * 10 + number; in HandleMonthKeyEvent()
717 auto maxDay = PickerDate::GetMaxDay(json->GetUInt("year"), newMonth); in HandleMonthKeyEvent()
718 if (json->GetUInt("day") > maxDay) { in HandleMonthKeyEvent()
763 auto newDay = json->GetUInt("day") * 10 + number; in HandleDayKeyEvent()
768 if (newDay <= PickerDate::GetMaxDay(json->GetUInt("year"), json->GetUInt("month"))) { in HandleDayKeyEvent()
847 auto newYear = json->GetUInt("yea in HandleTaskCallback()
[all...]
H A Dcalendar_dialog_pattern.cpp1201 auto entryYear = entryJson->GetUInt("year"); in HandleEntryChange()
1202 auto entryMonth = entryJson->GetUInt("month"); in HandleEntryChange()
1203 auto entryDay = entryJson->GetUInt("day"); in HandleEntryChange()
1206 if (entryYear != calendarJson->GetUInt("year") || entryMonth != calendarJson->GetUInt("month")) { in HandleEntryChange()
/foundation/multimedia/image_effect/test/unittest/
H A DTestJsonHelper.cpp126 ASSERT_EQ(values->GetUInt(UINT_TEST), 20); in HWTEST_F()
245 ASSERT_EQ(uintValues[0]->GetUInt(), uintValue); in HWTEST_F()
303 ASSERT_EQ(values->GetUInt(UINT_TEST), uintValue); in HWTEST_F()
332 ASSERT_EQ(stringKeyJsonPtr->GetUInt(), 0); in HWTEST_F()
333 ASSERT_EQ(stringKeyJsonPtr->GetUInt(INT_TEST, UINT32_MAX), UINT32_MAX); in HWTEST_F()
343 ASSERT_EQ(root->GetUInt(STRING_TEST, UINT32_MAX), UINT32_MAX); in HWTEST_F()
H A DTestUtils.cpp195 ASSERT_EQ(stringKeyJsonPtr->GetUInt(), 0); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/base/
H A Dnode_object_test.cpp85 * @tc.desc: Put(const char* key, size_t value)/GetUInt(const std::string& key, uint32_t defaultVal)
105 * @tc.steps: step3. GetUInt(const std::string& key, uint32_t defaultVal) in HWTEST_F()
111 uint32_t ret2 = nodeObject->GetUInt(key2, defaultVal); in HWTEST_F()
116 uint32_t ret3 = nodeObject->GetUInt(key3, defaultVal); in HWTEST_F()
H A Djson_util_test.cpp99 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F()
108 EXPECT_FALSE(intValue->GetUInt() == -1); in HWTEST_F()
128 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F()
137 EXPECT_TRUE(uintValue->GetUInt() == uintNum); in HWTEST_F()
157 * @tc.steps: step2. get JsonValue and check results of IsValid, IsNull, IsNumber, GetInt, GetUInt and GetDouble. in HWTEST_F()
166 EXPECT_TRUE(doubleValue->GetUInt() == uintNum); in HWTEST_F()
1221 * @tc.desc: Check json util int64_t GetUInt/GetInt/GetString
1236 int64_t ret3 = jsonValue->GetUInt(key, 0); in HWTEST_F()
1246 int64_t ret4 = jsonValue->GetUInt(key, 0); in HWTEST_F()
1257 int64_t ret5 = jsonValue->GetUInt(keyPu in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar_picker/
H A Dcalendar_picker_test_ng.cpp1187 EXPECT_EQ(json->GetUInt("year"), 802); in HWTEST_F()
1188 EXPECT_EQ(json->GetUInt("month"), 2); in HWTEST_F()
1189 EXPECT_EQ(json->GetUInt("day"), 28); in HWTEST_F()
1198 EXPECT_EQ(json->GetUInt("year"), 802); in HWTEST_F()
1199 EXPECT_EQ(json->GetUInt("month"), 3); in HWTEST_F()
1200 EXPECT_EQ(json->GetUInt("day"), 1); in HWTEST_F()
1229 EXPECT_EQ(json->GetUInt("year"), 800); in HWTEST_F()
1230 EXPECT_EQ(json->GetUInt("month"), 11); in HWTEST_F()
1231 EXPECT_EQ(json->GetUInt("day"), 30); in HWTEST_F()
1260 EXPECT_EQ(json->GetUInt("yea in HWTEST_F()
[all...]
/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Deffect_json_helper.h51 IMAGE_EFFECT_EXPORT uint32_t GetUInt(const std::string &key, uint32_t defaultValue = 0);
59 IMAGE_EFFECT_EXPORT uint32_t GetUInt();
/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dserializeable_object.h35 virtual uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const = 0;
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_xcomponent_bridge.cpp218 uint32_t surfaceWidth = surfaceSizePara->GetUInt("surfaceWidth", 0); in JsSetXComponentSurfaceSize()
219 uint32_t surfaceHeight = surfaceSizePara->GetUInt("surfaceHeight", 0); in JsSetXComponentSurfaceSize()
/foundation/arkui/ace_engine/frameworks/base/json/
H A Djson_util.h54 uint32_t GetUInt() const;
55 uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const override;
H A Dnode_object.h32 uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const override;
H A Djson_util.cpp92 uint32_t JsonValue::GetUInt() const in GetUInt() function in OHOS::Ace::JsonValue
567 uint32_t JsonValue::GetUInt(const std::string& key, uint32_t defaultVal) const in GetUInt() function in OHOS::Ace::JsonValue
571 return value->GetUInt(); in GetUInt()
H A Dnode_object.cpp76 uint32_t NodeObject::GetUInt(const std::string& key, uint32_t defaultVal) const in GetUInt() function in OHOS::Ace::NodeObject
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_textpicker_ffi.cpp47 ffiClickInfo.index = index->GetUInt(); in TextPickerDialogEvent()
69 ffiClickInfo.index = index->GetUInt(); in TextPickerDialogEvent()
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/
H A Dmanifest_appinfo.cpp95 versionCode_ = root->GetUInt("versionCode"); in AppInfoParse()
/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Deffect_json_helper.cpp129 uint32_t EffectJson::GetUInt() in GetUInt() function in OHOS::Media::Effect::EffectJson
137 uint32_t EffectJson::GetUInt(const std::string &key, uint32_t defaultValue) in GetUInt() function in OHOS::Media::Effect::EffectJson
144 return element->GetUInt(); in GetUInt()
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dstage_card_parser.cpp68 updateDuration_ = formConfig->GetUInt("updateDuration", 1); in Parse()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_grid_column.cpp126 span = spanValue->GetUInt(); in ParseSpanAndOffset()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/
H A Dbutton_declaration.cpp260 uint32_t progress = progressValue->GetUInt(); in CallSpecializedMethod()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_abstract.cpp9179 result = resourceWrapper->GetDimension(resId->GetUInt()); in ParseJsonDimension()
9212 auto id = resId->GetUInt(); in ParseJsonDouble()
9215 auto type = resType->GetUInt(); in ParseJsonDouble()
9245 result = Color(ColorAlphaAdapt(jsonValue->GetUInt())); in ParseJsonColor()
9268 result = resourceWrapper->GetColor(resId->GetUInt()); in ParseJsonColor()

Completed in 40 milliseconds