Home
last modified time | relevance | path

Searched refs:free (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/base/startup/syspara_lite/frameworks/parameter/src/param_impl_posix/
Dparam_impl_posix.c77 free(keyPath); in GetSysParam()
82 free(keyPath); in GetSysParam()
86 free(keyPath); in GetSysParam()
90 free(keyPath); in GetSysParam()
116 free(keyPath); in SetSysParam()
120 free(keyPath); in SetSysParam()
/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_rsa.c56 free(privateKey); in RsaMallocPrivateKey()
63 free(privateKey); in RsaMallocPrivateKey()
71 free(privateKey); in RsaMallocPrivateKey()
97 free(pubKey); in RsaMallocPublicKey()
104 free(pubKey); in RsaMallocPublicKey()
112 free(pubKey); in RsaMallocPublicKey()
164 free(finalKey); in RsaLoadPrivateKey()
169 free(finalKey); in RsaLoadPrivateKey()
206 free(finalKey); in RsaLoadPublicKey()
211 free(finalKey); in RsaLoadPublicKey()
[all …]
Dcipher_log.c39 free(buf); in CipherLog()
49 free(buf); in CipherLog()
54 free(buf); in CipherLog()
Dcipher_log_lite.c40 free(buf); in CipherLog()
54 free(buf); in CipherLog()
59 free(buf); in CipherLog()
Dcipher_aes.c79 free(decData); in MallocDecodeData()
105 free(encData); in MallocEncodeData()
130 free(ctx->iv.ivBuf); in SetIv()
169 free(ivBuf); in InitAesCryptContext()
173 free(ivBuf); in InitAesCryptContext()
203 free(data->text); in InitAesCryptDataText()
242 free(data->key); in InitAesData()
249 free(data->text); in InitAesData()
261 free(ctx->iv.ivBuf); in DeinitAesCryptData()
267 free(ctx->data.key); in DeinitAesCryptData()
[all …]
/base/update/updater/services/fs_manager/
Dpartitions.cpp98 free(realPath); in ReadDeviceSysfsFile()
104 free(realPath); in ReadDeviceSysfsFile()
109 free(realPath); in ReadDeviceSysfsFile()
164 devname.c_str(), type.c_str()) != -1, free(partInf); return partString); in ReadPartitionFromSys()
167 devname.c_str(), partn.c_str(), type.c_str()) != -1, free(partInf); return partString); in ReadPartitionFromSys()
170 free(partInf); in ReadPartitionFromSys()
174 …UPDATER_CHECK_ONLY_RETURN(fgets(buf, BUFFER_SIZE, f) != nullptr, fclose(f); free(partInf); return … in ReadPartitionFromSys()
179 sizeof(buf) - table.size()) == 0, fclose(f); free(partInf); return partString); in ReadPartitionFromSys()
186 fclose(f); free(partInf); return partString); in ReadPartitionFromSys()
192 fclose(f); free(partInf); return partString); in ReadPartitionFromSys()
[all …]
/base/security/dataclassification/frameworks/datatransmitmgr/
Ddev_slinfo_list.c72 free(pList->callbackParams); in RemoveListNode()
75 free(pList); in RemoveListNode()
96 free(delList->callbackParams); in ClearList()
99 free(delList); in ClearList()
103 free(list->callbackParams); in ClearList()
105 free(list); in ClearList()
139 free(tmpCallback->callbackParams); in LookupCallback()
142 free(tmpCallback); in LookupCallback()
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_mem.h46 #define HKS_FREE_PTR(p) SELF_FREE_PTR(p, free)
48 #define HksFree(p) SELF_FREE_PTR(p, free)
52 free((blob).data); \
/base/startup/init/services/modules/reboot/
Dreboot_static.c59 PLUGIN_CHECK(ret > 0, free(tmp); in Dup2String()
73 free(cmdName); in CheckParamCmdExist()
77 free(cmdName); in CheckParamCmdExist()
101 free(currInfo->name); in SetParamCmdInfo()
104 free(currInfo->cmd); in SetParamCmdInfo()
107 free(currInfo->replace); in SetParamCmdInfo()
127 free(g_rebootParamCmdInfos); in AddRebootCmdExecutor_()
/base/security/selinux/interfaces/policycoreutils/src/
Dselinux_log.c52 free(buf); in SelinuxHilog()
71 free(buf); in SelinuxHilog()
76 free(buf); in SelinuxHilog()
/base/startup/init/services/init/
Dinit_config.c51 INIT_ERROR_CHECK(fileRoot != NULL, free(fileBuf); in ParseInitCfg()
56 free(fileBuf); in ParseInitCfg()
67 free(tmpParamValue); in ParseAllImports()
90 free(tmpParamValue); in ParseAllImports()
Dinit_group_manager.c72 INIT_ERROR_CHECK(fileRoot != NULL, free(fileBuf); in InitParseGroupCfg_()
79 free(fileBuf); in InitParseGroupCfg_()
89 free(groupNode); in InitImportGroupCfg_()
103 free(groupNode); in InitFreeGroupNodes_()
158 free(groupNode); in GroupNodeFree()
196 free(data); in InitServiceSpace()
237 INIT_ERROR_CHECK(ret == 0, free(groupNode); in AddGroupNode()
291 free(groupNode); in DelGroupNode()
/base/startup/init/test/unittest/init/
Dservice_file_unittest.cpp50 free(fileOpt);
58 free(fileOpt);
65 free(fileOpt);
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp148 free(comp[i].componentAddr); in CreatePackageBin()
149 free(comp[i].filePath); in CreatePackageBin()
150 free(comp[i].version); in CreatePackageBin()
153 free(pkgInfo.productUpdateId); in CreatePackageBin()
156 free(pkgInfo.softwareVersion); in CreatePackageBin()
159 free(pkgInfo.date); in CreatePackageBin()
162 free(pkgInfo.time); in CreatePackageBin()
164 free(comp); in CreatePackageBin()
/base/startup/appspawn_lite/services/src/
Dappspawn_message.c42 free(targetSt->bundleName); in FreeMessageSt()
47 free(targetSt->identityID); in FreeMessageSt()
52 free(targetSt->caps); in FreeMessageSt()
84 free(bufTmp); in ReadStringItem()
135 free(msgSt->caps); in GetCaps()
143 free(msgSt->caps); in GetCaps()
/base/startup/appspawn/lite/
Dappspawn_message.c43 free(targetSt->bundleName); in FreeMessageSt()
48 free(targetSt->identityID); in FreeMessageSt()
53 free(targetSt->caps); in FreeMessageSt()
85 free(bufTmp); in ReadStringItem()
136 free(msgSt->caps); in GetCaps()
144 free(msgSt->caps); in GetCaps()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal.c135 free(idItem->value); in FreeIdItem()
136 free(idItem->name); in FreeIdItem()
144 free(*value); in FreeValue()
176 free(idHeader.idParams); in GLOBAL_GetValueByIdInternal()
182 free(idHeader.idParams); in GLOBAL_GetValueByIdInternal()
192 free(idHeader.idParams); in GLOBAL_GetValueByIdInternal()
243 free(idHeader.idParams); in GLOBAL_GetValueByNameInternal()
253 free(idHeader.idParams); in GLOBAL_GetValueByNameInternal()
263 free(idHeader.idParams); in GLOBAL_GetValueByNameInternal()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp133 free(comp[i].componentAddr); in CreatePackageZip()
134 free(comp[i].filePath); in CreatePackageZip()
135 free(comp[i].version); in CreatePackageZip()
137 free(pkgInfo.productUpdateId); in CreatePackageZip()
138 free(pkgInfo.softwareVersion); in CreatePackageZip()
139 free(pkgInfo.date); in CreatePackageZip()
140 free(pkgInfo.time); in CreatePackageZip()
/base/notification/common_event_service/test/fuzztest/getstickycommonevent_fuzzer/
Dgetstickycommonevent_fuzzer.cpp45 free(ch); in LLVMFuzzerTestOneInput()
51 free(ch); in LLVMFuzzerTestOneInput()
/base/startup/init/interfaces/innerkits/fs_manager/
Dfstab.c94 free(item->deviceName); in ReleaseFstabItem()
99 free(item->mountPoint); in ReleaseFstabItem()
104 free(item->fsType); in ReleaseFstabItem()
109 free(item->mountOptions); in ReleaseFstabItem()
113 free(item); in ReleaseFstabItem()
126 free(fstab); in ReleaseFstab()
204 free(realPath); in ReadFstabFromFile()
249 free(line); in ReadFstabFromFile()
314 free(buffer); in GetFstabFile()
422 free(g_fscryptPolicy); in StoreFscryptPolicy()
[all …]
/base/notification/eventhandler/test/fuzztest/innerevent_fuzzer/
Dinnerevent_fuzzer.cpp52 free(ch); in LLVMFuzzerTestOneInput()
58 free(ch); in LLVMFuzzerTestOneInput()
/base/notification/eventhandler/test/fuzztest/eventhandlerannex_fuzzer/
Deventhandlerannex_fuzzer.cpp60 free(ch); in LLVMFuzzerTestOneInput()
66 free(ch); in LLVMFuzzerTestOneInput()
/base/notification/eventhandler/test/fuzztest/nativeimplementeventhandler_fuzzer/
Dnativeimplementeventhandler_fuzzer.cpp59 free(ch); in LLVMFuzzerTestOneInput()
65 free(ch); in LLVMFuzzerTestOneInput()
/base/notification/eventhandler/test/fuzztest/epolliowaiter_fuzzer/
Depolliowaiter_fuzzer.cpp58 free(ch); in LLVMFuzzerTestOneInput()
64 free(ch); in LLVMFuzzerTestOneInput()
/base/notification/common_event_service/test/fuzztest/commoneventpublishinfo_fuzzer/
Dcommoneventpublishinfo_fuzzer.cpp57 free(ch); in LLVMFuzzerTestOneInput()
63 free(ch); in LLVMFuzzerTestOneInput()

12345678910>>...17