Home
last modified time | relevance | path

Searched refs:cJSON_Delete (Results 1 – 25 of 39) sorted by relevance

12

/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
Dnativetoken_oper_test.cpp79 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/
Dnativetoken_json_oper.c128 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 …]
Dnativetoken.c188 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/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/src/
Dhks_bms_api_wrap.cpp68 cJSON_Delete(jsonObj); in ConvertHapInfoToJson()
75 cJSON_Delete(jsonObj); in ConvertHapInfoToJson()
81 cJSON_Delete(jsonObj); in ConvertHapInfoToJson()
/base/security/permission_lite/services/pms/src/
Dpms_impl.c185 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/
Djson_utils.c54 cJSON_Delete(jsonObj); in FreeJson()
76 cJSON_Delete(cJSON_DetachItemViaPointer(jsonObj, curItem)); in DeleteAllItemExceptOne()
92 cJSON_Delete(cJSON_DetachItemViaPointer(jsonObj, curItem)); in DeleteAllItem()
338 cJSON_Delete(tmpObj); in AddObjToJson()
343 cJSON_Delete(tmpObj); in AddObjToJson()
385 cJSON_Delete(strObj); in AddStringToArray()
409 cJSON_Delete(tmp); in AddStringToJson()
461 cJSON_Delete(tmp); in AddBoolToJson()
486 cJSON_Delete(tmp); in AddIntToJson()
517 cJSON_Delete(strArrayObj); in AddStringArrayToJson()
/base/startup/appspawn/lite/
Dappspawn_message.c175 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/device_auth/test/unittest/deviceauth/source/
Djson_utils_mock.c111 cJSON_Delete(jsonObj); in FreeJson()
133 cJSON_Delete(cJSON_DetachItemViaPointer(jsonObj, curItem)); in DeleteAllItemExceptOne()
149 cJSON_Delete(cJSON_DetachItemViaPointer(jsonObj, curItem)); in DeleteAllItem()
396 cJSON_Delete(tmpObj); in AddObjToJson()
401 cJSON_Delete(tmpObj); in AddObjToJson()
443 cJSON_Delete(strObj); in AddStringToArray()
467 cJSON_Delete(tmp); in AddStringToJson()
519 cJSON_Delete(tmp); in AddBoolToJson()
544 cJSON_Delete(tmp); in AddIntToJson()
575 cJSON_Delete(strArrayObj); in AddStringArrayToJson()
/base/startup/init/test/unittest/init/
Dservice_unittest.cpp81 cJSON_Delete(jobItem);
124 cJSON_Delete(jobItem);
152 cJSON_Delete(jobItem);
215 cJSON_Delete(jobItem);
268 cJSON_Delete(jobItem);
280 cJSON_Delete(jobItem);
339 cJSON_Delete(fileRoot);
Dgroup_unittest.cpp230 cJSON_Delete(fileRoot);
290 cJSON_Delete(fileRoot);
324 cJSON_Delete(fileRoot);
360 cJSON_Delete(jobItem);
/base/update/updater/services/updater_binary/
Dupdate_partitions.cpp85 cJSON_Delete(root); in ParsePartitionInfo()
91 cJSON_Delete(root); in ParsePartitionInfo()
100 cJSON_Delete(root); in ParsePartitionInfo()
110 cJSON_Delete(root); in ParsePartitionInfo()
/base/msdp/device_status/services/interaction/coordination/include/
Dcoordination_util.h31 cJSON_Delete(json); in ~JsonParser()
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
Dnativetoken_oper_test.cpp89 cJSON_Delete(jsonRoot);
118 cJSON_Delete(jsonRoot);
150 cJSON_Delete(jsonRoot);
195 cJSON_Delete(jsonRoot);
236 cJSON_Delete(jsonRoot);
/base/security/permission_lite/services/pms_client/
Dperm_client.c220 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/
Ddevicestatus_data_define.h50 cJSON_Delete(json); in ~JsonParser()
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
Djsonutil.c33 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/
DcJSON.h62 void cJSON_Delete(cJSON* item);
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_softbus_adapter.cpp319 cJSON_Delete(jsonStr); in StartRemoteCoordination()
355 cJSON_Delete(jsonStr); in StartRemoteCoordinationResult()
379 cJSON_Delete(jsonStr); in StopRemoteCoordination()
404 cJSON_Delete(jsonStr); in StopRemoteCoordinationResult()
431 cJSON_Delete(jsonStr); in NotifyUnchainedResult()
455 cJSON_Delete(jsonStr); in NotifyFilterAdded()
481 cJSON_Delete(jsonStr); in StartCoordinationOtherResult()
Ddevice_profile_adapter.cpp56 cJSON_Delete(data); in UpdateCrossingSwitchState()
90 cJSON_Delete(data); in UpdateCrossingSwitchState()
/base/startup/init/services/init/
Dinit_config.c63 cJSON_Delete(fileRoot); in ParseInitCfg()
/base/sensors/miscdevice/utils/src/
Djson_parser.cpp52 cJSON_Delete(cJson_); in ~JsonParser()
/base/update/updater/services/ui/view/layout/
Dlayout_parser.cpp32 using cJSONPtr = std::unique_ptr<cJSON, decltype(&cJSON_Delete)>;
/base/update/updater/utils/json/
Djson_node.h40 using cJSONPtr = std::unique_ptr<cJSON, decltype(&cJSON_Delete)>;
/base/security/device_security_level/baselib/utils/src/
Dutils_json.c41 cJSON_Delete((cJSON *)handle); in DestroyJson()
/base/update/updateservice/services/firmware/check/include/
Dfirmware_icheck.h124 ENGINE_CHECK(item != nullptr, cJSON_Delete(root); in ParseJsonFile()

12