Home
last modified time | relevance | path

Searched refs:unionType (Results 1 - 4 of 4) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/parser/
H A Dparser.h144 void ParseUnionMember(const AutoPtr<ASTUnionType> &unionType);
147 const AutoPtr<ASTUnionType> &unionType, const AutoPtr<ASTType> &type, const std::string &name) const;
H A Dparser.cpp1226 AutoPtr<ASTUnionType> unionType = new ASTUnionType; in ParseUnionDeclaration() local
1227 unionType->SetAttribute(ParseUserDefTypeAttr(attrs)); in ParseUnionDeclaration()
1234 unionType->SetName(token.value); in ParseUnionDeclaration()
1245 ParseUnionMember(unionType); in ParseUnionDeclaration()
1261 unionType->SetNamespace(ast_->ParseNamespace(ast_->GetFullName())); in ParseUnionDeclaration()
1262 ast_->AddTypeDefinition(unionType.Get()); in ParseUnionDeclaration()
1265 void Parser::ParseUnionMember(const AutoPtr<ASTUnionType> &unionType) in ParseUnionMember() argument
1286 if (!AddUnionMember(unionType, memberType, memberName)) { in ParseUnionMember()
1306 const AutoPtr<ASTUnionType> &unionType, const AutoPtr<ASTType> &type, const std::string &name) const in AddUnionMember()
1308 for (size_t i = 0; i < unionType in AddUnionMember()
1305 AddUnionMember( const AutoPtr<ASTUnionType> &unionType, const AutoPtr<ASTType> &type, const std::string &name) const AddUnionMember() argument
[all...]
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcpp_custom_types_code_emitter.cpp173 AutoPtr<ASTUnionType> unionType = dynamic_cast<ASTUnionType *>(type.Get()); in EmitCustomTypeDecl() local
174 sb.Append(unionType->EmitCppTypeDecl()).Append("\n"); in EmitCustomTypeDecl()
H A Dc_custom_types_code_emitter.cpp161 AutoPtr<ASTUnionType> unionType = dynamic_cast<ASTUnionType *>(type.Get()); in EmitCustomTypeDecl() local
162 sb.Append(unionType->EmitCTypeDecl()).Append("\n"); in EmitCustomTypeDecl()

Completed in 5 milliseconds