Home
last modified time | relevance | path

Searched refs:CheckType (Results 1 – 4 of 4) sorted by relevance

/base/update/updateservice/services/core/ability/utils/include/
Djson_utils.h47 if (!CheckType(jsonObject, key, value)) { in GetValueAndSetTo()
73 …static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, std::string &value) in CheckType() function
77 static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, int32_t &value) in CheckType() function
81 static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, uint32_t &value) in CheckType() function
85 static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, uint64_t &value) in CheckType() function
89 static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, bool &value) in CheckType() function
/base/security/access_token/interfaces/kits/common/src/
Dnapi_common.cpp40 bool CheckType(const napi_env& env, const napi_value& value, const napi_valuetype& type) in CheckType() function
53 if (!CheckType(env, value, napi_boolean)) { in ParseBool()
66 if (!CheckType(env, value, napi_number)) { in ParseInt32()
78 if (!CheckType(env, value, napi_number)) { in ParseInt64()
90 if (!CheckType(env, value, napi_number)) { in ParseUint32()
102 if (!CheckType(env, value, napi_string)) { in ParseString()
201 if (!CheckType(env, value, napi_function)) { in ParseCallback()
/base/security/access_token/interfaces/kits/common/include/
Dnapi_common.h40 bool CheckType(const napi_env& env, const napi_value& value, const napi_valuetype& type);
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dpermission_record_manager_napi.cpp395 if (!CheckType(env, argv[0], napi_object)) { in ParseGetPermissionUsedRecords()