Home
last modified time | relevance | path

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

12

/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/hiviewdfx/hiview/base/utility/
Dparameter_ex.cpp29 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()
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/print/print_fwk/services/print_service/src/
Dvendor_helper.cpp314 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()
743const Print_DefaultValue *defaultValue) in ConvertVendorCapabilityToPrinterInfo()
Dvendor_bsuni_driver.cpp125const 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/
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/print/print_fwk/test/unittest/fwk_vendor_manager_test/
Dvendor_helper_test.cpp97 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/
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/print/print_fwk/test/unittest/others/
Dprint_cups_client_vendor_helper_other_test.cpp1426 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/
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/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
Dark_system_properties_adapter_impl.cpp133 bool ArkSystemPropertiesAdapterImpl::GetBoolParameter(ArkWebString key, bool defaultValue) in GetBoolParameter()
/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.cpp199 bool ArkSystemPropertiesAdapterWrapper::GetBoolParameter(const std::string& key, bool defaultValue) in GetBoolParameter()

12