Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_method.h35 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();
Dast_interface_type.h27 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
Dast_struct_type.h23 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_;
Dast_union_type.h23 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_;
Dast_enum_type.h60 …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();
Dast_parameter.h22 : 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
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_method.cpp35 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
Dast_struct_type.cpp36 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
Dast_enum_type.cpp35 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
Dast_union_type.cpp33 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()
Dast_interface_type.cpp75 sb.Append(prefix).Append(attr_->Dump(prefix)).Append(" "); in Dump()