| /base/hiviewdfx/hiview/base/utility/ |
| D | parameter_ex.cpp | 28 std::string GetString(const std::string& key, const std::string& defaultValue) in GetString() 33 int64_t GetInteger(const std::string& key, const int64_t defaultValue) in GetInteger() 38 uint64_t GetUnsignedInteger(const std::string& key, const uint64_t defaultValue) in GetUnsignedInteger() 43 bool GetBoolean(const std::string& key, const bool defaultValue) in GetBoolean() 48 bool SetProperty(const std::string& key, const std::string& defaultValue) in SetProperty()
|
| D | cjson_util.cpp | 36 int64_t GetIntValue(const cJSON* json, const std::string& key, int64_t defaultValue) in GetIntValue() 48 double GetDoubleValue(cJSON* json, const std::string& key, double defaultValue) in GetDoubleValue()
|
| /base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/mock/ |
| D | mock_parameter_ex.cpp | 32 std::string GetString(const std::string& key, const std::string& defaultValue) in GetString() 37 int64_t GetInteger(const std::string& key, const int64_t defaultValue) in GetInteger() 42 uint64_t GetUnsignedInteger(const std::string& key, const uint64_t defaultValue) in GetUnsignedInteger() 47 bool GetBoolean(const std::string& key, const bool defaultValue) in GetBoolean() 52 bool SetProperty(const std::string& key, const std::string& defaultValue) in SetProperty()
|
| /base/notification/common_event_service/interfaces/kits/ndk/src/ |
| D | oh_commonevent.cpp | 152 …t_GetIntFromParameters(const CommonEvent_Parameters* para, const char* key, const int defaultValue) in OH_CommonEvent_GetIntFromParameters() 181 const long defaultValue) in OH_CommonEvent_GetLongFromParameters() 210 const bool defaultValue) in OH_CommonEvent_GetBoolFromParameters() 239 const char defaultValue) in OH_CommonEvent_GetCharFromParameters() 268 const double defaultValue) in OH_CommonEvent_GetDoubleFromParameters()
|
| /base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
| D | dgram_socket_client.cpp | 34 int defaultValue = -1; in CheckSocket() local
|
| /base/security/security_guard/test/unittest/mock/preferences_wrapper/ |
| D | preferences_wrapper.h | 50 static int32_t GetInt(const std::string &key, int defaultValue) in GetInt()
|
| /base/update/updateservice/services/startup/manage/src/ |
| D | schedule_config.cpp | 52 …_t ScheduleConfig::ParseConfig(nlohmann::json &root, const std::string &key, uint64_t defaultValue) in ParseConfig()
|
| /base/security/security_guard/services/data_collect/store/src/ |
| D | preferences_wrapper.cpp | 46 int32_t PreferenceWrapper::GetInt(const std::string &key, int defaultValue) in GetInt()
|
| /base/update/updater/test/unittest/test_data/ui/layout/ |
| D | boxprogress.json | 14 "defaultValue" : 10, number
|
| D | all.json | 42 "defaultValue" : 10, number
|
| /base/web/webview/test/unittest/nweb_config_helper_test/ |
| D | nweb_config_helper_test.cpp | 371 int defaultValue = 10; variable 398 int defaultValue = 10; variable
|
| /base/update/updater/services/ui/view/component/ |
| D | box_progress_adapter.h | 26 uint32_t defaultValue; member
|
| /base/startup/init/test/unittest/init/ |
| D | utils_unittest.cpp | 56 int defaultValue = 1; variable
|
| /base/telephony/sms_mms/services/sms/include/gsm/ |
| D | gsm_sms_cb_handler.h | 50 const int32_t defaultValue = -1; in MatchLocation() local
|
| /base/web/webview/ohos_adapter/hiviewdfx_adapter/src/ |
| D | hitrace_adapter_impl.cpp | 31 uint64_t ConvertToUint64(const char *originValue, uint64_t defaultValue) in ConvertToUint64()
|
| /base/hiviewdfx/hiview/base/ |
| D | hiview_global.cpp | 53 std::string HiviewGlobal::GetHiviewProperty(const std::string& key, const std::string& defaultValue) in GetHiviewProperty()
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
| D | ark_system_properties_adapter_impl.cpp | 121 bool ArkSystemPropertiesAdapterImpl::GetBoolParameter(ArkWebString key, bool defaultValue) in GetBoolParameter()
|
| /base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
| D | napi_hisysevent_util.cpp | 162 double ParseNumberValue(const napi_env env, const napi_value& value, double defaultValue = 0.0) in ParseNumberValue() 172 std::string ParseStringValue(const napi_env env, const napi_value& value, std::string defaultValue … in ParseStringValue() 224 std::string GetTagAttribute(const napi_env env, const napi_value& object, std::string defaultValue … in GetTagAttribute() 240 const std::string& propertyName, std::string defaultValue = "") in GetStringTypeAttribute() 251 …ong GetLonglongTypeAttribute(const napi_env env, const napi_value& val, long long defaultValue = 0) in GetLonglongTypeAttribute() 266 int32_t ParseInt32Value(const napi_env env, const napi_value& value, int32_t defaultValue = 0) in ParseInt32Value() 278 const std::string& propertyName, int32_t defaultValue = 0) in GetInt32TypeAttribute()
|
| /base/global/i18n/frameworks/intl/src/ |
| D | plural_rules.cpp | 47 …PluralRules::GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultValue) in GetValidInteger()
|
| /base/web/webview/ohos_nweb/src/ |
| D | nweb_config_helper.cpp | 307 int defaultValue = 0; in ParseNWebLTPOConfig() local 413 int NWebConfigHelper::safeGetPropAsInt(xmlNode* node, const xmlChar* propName, int defaultValue) in safeGetPropAsInt()
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
| D | ark_system_properties_adapter_wrapper.cpp | 177 bool ArkSystemPropertiesAdapterWrapper::GetBoolParameter(const std::string& key, bool defaultValue) in GetBoolParameter()
|
| /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()
|
| /base/usb/usb_manager/services/native/src/ |
| D | usb_function_switch_window.cpp | 95 const char defaultValue[PARAM_BUF_LEN] = { 0 }; in PopUpFunctionSwitchWindow() local
|
| /base/telephony/sms_mms/services/sms/gsm/ |
| D | gsm_sms_cb_handler.cpp | 179 const int32_t defaultValue = -1; in InitLocation() local
|
| /base/web/webview/ohos_adapter/system_properties_adapter/src/ |
| D | system_properties_adapter_impl.cpp | 304 bool SystemPropertiesAdapterImpl::GetBoolParameter(const std::string& key, bool defaultValue) in GetBoolParameter()
|