Home
last modified time | relevance | path

Searched refs:cJSON_Parse (Results 1 – 25 of 26) 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 …]
Dnativetoken_kit_test.cpp111 record = cJSON_Parse(fileBuff); in DeleteNodeInFile()
/base/startup/init/test/unittest/init/
Dservice_unittest.cpp58 cJSON* jobItem = cJSON_Parse(jsonStr);
80 cJSON* jobItem = cJSON_Parse(jsonStr);
123 cJSON* jobItem = cJSON_Parse(jsonStr);
182 cJSON* jobItem = cJSON_Parse(serviceStr);
253 cJSON* jobItem = cJSON_Parse(jsonStr);
264 jobItem = cJSON_Parse(jsonStr1);
311 cJSON *fileRoot = cJSON_Parse(serviceStr);
Dgroup_unittest.cpp208 cJSON *fileRoot = cJSON_Parse(serviceStr);
267 cJSON *fileRoot = cJSON_Parse(serviceStr);
300 cJSON *fileRoot = cJSON_Parse(serviceStr);
322 cJSON* jobItem = cJSON_Parse(jsonStr);
Dcmds_unittest.cpp245 cJSON* jobItem = cJSON_Parse(jsonStr);
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
Dnativetoken_oper_test.cpp77 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
108 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
139 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
174 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
220 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/
DcJSON.h68 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/sensors/miscdevice/utils/src/
Djson_parser.cpp36 cJson_ = cJSON_Parse(jsonStr.c_str()); in JsonParser()
/base/startup/init/services/init/
Dinit_config.c50 cJSON *fileRoot = cJSON_Parse(fileBuf); in ParseInitCfg()
Dinit_group_manager.c71 cJSON *fileRoot = cJSON_Parse(fileBuf); in InitParseGroupCfg_()
/base/security/device_security_level/baselib/utils/src/
Dutils_json.c31 root = cJSON_Parse(data); in CreateJson()
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
Djsonutil.c25 root = cJSON_Parse(data); in parse_json()
/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.cpp48 parser.json_ = cJSON_Parse(fileData.c_str()); in DataInit()
/base/update/updater/services/updater_binary/
Dupdate_partitions.cpp34 cJSON* root = cJSON_Parse(partitionInfo.c_str()); in ParsePartitionInfo()
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/
DcJSON.c371 cJSON* cJSON_Parse(const char *value) in cJSON_Parse() function
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c287 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.cpp793 cJSON *fileRoot = cJSON_Parse(fileBuf);
956 cJSON* jobItem = cJSON_Parse(cfgJson.c_str());
/base/update/updater/services/ptable_parse/
Dptable.cpp95 cJSONPtr root(cJSON_Parse(content.c_str()), cJSON_Delete); in ParsePtableData()
/base/startup/init/test/unittest/param/
Dtrigger_unittest.cpp88 cJSON *fileRoot = cJSON_Parse(fileBuf); in ParseInitCfg()
/base/startup/init/interfaces/innerkits/sandbox/
Dsandbox.c355 cJSON *root = cJSON_Parse(contents); in ParseInitSandboxConfigFile()
/base/security/permission_lite/services/pms/src/
Dpms_impl.c177 cJSON *root = cJSON_Parse(jsonStr); in ParsePermissions()

12