Home
last modified time | relevance | path

Searched defs:jsonValue (Results 1 – 21 of 21) sorted by relevance

/base/powermgr/battery_statistics/utils/native/include/
Dstats_cjson_utils.h25 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/
Dpower_cjson_utils.h25 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/
Dbattery_mgr_cjson_utils.h26 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/
Ddisplay_cjson_utils.h25 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/
Dappevent_watcher_impl.cpp153 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/
Djson_parser_utils.cpp60 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/
Dprovision_verify.cpp87 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/
Dnapi_serialize.cpp54 napi_value jsonValue; in CrossSerialize() local
Dnapi_emitter.cpp41 napi_value jsonValue; in StringToNapiValue() local
/base/notification/distributed_notification_service/frameworks/reminder/test/unittest/
Dreminder_request_test.cpp1850 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/
Dbattery_config_test.cpp674 cJSON* jsonValue = g_configTest.GetValue(str); variable
/base/hiviewdfx/hiappevent/frameworks/ets/ani/hiappevent/src/
Dhiappevent_ani_util.cpp630 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/
Dfont_config.cpp28 cJSON *jsonValue = cJSON_Parse(CheckConfigFile(ConfigPath_).c_str()); in InsertFontRecord() local
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_util.cpp547 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/
Dhisysevent_ani_util.cpp590 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/
Dnapi_account_common.cpp582 napi_value jsonValue; in JsObjectToNativeString() local
613 napi_value jsonValue; in NativeStringToJsObject() local
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_val.cpp203 napi_value jsonValue = nullptr; in GetValObjectAsStr() local
/base/global/resource_management/frameworks/resmgr/src/
Dtheme_pack_resource.cpp180 cJSON *jsonValue = cJSON_Parse(jsonData); in ParseJson() local
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test_core_service.cpp769 std::string jsonValue = ""; variable
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp677 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/
Dvibration_priority_manager.cpp430 void VibrationPriorityManager::DeleteCJSONValue(cJSON *jsonValue) in DeleteCJSONValue()