| /base/powermgr/battery_statistics/utils/native/include/ |
| D | stats_cjson_utils.h | 25 inline bool IsValidJsonString(const cJSON* jsonValue) in IsValidJsonString() 30 inline bool IsValidJsonStringAndNoEmpty(const cJSON* jsonValue) in IsValidJsonStringAndNoEmpty() 36 inline bool IsValidJsonNumber(const cJSON* jsonValue) in IsValidJsonNumber() 41 inline bool IsValidJsonObject(const cJSON* jsonValue) in IsValidJsonObject() 46 inline bool IsValidJsonArray(const cJSON* jsonValue) in IsValidJsonArray() 51 inline bool IsValidJsonBool(const cJSON* jsonValue) in IsValidJsonBool() 56 inline bool IsValidJsonObjectOrJsonArray(const cJSON* jsonValue) in IsValidJsonObjectOrJsonArray()
|
| /base/powermgr/power_manager/utils/native/include/ |
| D | power_cjson_utils.h | 25 inline bool IsValidJsonString(const cJSON* jsonValue) in IsValidJsonString() 30 inline bool IsValidJsonStringAndNoEmpty(const cJSON* jsonValue) in IsValidJsonStringAndNoEmpty() 36 inline bool IsValidJsonNumber(const cJSON* jsonValue) in IsValidJsonNumber() 41 inline bool IsValidJsonObject(const cJSON* jsonValue) in IsValidJsonObject() 46 inline bool IsValidJsonArray(const cJSON* jsonValue) in IsValidJsonArray() 51 inline bool IsValidJsonBool(const cJSON* jsonValue) in IsValidJsonBool() 56 inline bool IsValidJsonObjectOrJsonArray(const cJSON* jsonValue) in IsValidJsonObjectOrJsonArray()
|
| /base/powermgr/battery_manager/utils/native/include/ |
| D | battery_mgr_cjson_utils.h | 26 inline bool IsEmptyJsonParse(const cJSON* jsonValue) in IsEmptyJsonParse() 32 inline bool IsValidJsonStringAndNoEmpty(const cJSON* jsonValue) in IsValidJsonStringAndNoEmpty() 38 inline bool IsValidJsonObject(const cJSON* jsonValue) in IsValidJsonObject() 43 inline bool IsValidJsonString(const cJSON* jsonValue) in IsValidJsonString() 48 inline bool IsValidJsonNumber(const cJSON* jsonValue) in IsValidJsonNumber() 53 inline bool IsValidJsonArray(const cJSON* jsonValue) in IsValidJsonArray() 58 inline bool IsJsonArrayOrJsonObject(const cJSON* jsonValue) in IsJsonArrayOrJsonObject()
|
| /base/powermgr/display_manager/state_manager/utils/native/include/ |
| D | display_cjson_utils.h | 25 inline bool IsValidJsonObject(const cJSON* jsonValue) in IsValidJsonObject() 30 inline bool IsValidJsonString(const cJSON* jsonValue) in IsValidJsonString() 35 inline bool IsValidJsonStringAndNoEmpty(const cJSON* jsonValue) in IsValidJsonStringAndNoEmpty() 41 inline bool IsValidJsonNumber(const cJSON* jsonValue) in IsValidJsonNumber() 46 inline bool IsValidJsonArray(const cJSON* jsonValue) in IsValidJsonArray() 51 inline bool IsValidJsonBool(const cJSON* jsonValue) in IsValidJsonBool()
|
| /base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
| D | appevent_watcher_impl.cpp | 153 void ConvertArrBool(CParameters &retValue, const Json::Value& jsonValue) in ConvertArrBool() 167 void ConvertArrInt(CParameters &retValue, const Json::Value& jsonValue) in ConvertArrInt() 181 void ConvertArrInt64(CParameters &retValue, const Json::Value& jsonValue) in ConvertArrInt64() 195 void CovertArrDouble(CParameters &retValue, const Json::Value& jsonValue) in CovertArrDouble() 209 void CovertArrString(CParameters &retValue, const Json::Value& jsonValue) in CovertArrString() 223 void CovertArrObjStr(CParameters &retValue, const Json::Value& jsonValue) in CovertArrObjStr() 239 bool CheckArrBool(const Json::Value& jsonValue) in CheckArrBool() 250 bool CheckArrInt(const Json::Value& jsonValue) in CheckArrInt() 261 bool CheckArrInt64(const Json::Value& jsonValue) in CheckArrInt64() 272 bool CheckArrDouble(const Json::Value& jsonValue) in CheckArrDouble() [all …]
|
| /base/security/appverify/interfaces/innerkits/appverify/src/init/ |
| D | json_parser_utils.cpp | 60 cJSON* jsonValue = cJSON_GetObjectItemCaseSensitive(json, key.c_str()); in GetJsonString() local 72 cJSON* jsonValue = cJSON_GetObjectItemCaseSensitive(json, key.c_str()); in GetJsonInt() local
|
| /base/security/appverify/interfaces/innerkits/appverify/src/provision/ |
| D | provision_verify.cpp | 87 cJSON* jsonValue = cJSON_GetObjectItemCaseSensitive(obj, key.c_str()); in GetStringIfExist() local 98 cJSON* jsonValue = cJSON_GetObjectItemCaseSensitive(obj, key.c_str()); in GetInt32IfExist() local 109 cJSON* jsonValue = cJSON_GetObjectItemCaseSensitive(obj, key.c_str()); in GetInt64IfExist() local 252 cJSON* jsonValue = cJSON_GetObjectItemCaseSensitive(obj, KEY_APP_SERVICES_CAPABILITIES.c_str()); in from_json() local
|
| /base/notification/eventhandler/frameworks/emitter/napi/src/ |
| D | napi_serialize.cpp | 54 napi_value jsonValue; in CrossSerialize() local
|
| D | napi_emitter.cpp | 41 napi_value jsonValue; in StringToNapiValue() local
|
| /base/notification/distributed_notification_service/frameworks/reminder/test/unittest/ |
| D | reminder_request_test.cpp | 1850 std::string jsonValue = ""; variable 1912 std::string jsonValue = ""; variable 1987 std::string jsonValue = ""; variable 2050 std::string jsonValue = R"({"type":"1","title":"test","resource":"resource"})"; variable 2092 std::string jsonValue = R"({"type":"1","title":"test","resource":"resource"})"; variable 2316 std::string jsonValue = R"([{"type":1, "title":"111", "titleResource":""}])"; variable
|
| /base/powermgr/battery_manager/test/unittest/src/scenario_test/ |
| D | battery_config_test.cpp | 674 cJSON* jsonValue = g_configTest.GetValue(str); variable
|
| /base/hiviewdfx/hiappevent/frameworks/ets/ani/hiappevent/src/ |
| D | hiappevent_ani_util.cpp | 630 static ani_ref CreateBaseValueByJson(ani_env *env, const Json::Value& jsonValue) in CreateBaseValueByJson() 667 static ani_ref CreateValueByJson(ani_env *env, const Json::Value& jsonValue) in CreateValueByJson() 721 Json::Value jsonValue; in CreateValueByJsonStr() local
|
| /base/global/font_manager/frameworks/fontmgr/src/ |
| D | font_config.cpp | 28 cJSON *jsonValue = cJSON_Parse(CheckConfigFile(ConfigPath_).c_str()); in InsertFontRecord() local
|
| /base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
| D | napi_util.cpp | 547 napi_value CreateBaseValueByJson(const napi_env env, const Json::Value& jsonValue) in CreateBaseValueByJson() 567 napi_value CreateValueByJson(napi_env env, const Json::Value& jsonValue) in CreateValueByJson() 590 Json::Value jsonValue; in CreateValueByJsonStr() local
|
| /base/hiviewdfx/hisysevent/interfaces/ets/ani/hisysevent/src/ |
| D | hisysevent_ani_util.cpp | 590 static bool CreateParamItemTypeValue(ani_env *env, Json::Value& jsonValue, ani_object& value) in CreateParamItemTypeValue() 654 … AppendParamsInfo(ani_env *env, ani_object& sysEventInfo, std::string& key, Json::Value& jsonValue) in AppendParamsInfo()
|
| /base/account/os_account/interfaces/kits/napi/common/src/ |
| D | napi_account_common.cpp | 582 napi_value jsonValue; in JsObjectToNativeString() local 613 napi_value jsonValue; in NativeStringToJsObject() local
|
| /base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/ |
| D | n_val.cpp | 203 napi_value jsonValue = nullptr; in GetValObjectAsStr() local
|
| /base/global/resource_management/frameworks/resmgr/src/ |
| D | theme_pack_resource.cpp | 180 cJSON *jsonValue = cJSON_Parse(jsonData); in ParseJson() local
|
| /base/telephony/core_service/test/unittest/core_service_gtest/ |
| D | zero_branch_test_core_service.cpp | 769 std::string jsonValue = ""; variable
|
| /base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
| D | napi_hisysevent_util.cpp | 677 bool CreateParamItemTypeValue(const napi_env env, Json::Value& jsonValue, napi_value& value) in CreateParamItemTypeValue() 727 …dParamsInfo(const napi_env env, napi_value& params, const std::string& key, Json::Value& jsonValue) in AppendParamsInfo()
|
| /base/sensors/miscdevice/services/miscdevice_service/src/ |
| D | vibration_priority_manager.cpp | 430 void VibrationPriorityManager::DeleteCJSONValue(cJSON *jsonValue) in DeleteCJSONValue()
|