Searched refs:ParamAttr (Results 1 – 12 of 12) sorted by relevance
/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
D | ast_attribute.h | 48 enum class ParamAttr { enum 55 explicit ASTParamAttr(ParamAttr value) : ASTNode(), value_(value) {} in ASTParamAttr() 62 ParamAttr value_;
|
D | ast_parameter.cpp | 22 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()
|
D | ast_parameter.h | 21 ASTParameter(const std::string &name, ParamAttr attribute, const AutoPtr<ASTType> &type) in ASTParameter() 41 inline ParamAttr GetAttribute() in GetAttribute()
|
D | ast_attribute.cpp | 70 return StringHelper::Format("[%s]", (value_ == ParamAttr::PARAM_IN) ? "in" : "out"); in ToString()
|
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | java_client_proxy_code_emitter.h | 57 ParamAttr attribute, StringBuilder &sb, const std::string &prefix); 60 const AutoPtr<ASTArrayType> &arrayType, ParamAttr attribute, StringBuilder &sb,
|
D | c_service_stub_code_emitter.h | 74 …StringBuilder &sb, const AutoPtr<ASTType> &type, ParamAttr attribute, const std::string &name) con…
|
D | cpp_service_stub_code_emitter.cpp | 241 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()
|
D | cpp_client_proxy_code_emitter.cpp | 325 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()
|
D | c_service_stub_code_emitter.cpp | 305 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()
|
D | c_client_proxy_code_emitter.cpp | 181 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()
|
D | code_emitter.cpp | 99 if (param->GetAttribute() == ParamAttr::PARAM_OUT && in NeedFlag()
|
/drivers/hdf_core/framework/tools/hdi-gen/parser/ |
D | parser.cpp | 601 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()
|