Home
last modified time | relevance | path

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

12345678910>>...20

/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); \
62 free(ptr); \
70 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_()
175 free(g_rebootParamCmdInfos[i].name); in MODULE_DESTRUCTOR()
178 free(g_rebootParamCmdInfos[i].replace); in MODULE_DESTRUCTOR()
181 free(g_rebootParamCmdInfos[i].cmd); in MODULE_DESTRUCTOR()
[all …]
/base/security/code_signature/utils/src/
Dcert_utils.cpp41 free(*certChain); in ConstructDataToCertChain()
63 free(*certChain); in FreeCertChain()
69 free((*certChain)->certs[j].data); in FreeCertChain()
73 free((*certChain)->certs); in FreeCertChain()
75 free(*certChain); in FreeCertChain()
/base/startup/init/test/unittest/init/
Dservice_file_unittest.cpp50 free(fileOpt);
58 free(fileOpt);
66 free(fileOpt);
85 free(fileOpt);
86 free(wrongName);
/base/startup/init/simulator/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(aesCryptCxt->iv.ivBuf); in DeinitAesCryptData()
267 free(aesCryptCxt->data.key); in DeinitAesCryptData()
[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/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_log.c52 free(buf); in SelinuxHilog()
71 free(buf); in SelinuxHilog()
76 free(buf); in SelinuxHilog()
/base/hiviewdfx/faultloggerd/test/unittest/rustc_demangle/
Drustc_demangle_test.cpp65 std::free(res);
84 free(res);
102 std::free(res);
120 std::free(res);
/base/startup/init/services/init/
Dinit_config.c59 INIT_ERROR_CHECK(fileRoot != NULL, free(fileBuf); in ParseInitCfg()
64 free(fileBuf); in ParseInitCfg()
75 free(tmpParamValue); in ParseAllImports()
98 free(tmpParamValue); in ParseAllImports()
/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/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp135 free(comp[i].componentAddr); in CreatePackageZip()
136 free(comp[i].filePath); in CreatePackageZip()
137 free(comp[i].version); in CreatePackageZip()
139 free(pkgInfo.productUpdateId); in CreatePackageZip()
140 free(pkgInfo.softwareVersion); in CreatePackageZip()
141 free(pkgInfo.date); in CreatePackageZip()
142 free(pkgInfo.time); in CreatePackageZip()
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp163 free(comp[i].componentAddr); in CreatePackageBin()
164 free(comp[i].filePath); in CreatePackageBin()
165 free(comp[i].version); in CreatePackageBin()
168 free(pkgInfo.productUpdateId); in CreatePackageBin()
171 free(pkgInfo.softwareVersion); in CreatePackageBin()
174 free(pkgInfo.date); in CreatePackageBin()
177 free(pkgInfo.time); in CreatePackageBin()
179 free(comp); in CreatePackageBin()
/base/startup/init/ueventd/
Dueventd_read_cfg.c238 free(config); in ParseUeventdConfigFile()
259 free(buffer); in ParseUeventdConfigFile()
267 free(buffer); in ParseUeventdConfigFile()
404 free((void *)config->name); in FreeDeviceConfig()
405 free((void *)config->parameter); in FreeDeviceConfig()
407 free(config); in FreeDeviceConfig()
413 free((void *)config->sysPath); in FreeSysUdevConf()
414 free((void *)config->attr); in FreeSysUdevConf()
415 free(config); in FreeSysUdevConf()
421 free((void *)config->fmPath); in FreeFirmwareUdevConf()
[all …]
/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.cpp148 free(comp[i].componentAddr); in CreatePackageZip()
149 free(comp[i].filePath); in CreatePackageZip()
150 free(comp[i].version); in CreatePackageZip()
152 free(pkgInfo.productUpdateId); in CreatePackageZip()
153 free(pkgInfo.softwareVersion); in CreatePackageZip()
154 free(pkgInfo.date); in CreatePackageZip()
155 free(pkgInfo.time); in CreatePackageZip()
/base/security/dlp_permission_service/services/dlp_permission/sa/mock/
Ddlp_credential_service.c57 free(taskParams); in FreePackPolicyCallbackTaskPara()
61 free(taskParams->packParams->featureName); in FreePackPolicyCallbackTaskPara()
65 free(taskParams->packParams->data); in FreePackPolicyCallbackTaskPara()
68 free(taskParams->packParams); in FreePackPolicyCallbackTaskPara()
70 free(taskParams); in FreePackPolicyCallbackTaskPara()
79 free(taskParams); in FreeRestorePolicyCallbackTaskPara()
83 free(taskParams->encData->featureName); in FreeRestorePolicyCallbackTaskPara()
87 free(taskParams->encData->data); in FreeRestorePolicyCallbackTaskPara()
90 free(taskParams->encData); in FreeRestorePolicyCallbackTaskPara()
92 free(taskParams); in FreeRestorePolicyCallbackTaskPara()
[all …]
/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/modulemgr/
Dmodulemgr.c55 free((void *)moduleMgr); in ModuleMgrCreate()
69 BEGET_CHECK(moduleMgr->name == NULL, free((void *)moduleMgr->name)); in ModuleMgrDestroy()
70 free((void *)moduleMgr); in ModuleMgrDestroy()
92 BEGET_CHECK(module->name == NULL, free((void *)module->name)); in ModuleDestroy()
94 free((void *)module); in ModuleDestroy()
125 free(realPath); in ModuleInstall()
164 BEGET_CHECK(module->name != NULL, free(module); in ModuleMgrInstall()
229 free(moduleName); in ScanModules()
/base/notification/eventhandler/test/fuzztest/eventhandlerannex_fuzzer/
Deventhandlerannex_fuzzer.cpp60 free(ch); in LLVMFuzzerTestOneInput()
66 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/eventhandler/test/fuzztest/nativeimplementeventhandler_fuzzer/
Dnativeimplementeventhandler_fuzzer.cpp59 free(ch); in LLVMFuzzerTestOneInput()
65 free(ch); in LLVMFuzzerTestOneInput()

12345678910>>...20