Home
last modified time | relevance | path

Searched defs:defaultValue (Results 1 – 25 of 39) sorted by relevance

12

/base/hiviewdfx/hiview/base/utility/
Dparameter_ex.cpp28 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()
Dcjson_util.cpp36 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/
Dmock_parameter_ex.cpp32 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/
Doh_commonevent.cpp152 …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/
Ddgram_socket_client.cpp34 int defaultValue = -1; in CheckSocket() local
/base/security/security_guard/test/unittest/mock/preferences_wrapper/
Dpreferences_wrapper.h50 static int32_t GetInt(const std::string &key, int defaultValue) in GetInt()
/base/update/updateservice/services/startup/manage/src/
Dschedule_config.cpp52 …_t ScheduleConfig::ParseConfig(nlohmann::json &root, const std::string &key, uint64_t defaultValue) in ParseConfig()
/base/security/security_guard/services/data_collect/store/src/
Dpreferences_wrapper.cpp46 int32_t PreferenceWrapper::GetInt(const std::string &key, int defaultValue) in GetInt()
/base/update/updater/test/unittest/test_data/ui/layout/
Dboxprogress.json14 "defaultValue" : 10, number
Dall.json42 "defaultValue" : 10, number
/base/web/webview/test/unittest/nweb_config_helper_test/
Dnweb_config_helper_test.cpp371 int defaultValue = 10; variable
398 int defaultValue = 10; variable
/base/update/updater/services/ui/view/component/
Dbox_progress_adapter.h26 uint32_t defaultValue; member
/base/startup/init/test/unittest/init/
Dutils_unittest.cpp56 int defaultValue = 1; variable
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_cb_handler.h50 const int32_t defaultValue = -1; in MatchLocation() local
/base/web/webview/ohos_adapter/hiviewdfx_adapter/src/
Dhitrace_adapter_impl.cpp31 uint64_t ConvertToUint64(const char *originValue, uint64_t defaultValue) in ConvertToUint64()
/base/hiviewdfx/hiview/base/
Dhiview_global.cpp53 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/
Dark_system_properties_adapter_impl.cpp121 bool ArkSystemPropertiesAdapterImpl::GetBoolParameter(ArkWebString key, bool defaultValue) in GetBoolParameter()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp162 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/
Dplural_rules.cpp47 …PluralRules::GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultValue) in GetValidInteger()
/base/web/webview/ohos_nweb/src/
Dnweb_config_helper.cpp307 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/
Dark_system_properties_adapter_wrapper.cpp177 bool ArkSystemPropertiesAdapterWrapper::GetBoolParameter(const std::string& key, bool defaultValue) in GetBoolParameter()
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
Daccount_mgr_service_test.cpp70 const std::string &eventKey, const std::string &defaultValue) in GetAccountEventStr()
/base/usb/usb_manager/services/native/src/
Dusb_function_switch_window.cpp95 const char defaultValue[PARAM_BUF_LEN] = { 0 }; in PopUpFunctionSwitchWindow() local
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_cb_handler.cpp179 const int32_t defaultValue = -1; in InitLocation() local
/base/web/webview/ohos_adapter/system_properties_adapter/src/
Dsystem_properties_adapter_impl.cpp304 bool SystemPropertiesAdapterImpl::GetBoolParameter(const std::string& key, bool defaultValue) in GetBoolParameter()

12