/ohos5.0/foundation/arkui/ace_engine/adapter/preview/external/ability/stage/ |
H A D | stage_app_info.cpp | 34 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 D | stage_hap_module_info.cpp | 41 labelId_ = item->GetUInt("labelId", 0); in Parse()
|
/ohos5.0/base/update/updateservice/test/fuzztest/common/ |
H A D | fuzztest_helper.cpp | 141 upgradePolicy.downloadStrategy = static_cast<bool>(GetUInt() % COUNT_BOOL_TYPE); in BuildUpgradePolicy() 142 upgradePolicy.autoUpgradeStrategy = static_cast<bool>(GetUInt() % COUNT_BOOL_TYPE); in BuildUpgradePolicy() 143 upgradePolicy.autoUpgradePeriods[0].start = GetUInt(); in BuildUpgradePolicy() 144 upgradePolicy.autoUpgradePeriods[0].end = GetUInt(); in BuildUpgradePolicy() 145 upgradePolicy.autoUpgradePeriods[1].start = GetUInt(); in BuildUpgradePolicy() 146 upgradePolicy.autoUpgradePeriods[1].end = GetUInt(); in BuildUpgradePolicy() 168 uint32_t FuzztestHelper::GetUInt() in GetUInt() function in OHOS::UpdateEngine::FuzztestHelper
|
H A D | fuzztest_helper.h | 44 uint32_t GetUInt();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_picker_pattern.cpp | 637 if (json->GetUInt("day") > maxDay) { in HandleYearKeyWaitingEvent() 716 if (json->GetUInt("day") > maxDay) { in HandleMonthKeyEvent() 766 if (newDay <= PickerDate::GetMaxDay(json->GetUInt("year"), json->GetUInt("month"))) { in HandleDayKeyEvent() 845 auto newYear = json->GetUInt("year"); in HandleTaskCallback() 850 if (json->GetUInt("day") > maxDay) { in HandleTaskCallback() 956 …PickerDate dateObj = PickerDate(json->GetUInt("year"), json->GetUInt("month"), json->GetUInt("day"… in HandleAddButtonClick() 1002 …PickerDate dateObj = PickerDate(json->GetUInt("year"), json->GetUInt("month"), json->GetUInt("day"… in HandleSubButtonClick() 1171 …calendarData_.selectedDate = PickerDate(json->GetUInt("year"), json->GetUInt("month"), json->GetUI… in SetDate() 1176 auto yearNum = json->GetUInt("year"); in SetDate() 1188 …auto monthString = (json->GetUInt("month") < 10 ? "0" : "") + std::to_string(json->GetUInt("month"… in SetDate() [all …]
|
H A D | calendar_dialog_pattern.cpp | 1195 auto entryYear = entryJson->GetUInt("year"); in HandleEntryChange() 1196 auto entryMonth = entryJson->GetUInt("month"); in HandleEntryChange() 1197 auto entryDay = entryJson->GetUInt("day"); in HandleEntryChange() 1200 … if (entryYear != calendarJson->GetUInt("year") || entryMonth != calendarJson->GetUInt("month")) { in HandleEntryChange()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/external/ability/fa/ |
H A D | fa_app_info.cpp | 27 minAPIVersion_ = apiVersion->GetUInt("compatible", 0); in Parse() 29 targetAPIVersion_ = apiVersion->GetUInt("target", 0); in Parse() 37 versionCode_ = versionInfo->GetUInt("code", 0); in Parse()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar_picker/ |
H A D | calendar_picker_test_ng.cpp | 1189 EXPECT_EQ(json->GetUInt("day"), 28); 1200 EXPECT_EQ(json->GetUInt("day"), 1); 1231 EXPECT_EQ(json->GetUInt("day"), 30); 1262 EXPECT_EQ(json->GetUInt("day"), 31); 1293 EXPECT_EQ(json->GetUInt("day"), 1); 1324 EXPECT_EQ(json->GetUInt("day"), 28); 1355 EXPECT_EQ(json->GetUInt("day"), 31); 1386 EXPECT_EQ(json->GetUInt("day"), 30); 1417 EXPECT_EQ(json->GetUInt("day"), 31); 1448 EXPECT_EQ(json->GetUInt("day"), 31); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/json/ |
H A D | text_field_creator.cpp | 46 textField->SetTextMaxLines(json.GetUInt(TEXT_FIELD_MAX_LINES, 1)); in CreateFromJson() 48 uint32_t maxLength = json.GetUInt(TEXT_FIELD_MAX_LENGTH, DEFAULT_LENGTH_LIMIT); in CreateFromJson()
|
/ohos5.0/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestJsonHelper.cpp | 126 ASSERT_EQ(values->GetUInt(UINT_TEST), 20); 245 ASSERT_EQ(uintValues[0]->GetUInt(), uintValue); 303 ASSERT_EQ(values->GetUInt(UINT_TEST), uintValue); 331 ASSERT_EQ(stringKeyJsonPtr->GetUInt(), 0); 337 ASSERT_EQ(root->GetUInt(STRING_TEST, UINT32_MAX), UINT32_MAX);
|
H A D | TestUtils.cpp | 184 ASSERT_EQ(stringKeyJsonPtr->GetUInt(), 0);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | node_object_test.cpp | 111 uint32_t ret2 = nodeObject->GetUInt(key2, defaultVal); 116 uint32_t ret3 = nodeObject->GetUInt(key3, defaultVal);
|
H A D | json_util_test.cpp | 109 EXPECT_TRUE(uintValue->GetUInt() == uintNum); 138 EXPECT_TRUE(doubleValue->GetUInt() == uintNum); 1208 int64_t ret3 = jsonValue->GetUInt(key, 0); 1218 int64_t ret4 = jsonValue->GetUInt(key, 0); 1229 int64_t ret5 = jsonValue->GetUInt(keyPut, 0);
|
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | json_helper.h | 51 IMAGE_EFFECT_EXPORT uint32_t GetUInt(const std::string &key, uint32_t defaultValue = 0); 59 IMAGE_EFFECT_EXPORT uint32_t GetUInt();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_xcomponent_bridge.cpp | 218 uint32_t surfaceWidth = surfaceSizePara->GetUInt("surfaceWidth", 0); in JsSetXComponentSurfaceSize() 219 uint32_t surfaceHeight = surfaceSizePara->GetUInt("surfaceHeight", 0); in JsSetXComponentSurfaceSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/json/ |
H A D | json_util.h | 54 uint32_t GetUInt() const; 55 uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const override;
|
H A D | json_util.cpp | 92 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 D | node_object.h | 32 uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const override;
|
H A D | node_object.cpp | 76 uint32_t NodeObject::GetUInt(const std::string& key, uint32_t defaultVal) const in GetUInt() function in OHOS::Ace::NodeObject
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | json_helper.cpp | 129 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_textpicker_ffi.cpp | 49 ffiClickInfo.index = index->GetUInt(); in TextPickerDialogEvent() 71 ffiClickInfo.index = index->GetUInt(); in TextPickerDialogEvent()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
H A D | serializeable_object.h | 35 virtual uint32_t GetUInt(const std::string& key, uint32_t defaultVal = 0) const = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_appinfo.cpp | 95 versionCode_ = root->GetUInt("versionCode"); in AppInfoParse()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | stage_card_parser.cpp | 68 updateDuration_ = formConfig->GetUInt("updateDuration", 1); in Parse()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_grid_column.cpp | 126 span = spanValue->GetUInt(); in ParseSpanAndOffset()
|