| /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/hiviewdfx/hiview/base/utility/ |
| D | parameter_ex.cpp | 29 std::string GetString(const std::string& key, const std::string& defaultValue) in GetString() 34 int64_t GetInteger(const std::string& key, const int64_t defaultValue) in GetInteger() 39 uint64_t GetUnsignedInteger(const std::string& key, const uint64_t defaultValue) in GetUnsignedInteger() 44 bool GetBoolean(const std::string& key, const bool defaultValue) in GetBoolean() 49 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/print/print_fwk/services/print_service/src/ |
| D | vendor_helper.cpp | 314 void LogDefaultValue(const Print_DefaultValue *defaultValue) in LogDefaultValue() 460 const Print_DefaultValue *defaultValue) in UpdatePageSizeCapability() 591 …UpdateResolutionDefaultValue(PrinterCapability &printerCap, const Print_DefaultValue *defaultValue) in UpdateResolutionDefaultValue() 605 const Print_DefaultValue *defaultValue) in UpdateCopiesCapability() 617 const Print_DefaultValue *defaultValue) in UpdateOrientationCapability() 641 const Print_DefaultValue *defaultValue) in UpdateMediaCapability() 668 bool UpdateMarginCapability(PrinterCapability &printerCap, const Print_DefaultValue *defaultValue) in UpdateMarginCapability() 686 const Print_DefaultValue *defaultValue) in UpdatePrinterCapability() 712 … const Print_PrinterCapability *capability, const Print_DefaultValue *defaultValue) in UpdatePrinterInfoWithCapability() 743 … const Print_DefaultValue *defaultValue) in ConvertVendorCapabilityToPrinterInfo()
|
| D | vendor_bsuni_driver.cpp | 125 … const Print_DefaultValue *defaultValue, const char *ppdData) in AddPrinterToCups() 172 const Print_DefaultValue *defaultValue) in OnCapabilityQueried() 413 const Print_DefaultValue *defaultValue) in OnPrinterCapabilityQueried()
|
| /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/print/print_fwk/test/unittest/fwk_vendor_manager_test/ |
| D | vendor_helper_test.cpp | 97 static void BuildDefaultValue(Print_DefaultValue &defaultValue) in BuildDefaultValue() 224 Print_DefaultValue defaultValue; variable 251 Print_DefaultValue defaultValue; variable
|
| /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/print/print_fwk/test/unittest/others/ |
| D | print_cups_client_vendor_helper_other_test.cpp | 1426 Print_DefaultValue defaultValue; in TEST_F() local 1447 Print_DefaultValue defaultValue; in TEST_F() local 1661 const Print_DefaultValue *defaultValue = nullptr; in TEST_F() local 1668 const Print_DefaultValue *defaultValue = nullptr; in TEST_F() local 1675 const Print_DefaultValue defaultValue; in TEST_F() local 1682 const Print_DefaultValue defaultValue; in TEST_F() local 1689 const Print_DefaultValue defaultValue; in TEST_F() local 1696 const Print_DefaultValue defaultValue; in TEST_F() local 1703 const Print_DefaultValue defaultValue; in TEST_F() local 1710 const Print_DefaultValue defaultValue; in TEST_F() local [all …]
|
| /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/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
| D | ark_system_properties_adapter_impl.cpp | 133 bool ArkSystemPropertiesAdapterImpl::GetBoolParameter(ArkWebString key, bool defaultValue) in GetBoolParameter()
|
| /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 | 199 bool ArkSystemPropertiesAdapterWrapper::GetBoolParameter(const std::string& key, bool defaultValue) in GetBoolParameter()
|