/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/include/ |
H A D | cast_stream_common.h | 38 #define RETURN_IF_PARSE_WRONG(value, data, key, ret, jsonType) \ 40 if (!(data).contains(key) || !(data)[key].is_##jsonType()) { \
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/include/ |
H A D | cast_stream_common.h | 38 #define RETURN_IF_PARSE_WRONG(value, data, key, ret, jsonType) \ 40 if (!(data).contains(key) || !(data)[key].is_##jsonType()) { \
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | inner_mission_info.cpp | 168 bool InnerMissionInfo::CheckJsonNode(nlohmann::json &value, const std::string &node, JsonType jsonType) in CheckJsonNode() argument 175 if (jsonType == JsonType::NUMBER) { in CheckJsonNode() 178 if (jsonType == JsonType::STRING) { in CheckJsonNode() 181 if (jsonType == JsonType::BOOLEAN) { in CheckJsonNode()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | json_util.h | 111 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey() 118 switch (jsonType) { in GetValueIfFindKey() 147 APP_LOGE("type error %{public}s not jsonType", key.c_str()); in GetValueIfFindKey() 186 JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) in GetBigStringIfFindKey() 192 switch (jsonType) { in GetBigStringIfFindKey() 202 APP_LOGE("type error %{public}s not jsonType", key.c_str()); in GetBigStringIfFindKey() 110 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument 184 GetBigStringIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetBigStringIfFindKey() argument
|
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrrest_fuzzer/ |
H A D | abilitymgrrest_fuzzer.cpp | 70 JsonType jsonType = JsonType::STRING; in DoSomethingInterestingWithMyAPI() local 71 return innerMissionInfo.CheckJsonNode(value, node, jsonType); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | inner_mission_info.h | 58 bool CheckJsonNode(nlohmann::json &value, const std::string &node, JsonType jsonType);
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/ |
H A D | json_util.h | 99 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult,
in GetValueIfFindKey() 106 switch (jsonType) {
in GetValueIfFindKey() 154 HILOG_DEBUG("type is error %{public}s is not jsonType", key.c_str());
in GetValueIfFindKey() 98 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument
|
/foundation/ability/form_fwk/services/include/ |
H A D | json_util_form.h | 98 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey() 105 switch (jsonType) { in GetValueIfFindKey() 150 HILOG_ERROR("type is error %{public}s not jsonType", key.c_str()); in GetValueIfFindKey() 97 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/ |
H A D | json_util.h | 100 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult,
in GetValueIfFindKey() 107 switch (jsonType) {
in GetValueIfFindKey() 152 HILOGE("type is error %{public}s is not jsonType", key.c_str());
in GetValueIfFindKey() 99 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/ |
H A D | json_util.h | 102 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey() 109 switch (jsonType) { in GetValueIfFindKey() 157 TAG_LOGD(AAFwkTag::ABILITY_SIM, "type:%{public}s not jsonType", key.c_str()); in GetValueIfFindKey() 101 GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, ArrayType arrayType) GetValueIfFindKey() argument
|