Home
last modified time | relevance | path

Searched defs:def (Results 1 – 24 of 24) sorted by relevance

/base/startup/init/interfaces/innerkits/syspara/
Dparam_wrapper.cpp67 std::string GetParameter(const std::string& key, const std::string& def) in GetParameter()
84 bool GetBoolParameter(const std::string& key, bool def) in GetBoolParameter()
102 int GetStringParameter(const std::string &key, std::string &value, const std::string def) in GetStringParameter()
122 T GetIntParameter(const std::string& key, T def, T min, T max) in GetIntParameter()
141 T GetUintParameter(const std::string& key, T def, T max) in GetUintParameter()
176 int GetIntParameter(const std::string &key, int def) in GetIntParameter()
Dparam_comm.c69 INIT_LOCAL_API int GetParameter_(const char *key, const char *def, char *value, uint32_t len) in GetParameter_()
Dparameter.c83 int GetParameter(const char *key, const char *def, char *value, uint32_t len) in GetParameter()
333 int32_t GetIntParameter(const char *key, int32_t def) in GetIntParameter()
352 uint32_t GetUintParameter(const char *key, uint32_t def) in GetUintParameter()
/base/startup/appspawn/util/include/
Djson_utils.h44 …((always_inline)) inline bool GetBoolValueFromJsonObj(const cJSON *json, const char *key, bool def) in GetBoolValueFromJsonObj()
55 …s_inline)) inline uint32_t GetIntValueFromJsonObj(const cJSON *json, const char *key, uint32_t def) in GetIntValueFromJsonObj()
/base/security/asset/services/db_operator/src/test/
Dtest_database.rs59 let mut def = DbMap::from(DB_DATA); in open_db_and_insert_data() localVariable
122 let mut def = DbMap::from(DB_DATA); in insert_data_with_different_alias() localVariable
188 let mut def = DbMap::from(DB_DATA); in query_ordered_data() localVariable
242 let mut def = DbMap::from(DB_DATA); in backup_and_restore() localVariable
254 let mut def = DbMap::from(DB_DATA); in insert_duplicated_data() localVariable
/base/startup/appspawn/test/mock/
Dapp_spawn_stub.cpp54 bool GetIntParameter(const std::string &key, bool def, bool arg1 = false, bool arg2 = false) in GetIntParameter()
59 bool GetBoolParameter(const std::string &key, bool def) in GetBoolParameter()
126 int GetParameter(const char *key, const char *def, char *value, uint32_t len) in GetParameter()
/base/startup/init/test/fuzztest/getparametercpp_fuzzer/
Dgetparametercpp_fuzzer.cpp24 const std::string def = ""; in FuzzGetParameter() local
/base/powermgr/power_manager/utils/param/src/
Dsysparam.cpp39 int32_t SysParam::GetIntValue(const std::string& key, int32_t def) in GetIntValue()
/base/update/updateservice/services/core/ability/adapter/src/
Ddevice_adapter.cpp43 std::string DeviceAdapter::GetParameter(const std::string &key, const std::string &def) in GetParameter()
/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_util_test.cpp247 int32_t def = 0; variable
/base/startup/init/test/moduletest/
Dsyspara_moduleTest.cpp90 static void GetParameterTestReInt(const char *key, const char *def, char *value, uint32_t len) in GetParameterTestReInt()
97 static void GetParameterTestFuncReStr(string key, string def) in GetParameterTestFuncReStr()
/base/security/device_security_level/interfaces/inner_api/src/standard/
Ddevice_security_info.cpp118 int32_t def = 0; in GetSelfDeviceSecurityLevelValueImpl() local
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_definition_cache.cpp191 PermissionDef def; in RestorePermDefInfo() local
Dpermission_manager.cpp433 void PermissionManager::PermDefToString(const PermissionDef& def, std::string& info) const in PermDefToString() argument
461 PermissionDef def; in DumpPermDefInfo() local
Dpermission_policy_set.cpp503 void PermissionPolicySet::PermDefToString(const PermissionDef& def, std::string& info) const in PermDefToString() argument
/base/startup/appspawn/interfaces/innerkits_new/client/
Dappspawn_client.c41 static uint32_t GetDefaultTimeout(uint32_t def) in GetDefaultTimeout()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/accesstoken_mock_test/
Daccesstoken_kit_test.cpp217 PermissionDef def; variable
/base/startup/appspawn/modules/sandbox/
Dsandbox_load.c122 static unsigned long GetMountModeFromConfig(const cJSON *config, const char *key, unsigned long def) in GetMountModeFromConfig()
135 static uint32_t GetNameGroupTypeFromConfig(const cJSON *config, const char *key, unsigned long def) in GetNameGroupTypeFromConfig()
/base/startup/appspawn/util/src/
Dappspawn_utils.c402 uint32_t GetSpawnTimeout(uint32_t def) in GetSpawnTimeout()
/base/startup/init/simulator/parameter/src/
Dparameter_common.c59 int GetParameter(const char *key, const char *def, char *value, unsigned int len) in GetParameter()
/base/telephony/ril_adapter/services/vendor/src/
Dvendor_util.c127 long def = 1000L; in SetWaitTimeout() local
/base/customization/config_policy/frameworks/config_policy/src/
Dconfig_policy_utils.c332 static char *ExpandStr(char *src, const char *def, QueryFunc queryFunc) in ExpandStr()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Daccesstoken_info_manager.cpp466 for (const auto& def : policy.permList) { in GetPolicyCopied() local
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp1894 PermissionDef def = { variable