/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_oper_test.cpp | 79 cJSON_Delete(jsonroot); 86 cJSON_Delete(jsonroot); 99 cJSON_Delete(jsonroot); 116 cJSON_Delete(jsonroot); 123 cJSON_Delete(jsonroot2); 130 cJSON_Delete(jsonroot3); 151 cJSON_Delete(jsonroot); 158 cJSON_Delete(jsonroot); 165 cJSON_Delete(jsonroot); 188 cJSON_Delete(jsonroot); [all …]
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken_json_oper.c | 128 cJSON_Delete(item); in AddStrArrayInfo() 129 cJSON_Delete(strJsonArr); in AddStrArrayInfo() 135 cJSON_Delete(strJsonArr); in AddStrArrayInfo() 146 cJSON_Delete(item); in SetNativeTokenJsonObject() 153 cJSON_Delete(item); in SetNativeTokenJsonObject() 160 cJSON_Delete(item); in SetNativeTokenJsonObject() 167 cJSON_Delete(item); in SetNativeTokenJsonObject() 174 cJSON_Delete(item); in SetNativeTokenJsonObject() 200 cJSON_Delete(object); in CreateNativeTokenJsonObject() 218 cJSON_Delete(strArrJson); in UpdateStrArrayType() [all …]
|
D | nativetoken.c | 188 cJSON_Delete(record); in ParseTokenInfo() 387 cJSON_Delete(record); in SaveTokenIdToCfg() 393 cJSON_Delete(record); in SaveTokenIdToCfg() 617 cJSON_Delete(record); in UpdateInfoInCfgFile() 622 cJSON_Delete(record); in UpdateInfoInCfgFile()
|
/base/update/updater/services/updater_binary/ |
D | update_partitions.cpp | 37 … UPDATER_ERROR_CHECK(partitions != nullptr, "Error get Partitions", cJSON_Delete(root); return -1); in ParsePartitionInfo() 39 …UPDATER_ERROR_CHECK(number > MIN_PARTITIONS_NUM, "Error partitions number < 3", cJSON_Delete(root)… in ParsePartitionInfo() 40 …UPDATER_ERROR_CHECK(number < MAX_PARTITIONS_NUM, "Error partitions number > 20", cJSON_Delete(root… in ParsePartitionInfo() 47 cJSON_Delete(root); in ParsePartitionInfo() 77 cJSON_Delete(root); in ParsePartitionInfo()
|
/base/security/permission_lite/services/pms/src/ |
D | pms_impl.c | 185 cJSON_Delete(root); in ParsePermissions() 190 cJSON_Delete(root); in ParsePermissions() 197 cJSON_Delete(root); in ParsePermissions() 204 cJSON_Delete(root); in ParsePermissions() 211 cJSON_Delete(root); in ParsePermissions() 245 cJSON_Delete(root); in SavePermissions() 251 cJSON_Delete(array); in SavePermissions() 252 cJSON_Delete(root); in SavePermissions() 260 cJSON_Delete(array); in SavePermissions() 261 cJSON_Delete(root); in SavePermissions() [all …]
|
/base/security/device_auth/common_lib/impl/src/ |
D | json_utils.c | 54 cJSON_Delete(jsonObj); in FreeJson() 76 cJSON_Delete(cJSON_DetachItemViaPointer(jsonObj, curItem)); in DeleteAllItemExceptOne() 92 cJSON_Delete(cJSON_DetachItemViaPointer(jsonObj, curItem)); in DeleteAllItem() 322 cJSON_Delete(tmpObj); in AddObjToJson() 327 cJSON_Delete(tmpObj); in AddObjToJson() 369 cJSON_Delete(strObj); in AddStringToArray() 393 cJSON_Delete(tmp); in AddStringToJson() 445 cJSON_Delete(tmp); in AddBoolToJson() 470 cJSON_Delete(tmp); in AddIntToJson() 501 cJSON_Delete(strArrayObj); in AddStringArrayToJson()
|
/base/startup/appspawn_lite/services/src/ |
D | appspawn_message.c | 173 cJSON_Delete(rootJ); in SplitMessage() 181 cJSON_Delete(rootJ); in SplitMessage() 193 cJSON_Delete(rootJ); in SplitMessage() 197 cJSON_Delete(rootJ); in SplitMessage()
|
/base/startup/appspawn/lite/ |
D | appspawn_message.c | 175 cJSON_Delete(rootJ); in SplitMessage() 183 cJSON_Delete(rootJ); in SplitMessage() 195 cJSON_Delete(rootJ); in SplitMessage() 199 cJSON_Delete(rootJ); in SplitMessage()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/ |
D | nativetoken_oper_test.cpp | 87 cJSON_Delete(jsonRoot); 116 cJSON_Delete(jsonRoot); 148 cJSON_Delete(jsonRoot); 193 cJSON_Delete(jsonRoot); 234 cJSON_Delete(jsonRoot);
|
/base/security/permission_lite/services/pms_client/ |
D | perm_client.c | 220 cJSON_Delete(root); in ParsePermissions() 226 cJSON_Delete(root); in ParsePermissions() 236 cJSON_Delete(root); in ParsePermissions() 242 cJSON_Delete(root); in ParsePermissions() 248 cJSON_Delete(root); in ParsePermissions() 256 cJSON_Delete(root); in ParsePermissions()
|
/base/msdp/device_status/libs/include/ |
D | devicestatus_data_define.h | 51 cJSON_Delete(json_); in ~JsonParser()
|
/base/startup/init/test/unittest/init/ |
D | group_unittest.cpp | 211 cJSON_Delete(fileRoot); 270 cJSON_Delete(fileRoot); 303 cJSON_Delete(fileRoot); 339 cJSON_Delete(jobItem);
|
D | cmds_unittest.cpp | 262 cJSON_Delete(jobItem);
|
/base/security/device_auth/frameworks/deviceauth_lite/source/json/ |
D | jsonutil.c | 33 cJSON_Delete((cJSON *)handle); in free_json() 148 cJSON_Delete((cJSON *)obj); in delete_json_object()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/ |
D | cJSON.h | 64 void cJSON_Delete(cJSON* item);
|
/base/sensors/miscdevice/utils/src/ |
D | json_parser.cpp | 42 cJSON_Delete(cJson_); in ~JsonParser()
|
/base/startup/init/services/init/ |
D | init_config.c | 55 cJSON_Delete(fileRoot); in ParseInitCfg()
|
D | init_group_manager.c | 78 cJSON_Delete(fileRoot); in InitParseGroupCfg_()
|
/base/update/updater/utils/json/ |
D | json_node.h | 40 using cJSONPtr = std::unique_ptr<cJSON, decltype(&cJSON_Delete)>;
|
D | json_node.cpp | 84 cJSON_Delete(const_cast<cJSON *>(root)); in Init()
|
/base/update/updateservice/services/engine/src/ |
D | update_service.cpp | 681 ENGINE_CHECK(item != nullptr, cJSON_Delete(root); return -1, "Error get searchStatus"); in ParseJsonFile() 685 ENGINE_CHECK(item != nullptr, cJSON_Delete(root); return -1, "Error get errMsg"); in ParseJsonFile() 689 ENGINE_CHECK(results != nullptr, cJSON_Delete(root); return -1, "Error get checkResults"); in ParseJsonFile() 691 ENGINE_CHECK(ret == 0, cJSON_Delete(root); return -1, "Error get checkResults"); in ParseJsonFile() 694 ENGINE_CHECK(descriptInfo != nullptr, cJSON_Delete(root); return -1, "Error get descriptInfo"); in ParseJsonFile() 696 ENGINE_CHECK(ret == 0, cJSON_Delete(root); return -1, "Error get descriptInfo"); in ParseJsonFile() 698 cJSON_Delete(root); in ParseJsonFile()
|
/base/update/updater/services/ui/view/layout/ |
D | layout_parser.cpp | 42 using cJSONPtr = std::unique_ptr<cJSON, decltype(&cJSON_Delete)>;
|
/base/security/device_security_level/baselib/utils/src/ |
D | utils_json.c | 41 cJSON_Delete((cJSON *)handle); in DestroyJson()
|
/base/startup/init/services/modules/bootevent/ |
D | bootevent.c | 214 cJSON_Delete(root); in SaveServiceBootEvent() 220 cJSON_Delete(root); in SaveServiceBootEvent()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_provision.c | 326 cJSON_Delete(root); in ParseProfile() 330 cJSON_Delete(root); in ParseProfile()
|