Home
last modified time | relevance | path

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

1234567

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/src/
H A Dge_system_properties.cpp30 bool GESystemProperties::GetBoolSystemProperty(const char* name, bool defaultValue) in GetBoolSystemProperty()
42 int GESystemProperties::ConvertToInt(const char* originValue, int defaultValue) in ConvertToInt()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_scrollable.cpp27 EdgeEffect JSScrollable::ParseEdgeEffect(const JSRef<JSVal>& jsValue, EdgeEffect defaultValue) in ParseEdgeEffect()
37 bool JSScrollable::ParseAlwaysEnable(const JSRef<JSVal>& jsValue, bool defaultValue) in ParseAlwaysEnable()
48 DisplayMode JSScrollable::ParseDisplayMode(const JSCallbackInfo& info, DisplayMode defaultValue) in ParseDisplayMode()
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A 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()
H A 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()
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/mock/
H A 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dutils.h48 static T CheckRange(T min, T max, T defaultValue, T value) in CheckRange()
57 static T CheckMin(T min, T defaultValue, T value) in CheckMin()
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dfuture.h64 void Reset(T defaultValue) in Reset()
69 void ResetLock(T defaultValue) in ResetLock()
H A Dclass_var_definition.h29 #define DEFINE_VAR_DEFAULT(type, memberName, defaultValue) \ argument
80 #define DEFINE_VAR_DEFAULT_FUNC_GET(type, funcName, memberName, defaultValue) \ argument
84 #define DEFINE_VAR_DEFAULT_FUNC_SET(type, funcName, memberName, defaultValue) \ argument
98 #define DEFINE_VAR_DEFAULT_FUNC_GET_SET(type, funcName, memberName, defaultValue) \ argument
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A 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()
/ohos5.0/foundation/resourceschedule/memmgr/common/src/
H A Dxml_helper.cpp48 std::string key, int &dst, int defaultValue) in SetIntParam()
68 std::string key, unsigned int &dst, unsigned int defaultValue) in SetUnsignedIntParam()
133 std::string key, std::string &dst, std::string defaultValue) in SetStringParam()
/ohos5.0/base/notification/common_event_service/interfaces/kits/ndk/src/
H A 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()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_test.cpp1855 zchar defaultValue = U'文'; variable
2199 std::vector<long> defaultValue; variable
2212 std::vector<long> defaultValue; variable
2419 short defaultValue = 200; variable
2751 long defaultValue = 100; variable
2862 int defaultValue = 200; variable
2976 std::vector<int> defaultValue; variable
2997 std::vector<int> defaultValue; variable
3021 std::vector<int> defaultValue; variable
3086 float defaultValue = 100.1; variable
[all …]
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/socket/
H A Ddgram_socket_client.cpp34 int defaultValue = -1; in CheckSocket() local
/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Dwant_test.cpp2217 zchar defaultValue = U'文'; variable
2548 std::vector<long> defaultValue; variable
2560 std::vector<long> defaultValue; variable
2761 short defaultValue = 200; variable
3081 long defaultValue = 100; variable
3189 int defaultValue = 200; variable
3299 std::vector<int> defaultValue; variable
3319 std::vector<int> defaultValue; variable
3342 std::vector<int> defaultValue; variable
3406 float defaultValue = 100.1; variable
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/dynamic_cache/include/
H A Ddynamic_cache.h43 string defaultValue = "default"; in QueryResult() local
71 bool CanUseCache(int32_t querySaId, char* waterLine, string defaultValue) in CanUseCache()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_utils.h28 Value GetOrDefault(const std::map<Key, Value>& map, const Key& key, const Value& defaultValue) in GetOrDefault()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dimplementation_macros.h44 #define META_DEFINE_PROPERTY_VAR(intf, name, type, defaultValue, flags) … argument
58 #define META_DEFINE_PROPERTY_VARArray(intf, name, type, defaultValue, flags) … argument
71 #define META_DEFINE_READONLY_PROPERTY(propType, intf, name, type, defaultValue, flags) … argument
79 #define META_DEFINE_PROPERTY(propType, intf, name, type, defaultValue, flags) \ argument
87 #define META_DEFINE_READONLY_ARRAY_PROPERTY(propType, intf, name, type, defaultValue, flags) … argument
95 #define META_DEFINE_ARRAY_PROPERTY(propType, intf, name, type, defaultValue, flags) \ argument
103 #define META_GET_PROPERTY4(macro, propType, intf, type, name, defaultValue, flags) \ argument
106 #define META_GET_PROPERTY3(macro, propType, intf, type, name, defaultValue) \ argument
/ohos5.0/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_helper_test.cpp97 static void BuildDefaultValue(Print_DefaultValue &defaultValue) in BuildDefaultValue()
224 Print_DefaultValue defaultValue; variable
251 Print_DefaultValue defaultValue; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_render_node_bridge.h67 static T GetNumber(EcmaVM* vm, ArkUIRuntimeCallInfo* runtimeCallInfo, int index, T defaultValue) in GetNumber()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_datashare_helper.cpp58 …cessibilityDatashareHelper::GetStringValue(const std::string& key, const std::string& defaultValue) in GetStringValue()
98 …4_t AccessibilityDatashareHelper::GetLongValue(const std::string& key, const int64_t& defaultValue) in GetLongValue()
108 …32_t AccessibilityDatashareHelper::GetIntValue(const std::string& key, const int32_t& defaultValue) in GetIntValue()
114 bool AccessibilityDatashareHelper::GetBoolValue(const std::string& key, const bool& defaultValue) in GetBoolValue()
124 float AccessibilityDatashareHelper::GetFloatValue(const std::string& key, const float& defaultValue) in GetFloatValue()
/ohos5.0/base/security/security_guard/test/unittest/mock/preferences_wrapper/
H A Dpreferences_wrapper.h50 static int32_t GetInt(const std::string &key, int defaultValue) in GetInt()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Dnapi_common_fileaccess.cpp32 uint32_t UnwrapUint32FromJS(napi_env env, napi_value param, uint32_t defaultValue) in UnwrapUint32FromJS()
68 uint64_t UnwrapBigIntUint64FromJS(napi_env env, napi_value param, uint64_t defaultValue) in UnwrapBigIntUint64FromJS()
79 bool UnwrapBigIntUint64FromJS2(napi_env env, napi_value param, uint64_t &defaultValue) in UnwrapBigIntUint64FromJS2()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinfo_container.h33 T Get(Key key, const T &defaultValue) const in Get()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Dswitch_status_dependency_test.cpp74 std::string defaultValue = CONTINUE_SWITCH_ON; variable
/ohos5.0/foundation/multimedia/media_foundation/src/meta/
H A Dformat.cpp146 auto defaultValue = GetDefaultAnyValueOpt(key.data()); in PutIntValue() local
159 auto defaultValue = GetDefaultAnyValueOpt(key.data()); in PutLongValue() local
170 auto defaultValue = GetDefaultAnyValueOpt(key.data()); in PutFloatValue() local
182 auto defaultValue = GetDefaultAnyValueOpt(key.data()); in PutDoubleValue() local
194 auto defaultValue = GetDefaultAnyValueOpt(key.data()); in PutStringValue() local
206 auto defaultValue = GetDefaultAnyValueOpt(key.data()); in PutBuffer() local

1234567