/base/hiviewdfx/hiview/base/utility/ |
D | parameter_ex.cpp | 24 std::string GetString(const std::string& key, const std::string& defaultValue) in GetString() argument 26 return OHOS::system::GetParameter(key, defaultValue); in GetString() 29 int64_t GetInteger(const std::string& key, const int64_t defaultValue) in GetInteger() argument 31 return OHOS::system::GetIntParameter(key, defaultValue); in GetInteger() 34 uint64_t GetUnsignedInteger(const std::string& key, const uint64_t defaultValue) in GetUnsignedInteger() argument 36 return OHOS::system::GetUintParameter(key, defaultValue); in GetUnsignedInteger() 39 bool GetBoolean(const std::string& key, const bool defaultValue) in GetBoolean() argument 41 return OHOS::system::GetBoolParameter(key, defaultValue); in GetBoolean() 44 bool SetProperty(const std::string& key, const std::string& defaultValue) in SetProperty() argument 46 return OHOS::system::SetParameter(key, defaultValue); in SetProperty()
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
D | dgram_socket_client.cpp | 34 int defaultValue = -1; in CheckSocket() local 35 fdHandler.compare_exchange_strong(defaultValue, fd); in CheckSocket() 36 if (defaultValue != -1) { in CheckSocket() 37 ret = defaultValue; in CheckSocket()
|
/base/hiviewdfx/hiview/base/utility/include/ |
D | parameter_ex.h | 32 std::string GetString(const std::string& key, const std::string& defaultValue); 33 int64_t GetInteger(const std::string& key, const int64_t defaultValue); 34 uint64_t GetUnsignedInteger(const std::string& key, const uint64_t defaultValue); 35 bool GetBoolean(const std::string& key, const bool defaultValue); 36 bool SetProperty(const std::string& key, const std::string& defaultValue);
|
/base/startup/init/test/unittest/init/ |
D | utils_unittest.cpp | 56 int defaultValue = 1; variable 57 int ret = StringToInt(str, defaultValue); 60 ret = StringToInt(str, defaultValue);
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_cb_handler.h | 51 const int32_t defaultValue = -1; in MatchLocation() local 55 if (lac_ != defaultValue && lac_ != lac) { in MatchLocation() 58 if (cid_ != defaultValue && cid_ != cid) { in MatchLocation()
|
/base/update/updateservice/services/startup/manage/src/ |
D | schedule_config.cpp | 51 …_t ScheduleConfig::ParseConfig(nlohmann::json &root, const std::string &key, uint64_t defaultValue) in ParseConfig() argument 58 return defaultValue; in ParseConfig()
|
/base/update/updater/services/ui/view/component/ |
D | box_progress_adapter.cpp | 29 this->SetValue(spec.defaultValue); in BoxProgressAdapter() 44 if (info.defaultValue > MAX_PROGRESS_VALUE) { in IsValid() 45 LOG(ERROR) << "progress viewinfo check failed, defaultValue: " << info.defaultValue; in IsValid()
|
D | box_progress_adapter.h | 26 uint32_t defaultValue; member
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_util.cpp | 116 double ParseNumberValue(const napi_env env, const napi_value& value, double defaultValue = 0.0) in ParseNumberValue() argument 118 double numValue = defaultValue; in ParseNumberValue() 126 std::string ParseStringValue(const napi_env env, const napi_value& value, std::string defaultValue … in ParseStringValue() argument 133 return defaultValue; in ParseStringValue() 139 double ParseBigIntValue(const napi_env env, const napi_value& value, double defaultValue = 0.0) in ParseBigIntValue() argument 143 return defaultValue; in ParseBigIntValue() 147 double ret = defaultValue; in ParseBigIntValue() 149 int64_t int64Value = static_cast<int64_t>(defaultValue); in ParseBigIntValue() 153 uint64_t uint64Value = static_cast<uint64_t>(defaultValue); in ParseBigIntValue() 163 std::string GetTagAttribute(const napi_env env, const napi_value& object, std::string defaultValue … in GetTagAttribute() argument [all …]
|
/base/update/updateservice/services/startup/manage/include/ |
D | schedule_config.h | 31 … static uint64_t ParseConfig(nlohmann::json &root, const std::string &key, uint64_t defaultValue);
|
/base/usb/usb_manager/services/native/src/ |
D | usb_function_switch_window.cpp | 64 const char defaultValue[PARAM_BUF_LEN] = { 0 }; in PopUpFunctionSwitchWindow() local 66 …int32_t ret = GetParameter("persist.usb.setting.gadget_conn_prompt", defaultValue, paramValue, siz… in PopUpFunctionSwitchWindow()
|
/base/hiviewdfx/hiview/base/ |
D | hiview_global.cpp | 53 std::string HiviewGlobal::GetHiviewProperty(const std::string& key, const std::string& defaultValue) in GetHiviewProperty() argument 55 return context_.GetHiviewProperty(key, defaultValue); in GetHiviewProperty()
|
/base/useriam/face_auth/services_ex/src/ |
D | screen_brightness_task.cpp | 70 uint32_t GetUInt32Param(const char *key, uint32_t defaultValue) in GetUInt32Param() argument 72 std::string defaultStr = std::to_string(defaultValue); in GetUInt32Param() 77 return defaultValue; in GetUInt32Param() 89 return defaultValue; in GetUInt32Param()
|
/base/global/i18n/frameworks/intl/include/ |
D | plural_rules.h | 59 int GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultValue);
|
/base/hiviewdfx/hiview/base/include/ |
D | hiview_global.h | 36 std::string GetHiviewProperty(const std::string& key, const std::string& defaultValue);
|
D | plugin.h | 259 …ual std::string GetHiviewProperty(const std::string& key __UNUSED, const std::string& defaultValue) in GetHiviewProperty() argument 261 return defaultValue; in GetHiviewProperty()
|
/base/global/i18n/frameworks/intl/src/ |
D | plural_rules.cpp | 51 …PluralRules::GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultValue) in GetValidInteger() argument 56 validInteger = defaultValue; in GetValidInteger()
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_cb_handler.cpp | 157 const int32_t defaultValue = -1; in InitLocation() local 175 info.cid_ = defaultValue; in InitLocation() 182 info.cid_ = defaultValue; in InitLocation() 183 info.lac_ = defaultValue; in InitLocation()
|
/base/startup/init/services/include/ |
D | init_utils.h | 68 int StringToInt(const char *str, int defaultValue);
|
/base/hiviewdfx/hilog/frameworks/libhilog/param/ |
D | properties.cpp | 190 …CacheData(DataConverter converter, const T& defaultValue, PropType propType, const std::string& su… in CacheData() argument 191 …: m_value(defaultValue), m_defaultValue(defaultValue), m_propType(propType), m_converter(converter) in CacheData()
|
/base/update/updater/test/unittest/updater_ui_test/view/ |
D | ui_layout_unittest.cpp | 36 return std::tie(lhs.defaultValue, lhs.fgColor, lhs.bgColor, lhs.hasEp, lhs.endPoint) == in operator ==() 37 std::tie(rhs.defaultValue, rhs.fgColor, rhs.bgColor, rhs.hasEp, rhs.endPoint); in operator ==()
|
/base/update/updater/services/ui/ |
D | updater_ui_traits.h | 66 (uint32_t, defaultValue),
|
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/ |
D | ohos_account_manager_test.cpp | 55 const std::string &eventKey, const std::string &defaultValue) in GetAccountEventStr() argument 61 return defaultValue; in GetAccountEventStr()
|
/base/startup/init/services/utils/ |
D | init_utils.c | 510 int StringToInt(const char *str, int defaultValue) in StringToInt() argument 513 return defaultValue; in StringToInt() 517 return (errno != 0) ? defaultValue : value; in StringToInt()
|
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/ |
D | account_mgr_service_test.cpp | 70 const std::string &eventKey, const std::string &defaultValue) in GetAccountEventStr() argument 76 return defaultValue; in GetAccountEventStr()
|