Searched refs:members_ (Results 1 – 6 of 6) sorted by relevance
/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
D | ast_struct_type.h | 23 ASTStructType() : ASTType(TypeKind::TYPE_STRUCT, true), attr_(new ASTAttr()), members_() {} in ASTStructType() 56 return members_.size(); in GetMemberNumber() 61 if (index >= members_.size()) { in GetMemberName() 64 return std::get<0>(members_[index]); in GetMemberName() 69 if (index >= members_.size()) { in GetMemberType() 72 return std::get<1>(members_[index]); in GetMemberType() 125 std::vector<std::tuple<std::string, AutoPtr<ASTType>>> members_; variable
|
D | ast_union_type.h | 23 ASTUnionType() : ASTType(TypeKind::TYPE_UNION, true), attr_(new ASTAttr()), members_() {} in ASTUnionType() 56 return members_.size(); in GetMemberNumber() 61 if (index >= members_.size()) { in GetMemberName() 64 return std::get<0>(members_[index]); in GetMemberName() 69 if (index >= members_.size()) { in GetMemberType() 72 return std::get<1>(members_[index]); in GetMemberType() 125 std::vector<std::tuple<std::string, AutoPtr<ASTType>>> members_; variable
|
D | ast_enum_type.h | 60 …ASTEnumType() : ASTType(TypeKind::TYPE_ENUM, true), attr_(new ASTAttr()), baseType_(), members_() … in ASTEnumType() 100 return members_.size(); in GetMemberNumber() 105 if (index >= members_.size()) { in GetMember() 108 return members_[index]; in GetMember() 159 std::vector<AutoPtr<ASTEnumValue>> members_; variable
|
D | ast_struct_type.cpp | 16 for (auto it : members_) { in AddMember() 21 members_.push_back(std::make_tuple(name, typeName)); in AddMember() 38 if (members_.size() > 0) { in Dump() 39 for (auto it : members_) { in Dump() 96 for (auto it : members_) { in EmitCTypeDecl() 119 for (auto it : members_) { in EmitCppTypeDecl()
|
D | ast_union_type.cpp | 17 for (auto it : members_) { in AddMember() 22 members_.push_back(std::make_tuple(name, typeName)); in AddMember() 35 if (members_.size() > 0) { in Dump() 36 for (auto it : members_) { in Dump() 93 for (auto it : members_) { in EmitCTypeDecl() 111 for (auto it : members_) { in EmitCppTypeDecl()
|
D | ast_enum_type.cpp | 24 members_.push_back(member); in AddMember() 42 if (members_.size() > 0) { in Dump() 43 for (auto it : members_) { in Dump() 106 for (auto it : members_) { in EmitCTypeDecl() 127 for (auto it : members_) { in EmitCppTypeDecl()
|