Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_attribute.h48 enum class ParamAttr { enum
55 explicit ASTParamAttr(ParamAttr value) : ASTNode(), value_(value) {} in ASTParamAttr()
62 ParamAttr value_;
Dast_parameter.cpp22 if (attr_->value_ == ParamAttr::PARAM_IN) { in Dump()
59 if (attr_->value_ == ParamAttr::PARAM_IN) { in EmitCParameter()
64 … if (type_->GetTypeKind() == TypeKind::TYPE_STRING && attr_->value_ == ParamAttr::PARAM_OUT) { in EmitCParameter()
72 if (attr_->value_ == ParamAttr::PARAM_IN) { in EmitCParameter()
78 … ", uint32_t%s %sLen", (attr_->value_ == ParamAttr::PARAM_IN) ? "" : "*", name_.c_str()); in EmitCParameter()
89 if (attr_->value_ == ParamAttr::PARAM_IN) { in EmitCppParameter()
248 if (attr_->value_ == ParamAttr::PARAM_IN) { in EmitJavaWriteVar()
263 if (attr_->value_ == ParamAttr::PARAM_OUT) { in EmitJavaReadVar()
Dast_parameter.h21 ASTParameter(const std::string &name, ParamAttr attribute, const AutoPtr<ASTType> &type) in ASTParameter()
41 inline ParamAttr GetAttribute() in GetAttribute()
Dast_attribute.cpp70 return StringHelper::Format("[%s]", (value_ == ParamAttr::PARAM_IN) ? "in" : "out"); in ToString()
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Djava_client_proxy_code_emitter.h57 ParamAttr attribute, StringBuilder &sb, const std::string &prefix);
60 const AutoPtr<ASTArrayType> &arrayType, ParamAttr attribute, StringBuilder &sb,
Dc_service_stub_code_emitter.h74 …StringBuilder &sb, const AutoPtr<ASTType> &type, ParamAttr attribute, const std::string &name) con…
Dcpp_service_stub_code_emitter.cpp241 if (param->GetAttribute() == ParamAttr::PARAM_IN && in GetSourceOtherLibInclusions()
246 if (param->GetAttribute() == ParamAttr::PARAM_OUT && in GetSourceOtherLibInclusions()
409 if (param->GetAttribute() == ParamAttr::PARAM_IN) { in EmitStubStaticMethodImpl()
424 if (param->GetAttribute() == ParamAttr::PARAM_OUT) { in EmitStubStaticMethodImpl()
521 if (param->GetAttribute() == ParamAttr::PARAM_IN) { in GetUtilMethods()
Dcpp_client_proxy_code_emitter.cpp325 if (param->GetAttribute() == ParamAttr::PARAM_IN && in GetSourceOtherLibInclusions()
330 if (param->GetAttribute() == ParamAttr::PARAM_OUT && in GetSourceOtherLibInclusions()
539 if (param->GetAttribute() == ParamAttr::PARAM_IN) { in EmitProxyStaticMethodBody()
558 if (param->GetAttribute() == ParamAttr::PARAM_OUT) { in EmitProxyStaticMethodBody()
597 if (param->GetAttribute() == ParamAttr::PARAM_IN) { in GetUtilMethods()
Dc_service_stub_code_emitter.cpp305 if (param->GetAttribute() == ParamAttr::PARAM_IN) { in EmitServiceStubMethodImpl()
319 if (param->GetAttribute() == ParamAttr::PARAM_OUT) { in EmitServiceStubMethodImpl()
350 … (type->GetTypeKind() == TypeKind::TYPE_STRING && param->GetAttribute() == ParamAttr::PARAM_OUT)) { in EmitStubLocalVariable()
490 …StringBuilder &sb, const AutoPtr<ASTType> &type, ParamAttr attribute, const std::string &name) con… in EmitCallParameter()
492 if (attribute == ParamAttr::PARAM_OUT) { in EmitCallParameter()
738 if (param->GetAttribute() == ParamAttr::PARAM_IN) { in GetUtilMethods()
Dc_client_proxy_code_emitter.cpp181 if (param->GetAttribute() == ParamAttr::PARAM_IN && in GetHeaderOtherLibInclusions()
314 if (param->GetAttribute() == ParamAttr::PARAM_IN) { in EmitProxyMethodBody()
329 if (param->GetAttribute() == ParamAttr::PARAM_OUT) { in EmitProxyMethodBody()
805 if (param->GetAttribute() == ParamAttr::PARAM_IN) { in GetUtilMethods()
Dcode_emitter.cpp99 if (param->GetAttribute() == ParamAttr::PARAM_OUT && in NeedFlag()
/drivers/hdf_core/framework/tools/hdi-gen/parser/
Dparser.cpp601 AutoPtr<ASTParameter> majorParam = new ASTParameter("majorVer", ParamAttr::PARAM_OUT, type); in CreateGetVersionMethod()
602 AutoPtr<ASTParameter> minorParam = new ASTParameter("minorVer", ParamAttr::PARAM_OUT, type); in CreateGetVersionMethod()
657 if (method->IsOneWay() && param->GetAttribute() == ParamAttr::PARAM_OUT) { in ParseMethodParamList()
700 if (ifaceType->IsCallback() && paramAttr->value_ != ParamAttr::PARAM_IN) { in ParseParam()
703 } else if (!ifaceType->IsCallback() && paramAttr->value_ != ParamAttr::PARAM_OUT) { in ParseParam()
717 AutoPtr<ASTParamAttr> attr = new ASTParamAttr(ParamAttr::PARAM_IN); in ParseParamAttr()
727 attr->value_ = ParamAttr::PARAM_IN; in ParseParamAttr()
730 attr->value_ = ParamAttr::PARAM_OUT; in ParseParamAttr()