Home
last modified time | relevance | path

Searched refs:needFree (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dc_code_emitter.cpp41 …const AutoPtr<ASTMethod> &method, bool needRW, bool needFree, StringBuilder &sb, const std::string… in EmitMethodNeedLoopVar() argument
49 if (EmitNeedLoopVar(param->GetType(), needRW, needFree)) { in EmitMethodNeedLoopVar()
56 bool CCodeEmitter::EmitNeedLoopVar(const AutoPtr<ASTType> &type, bool needRW, bool needFree) const in EmitNeedLoopVar()
74 auto freeNeedLoopVar = [needFree](const AutoPtr<ASTType> &elementType) -> bool { in EmitNeedLoopVar()
75 if (!needFree) { in EmitNeedLoopVar()
H A Dc_code_emitter.h32 bool needRW, bool needFree, StringBuilder &sb, const std::string &prefix) const;
34 bool EmitNeedLoopVar(const AutoPtr<ASTType> &type, bool needRW, bool needFree) const;
H A Dc_custom_types_code_emitter.h85 bool NeedEmitInitVar(const AutoPtr<ASTType> &type, bool needFree);
/ohos5.0/base/security/huks/frameworks/huks_standard/main/core/src/
H A Dhks_local_engine.c291 struct HksBlob *message, bool *needFree) in GetSignVerifyMessage() argument
296 *needFree = false; in GetSignVerifyMessage()
309 *needFree = true; in GetSignVerifyMessage()
323 bool needFree = true; in HksLocalSign() local
329 ret = GetSignVerifyMessage(&usageSpec, srcData, &message, &needFree); in HksLocalSign()
341 if (needFree) { in HksLocalSign()
356 bool needFree = true; in HksLocalVerify() local
363 ret = GetSignVerifyMessage(&usageSpec, srcData, &message, &needFree); in HksLocalVerify()
371 if (needFree) { in HksLocalVerify()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dhdi_c_code_emitter.cpp88 …const AutoPtr<ASTMethod> &method, bool needRW, bool needFree, StringBuilder &sb, const std::string… in EmitMethodNeedLoopVar() argument
96 if (EmitNeedLoopVar(param->GetType(), needRW, needFree)) { in EmitMethodNeedLoopVar()
103 bool HDICCodeEmitter::EmitNeedLoopVar(const AutoPtr<ASTType> &type, bool needRW, bool needFree) con… in EmitNeedLoopVar()
121 auto freeNeedLoopVar = [needFree](const AutoPtr<ASTType> &elementType) -> bool { in EmitNeedLoopVar()
122 if (!needFree) { in EmitNeedLoopVar()
H A Dhdi_c_code_emitter.h36 bool needRW, bool needFree, StringBuilder &sb, const std::string &prefix) const;
38 bool EmitNeedLoopVar(const AutoPtr<ASTType> &type, bool needRW, bool needFree) const;
H A Dc_custom_types_code_emitter.h86 bool NeedEmitInitVar(const AutoPtr<ASTType> &type, bool needFree);
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dmessage.c210 BOOL needFree = TRUE; in FreeReference() local
219 needFree = FALSE; in FreeReference()
224 if (needFree) { in FreeReference()
228 return needFree; in FreeReference()
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_key_operate_one_stage.c103 struct HksBlob *message, bool *needFree, const struct HksParamSet *paramSet) in GetSignVerifyMessage() argument
124 *needFree = false; in GetSignVerifyMessage()
140 *needFree = true; in GetSignVerifyMessage()
163 bool needFree = true; in SignVerify()
169 ret = GetSignVerifyMessage(keyNode->paramSet, srcData, &message, &needFree, paramSet); in SignVerify()
190 if (needFree) { in SignVerify()
/ohos5.0/drivers/liteos/hievent/src/
H A Dhiview_hievent.c394 int needFree = 1; in HiviewHieventFillPayload() local
418 needFree = 0; in HiviewHieventFillPayload()
421 if ((value != regularValue) && needFree) { in HiviewHieventFillPayload()
/ohos5.0/base/startup/init/services/init/include/
H A Dinit_service.h194 void CloseServiceFds(Service *service, bool needFree);
/ohos5.0/base/startup/init/services/init/
H A Dinit_common_service.c318 void CloseServiceFds(Service *service, bool needFree) in CloseServiceFds() argument
335 if (needFree && service->fds != NULL) { in CloseServiceFds()