Searched refs:attr_ (Results 1 – 12 of 12) sorted by relevance
/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
D | ast_method.h | 35 attr_ = attr; in SetAttribute() 41 return attr_; in GetAttribute() 46 return attr_->HasValue(ASTAttr::ONEWAY); in IsOneWay() 51 return attr_->HasValue(ASTAttr::FULL); in IsFull() 56 return attr_->HasValue(ASTAttr::LITE); in IsLite() 61 return attr_->HasValue(ASTAttr::MINI); in IsMini() 77 AutoPtr<ASTAttr> attr_ = new ASTAttr();
|
D | ast_interface_type.h | 27 attr_(new ASTAttr()), in ASTInterfaceType() 52 attr_ = attr; in SetAttribute() 53 if (attr_->HasValue(ASTAttr::CALLBACK)) { in SetAttribute() 61 return attr_; in GetAttribute() 66 return attr_->HasValue(ASTAttr::ONEWAY); in IsOneWay() 71 return attr_->HasValue(ASTAttr::CALLBACK); in IsCallback() 86 return attr_->HasValue(ASTAttr::FULL); in IsFull() 91 return attr_->HasValue(ASTAttr::LITE); in IsLite() 96 return attr_->HasValue(ASTAttr::MINI); in IsMini() 195 AutoPtr<ASTAttr> attr_; variable
|
D | ast_struct_type.h | 23 ASTStructType() : ASTType(TypeKind::TYPE_STRUCT, true), attr_(new ASTAttr()), members_() {} in ASTStructType() 38 attr_ = attr; in SetAttribute() 44 return attr_ != nullptr ? attr_->HasValue(ASTAttr::FULL) : false; in IsFull() 49 return attr_ != nullptr ? attr_->HasValue(ASTAttr::LITE) : false; in IsLite() 124 AutoPtr<ASTAttr> attr_;
|
D | ast_union_type.h | 23 ASTUnionType() : ASTType(TypeKind::TYPE_UNION, true), attr_(new ASTAttr()), members_() {} in ASTUnionType() 38 attr_ = attr; in SetAttribute() 44 return attr_ != nullptr ? attr_->HasValue(ASTAttr::FULL) : false; in IsFull() 49 return attr_ != nullptr ? attr_->HasValue(ASTAttr::LITE) : false; in IsLite() 124 AutoPtr<ASTAttr> attr_;
|
D | ast_enum_type.h | 60 …ASTEnumType() : ASTType(TypeKind::TYPE_ENUM, true), attr_(new ASTAttr()), baseType_(), members_() … in ASTEnumType() 75 attr_ = attr; in SetAttribute() 81 return attr_ != nullptr ? attr_->HasValue(ASTAttr::FULL) : false; in IsFull() 86 return attr_ != nullptr ? attr_->HasValue(ASTAttr::LITE) : false; in IsLite() 157 AutoPtr<ASTAttr> attr_ = new ASTAttr();
|
D | ast_parameter.h | 22 : ASTNode(), name_(name), attr_(new ASTParamAttr(attribute)), type_(type) in ASTParameter() 27 : ASTNode(), name_(name), attr_(attribute), type_(type) in ASTParameter() 43 return attr_->value_; in GetAttribute() 76 AutoPtr<ASTParamAttr> attr_; variable
|
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_method.cpp | 35 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
|
D | ast_struct_type.cpp | 36 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
|
D | ast_enum_type.cpp | 35 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
|
D | ast_union_type.cpp | 33 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
|
D | ast_interface_type.cpp | 75 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
|