/base/security/huks/frameworks/huks_standard/main/common/include/ |
D | hks_mem.h | 46 #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/ |
D | reboot_static.c | 59 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/ |
D | cert_utils.cpp | 41 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/ |
D | service_file_unittest.cpp | 50 free(fileOpt); 58 free(fileOpt); 66 free(fileOpt); 85 free(fileOpt); 86 free(wrongName);
|
/base/startup/init/simulator/parameter/src/param_impl_posix/ |
D | param_impl_posix.c | 77 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/ |
D | cipher_rsa.c | 56 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 …]
|
D | cipher_log.c | 39 free(buf); in CipherLog() 49 free(buf); in CipherLog() 54 free(buf); in CipherLog()
|
D | cipher_log_lite.c | 40 free(buf); in CipherLog() 54 free(buf); in CipherLog() 59 free(buf); in CipherLog()
|
D | cipher_aes.c | 79 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/ |
D | dev_slinfo_list.c | 72 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/ |
D | selinux_log.c | 52 free(buf); in SelinuxHilog() 71 free(buf); in SelinuxHilog() 76 free(buf); in SelinuxHilog()
|
/base/hiviewdfx/faultloggerd/test/unittest/rustc_demangle/ |
D | rustc_demangle_test.cpp | 65 std::free(res); 84 free(res); 102 std::free(res); 120 std::free(res);
|
/base/startup/init/services/init/ |
D | init_config.c | 59 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/ |
D | appspawn_message.c | 43 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/ |
D | sys_installer_fuzzer.cpp | 135 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/ |
D | updater_binary_unittest.cpp | 163 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/ |
D | ueventd_read_cfg.c | 238 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/ |
D | global.c | 135 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/ |
D | UpdaterStartUpdaterProc_fuzzer.cpp | 148 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/ |
D | dlp_credential_service.c | 57 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/ |
D | getstickycommonevent_fuzzer.cpp | 45 free(ch); in LLVMFuzzerTestOneInput() 51 free(ch); in LLVMFuzzerTestOneInput()
|
/base/startup/init/interfaces/innerkits/modulemgr/ |
D | modulemgr.c | 55 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/ |
D | eventhandlerannex_fuzzer.cpp | 60 free(ch); in LLVMFuzzerTestOneInput() 66 free(ch); in LLVMFuzzerTestOneInput()
|
/base/notification/eventhandler/test/fuzztest/epolliowaiter_fuzzer/ |
D | epolliowaiter_fuzzer.cpp | 58 free(ch); in LLVMFuzzerTestOneInput() 64 free(ch); in LLVMFuzzerTestOneInput()
|
/base/notification/eventhandler/test/fuzztest/nativeimplementeventhandler_fuzzer/ |
D | nativeimplementeventhandler_fuzzer.cpp | 59 free(ch); in LLVMFuzzerTestOneInput() 65 free(ch); in LLVMFuzzerTestOneInput()
|