Lines Matching defs:root
121 cJSON *root = cJSON_Parse(content);
124 if (root == nullptr) {
125 DATA_STORAGE_LOGE("ParserUtil::ParserPdpProfileJson root is error!");
129 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_OPERATOR_INFOS);
132 cJSON_Delete(root);
134 root = nullptr;
138 cJSON_Delete(root);
140 root = nullptr;
243 cJSON *root = cJSON_Parse(content);
246 if (root == nullptr) {
247 DATA_STORAGE_LOGE("ParserUtil::ParserOpKeyInfos root is error!");
250 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_OPERATOR_ID);
253 cJSON_Delete(root);
255 root = nullptr;
259 cJSON_Delete(root);
261 root = nullptr;
358 cJSON *root = cJSON_Parse(content);
361 if (root == nullptr) {
362 DATA_STORAGE_LOGE("ParserUtil::ParserNumMatchJson root is error!\n");
365 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_NUM_MATCH_INFOS);
368 cJSON_Delete(root);
370 root = nullptr;
374 cJSON_Delete(root);
376 root = nullptr;
451 cJSON *root = cJSON_Parse(content);
454 if (root == nullptr) {
455 DATA_STORAGE_LOGE("ParserUtil::ParserEccDataJson root is error!");
459 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_OPERATOR_INFOS);
462 cJSON_Delete(root);
464 root = nullptr;
468 cJSON_Delete(root);
470 root = nullptr;