Home
last modified time | relevance | path

Searched refs:StringToInt (Results 1 – 11 of 11) sorted by relevance

/base/startup/init/ueventd/
Dueventd.c228 uevent->partitionNum = StringToInt(event + strlen("PARTN="), -1); in AddUevent()
230 uevent->major = StringToInt(event + strlen("MAJOR="), -1); in AddUevent()
232 uevent->minor = StringToInt(event + strlen("MINOR="), -1); in AddUevent()
234 uevent->ug.uid = (uid_t)StringToInt(event + strlen("DEVUID="), 0); in AddUevent()
236 uevent->ug.gid = (gid_t)StringToInt(event + strlen("DEVGID="), 0); in AddUevent()
240 uevent->busNum = StringToInt(event + strlen("BUSNUM="), -1); in AddUevent()
242 uevent->devNum = StringToInt(event + strlen("DEVNUM="), -1); in AddUevent()
/base/startup/init/test/unittest/init/
Dutils_unittest.cpp57 int ret = StringToInt(str, defaultValue);
60 ret = StringToInt(str, defaultValue);
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences_database.cpp864 …ionConstant::SlotType slotType = static_cast<NotificationConstant::SlotType>(StringToInt(typeStr)); in ParseSlotFromDisturbeDB()
937 data.push_back(StringToInt(str1)); in StringToVector()
942 int32_t NotificationPreferencesDatabase::StringToInt(const std::string &str) const in StringToInt() function in OHOS::Notification::NotificationPreferencesDatabase
1082 bundleInfo.SetImportance(static_cast<NotificationSlot::NotificationLevel>(StringToInt(value))); in ParseBundleImportance()
1089 bundleInfo.SetIsShowBadge(static_cast<bool>(StringToInt(value))); in ParseBundleShowBadge()
1096 bundleInfo.SetBadgeTotalNum(StringToInt(value)); in ParseBundleBadgeNum()
1103 bundleInfo.SetEnableNotification(static_cast<bool>(StringToInt(value))); in ParseBundleEnableNotification()
1110 bundleInfo.SetHasPoppedDialog(static_cast<bool>(StringToInt(value))); in ParseBundlePoppedDialog()
1117 bundleInfo.SetBundleUid(StringToInt(value)); in ParseBundleUid()
1130 …ot::NotificationLevel level = static_cast<NotificationSlot::NotificationLevel>(StringToInt(value)); in ParseSlotLevel()
[all …]
/base/startup/init/interfaces/innerkits/syspara/
Dparam_wrapper.cpp40 bool StringToInt(const std::string& str, T min, T max, T& out) in StringToInt() function
129 if (!value.empty() && StringToInt(value, min, max, result)) { in GetIntParameter()
/base/notification/distributed_notification_service/services/ans/
Dlibans.map51 *StringToInt*;
/base/startup/init/services/include/
Dinit_utils.h68 int StringToInt(const char *str, int defaultValue);
/base/startup/init/test/moduletest/
Dparam_test_cmds.c204 int maxCount = StringToInt(argv[CMD_INDEX], -1); // 2 cmd index in BShellParamCmdWatch()
291 return StringToInt(begin, -1); in CalcValue()
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_preferences_database.h186 int32_t StringToInt(const std::string &str) const;
/base/startup/init/services/begetctl/
Dparam_cmd.c379 int index = StringToInt(argv[1], 0); in BShellParamCmdDump()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
Dnotification_preferences_database_branch_test.cpp757 EXPECT_EQ(preferncesDB_->StringToInt(str), 0);
/base/startup/init/services/utils/
Dinit_utils.c510 int StringToInt(const char *str, int defaultValue) in StringToInt() function