Home
last modified time | relevance | path

Searched refs:cJSON_Parse (Results 1 – 25 of 31) sorted by relevance

12

/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
Dnativetoken_oper_test.cpp77 cJSON* jsonroot = cJSON_Parse(stringJson1.c_str());
84 jsonroot = cJSON_Parse(stringJson1.c_str());
97 jsonroot = cJSON_Parse(stringJson1.c_str());
114 cJSON* jsonroot = cJSON_Parse(stringJson1);
121 cJSON* jsonroot2 = cJSON_Parse(stringJson2);
128 cJSON* jsonroot3 = cJSON_Parse(stringJson3);
143 cJSON* jsonroot = cJSON_Parse(stringJson1);
149 jsonroot = cJSON_Parse(stringJson2);
156 jsonroot = cJSON_Parse(stringJson3);
163 jsonroot = cJSON_Parse(stringJson4);
[all …]
/base/startup/init/test/unittest/init/
Dservice_unittest.cpp66 cJSON* jobItem = cJSON_Parse(jsonStr);
89 cJSON* jobItem = cJSON_Parse(jsonStr);
132 cJSON* jobItem = cJSON_Parse(jsonStr);
188 cJSON* jobItem = cJSON_Parse(serviceStr);
260 cJSON* jobItem = cJSON_Parse(jsonStr);
272 jobItem = cJSON_Parse(jsonStr1);
320 cJSON *fileRoot = cJSON_Parse(serviceStr);
Dgroup_unittest.cpp226 cJSON *fileRoot = cJSON_Parse(serviceStr);
286 cJSON *fileRoot = cJSON_Parse(serviceStr);
320 cJSON *fileRoot = cJSON_Parse(serviceStr);
343 cJSON* jobItem = cJSON_Parse(jsonStr);
Dcmds_unittest.cpp238 cJSON* jobItem = cJSON_Parse(jsonStr);
/base/sensors/miscdevice/utils/src/
Djson_parser.cpp36 cJson_ = cJSON_Parse(jsonStr.c_str()); in JsonParser()
46 cJson_ = cJSON_Parse(jsonStr.c_str()); in JsonParser()
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
Dnativetoken_oper_test.cpp79 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
110 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
141 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
176 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
222 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/
DcJSON.h66 cJSON* cJSON_Parse(const char* value);
/base/update/updater/utils/json/
Djson_node.cpp38 JsonNode::JsonNode(const std::string &str, bool needDelete) : JsonNode(cJSON_Parse(str.c_str()), ne… in JsonNode()
57 cJSON *root = cJSON_Parse(content.c_str()); in JsonNode()
/base/startup/init/services/init/
Dinit_config.c58 cJSON *fileRoot = cJSON_Parse(fileBuf); in ParseInitCfg()
Dinit_group_manager.c71 cJSON *fileRoot = cJSON_Parse(fileBuf); in InitParseGroupCfg_()
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
Djsonutil.c25 root = cJSON_Parse(data); in parse_json()
/base/security/device_security_level/baselib/utils/src/
Dutils_json.c31 root = cJSON_Parse(data); in CreateJson()
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken.c183 record = cJSON_Parse(fileBuff); in ParseTokenInfo()
375 record = cJSON_Parse(fileBuff); in SaveTokenIdToCfg()
604 record = cJSON_Parse(fileBuff); in UpdateInfoInCfgFile()
/base/msdp/device_status/libs/src/
Ddevicestatus_data_parse.cpp84 parser.json = cJSON_Parse(fileData.c_str()); in DeviceStatusDataInit()
/base/update/updateservice/services/firmware/check/include/
Dfirmware_icheck.h121 cJSON *root = cJSON_Parse(buffer.data()); in ParseJsonFile()
/base/update/updater/services/updater_binary/
Dupdate_partitions.cpp77 cJSON* root = cJSON_Parse(partitionInfo.c_str()); in ParsePartitionInfo()
/base/msdp/device_status/services/interaction/coordination/src/
Ddevice_profile_adapter.cpp104 parser.json = cJSON_Parse(jsonData.c_str()); in GetCrossingSwitchState()
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/
DcJSON.c325 cJSON* cJSON_Parse(const char *value) in cJSON_Parse() function
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c293 cJSON *root = cJSON_Parse(pfStr); in ParseProfile()
/base/security/permission_lite/services/pms_client/
Dperm_client.c208 cJSON *root = cJSON_Parse(jsonStr); in ParsePermissions()
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c31 return cJSON_Parse(jsonStr); in CreateJsonFromString()
/base/startup/init/test/unittest/lite/
Dcmd_func_test.cpp792 cJSON *fileRoot = cJSON_Parse(fileBuf);
952 cJSON* jobItem = cJSON_Parse(cfgJson.c_str());
/base/security/device_auth/test/unittest/deviceauth/source/
Djson_utils_mock.c79 return cJSON_Parse(jsonStr); in CreateJsonFromString()
/base/startup/init/services/modules/trace/
Dinit_trace.c118 workspace->jsonRootNode = cJSON_Parse(fileBuf); in InitTraceWorkspace()
/base/update/updater/services/ptable_parse/
Dptable.cpp110 cJSONPtr root(cJSON_Parse(content.c_str()), cJSON_Delete); in ParsePtableData()

12