Searched refs:Qualifier (Results 1 – 6 of 6) sorted by relevance
/system/tools/hidl/c2hal/ |
D | Type.h | 32 struct Qualifier { struct 53 Qualifier(Qualification qualification) in Qualifier() function 55 Qualifier(Qualification qualification, std::string id) in Qualifier() function 57 Qualifier(Qualification qualification, Type* generics) in Qualifier() function 60 ~Qualifier() { in ~Qualifier() argument 67 Type(std::vector<Qualifier*> *qualifiers); 70 static std::string qualifierText(Qualifier::Qualification qual) { in qualifierText() 72 case Qualifier::STRUCT: return "struct"; in qualifierText() 73 case Qualifier::UNION: return "union"; in qualifierText() 74 case Qualifier::ENUM: return "enum"; in qualifierText() [all …]
|
D | Type.cpp | 24 Type::Type(std::vector<Qualifier*> *qualifiers) in Type() 130 case Type::Qualifier::STRUCT: in getHidlType() 131 case Type::Qualifier::UNION: in getHidlType() 132 case Type::Qualifier::ENUM: in getHidlType() 133 case Type::Qualifier::POINTER: in getHidlType() 134 case Type::Qualifier::CONST: { in getHidlType() 140 case Type::Qualifier::ID: { in getHidlType() 151 case Type::Qualifier::GENERICS: { in getHidlType() 157 case Type::Qualifier::UNSIGNED: { in getHidlType() 229 (*mQualifiers)[0]->qualification == Type::Qualifier::VOID; in isVoid() [all …]
|
D | CompositeDeclaration.cpp | 29 const Type::Qualifier::Qualification qualifier, in CompositeDeclaration() 53 const Type::Qualifier::Qualification &CompositeDeclaration::getQualifier() const { in getQualifier() 71 CHECK(mQualifier == Type::Qualifier::STRUCT || in generateSource() 72 mQualifier == Type::Qualifier::UNION || in generateSource() 73 mQualifier == Type::Qualifier::ENUM); in generateSource() 77 if (mQualifier == Type::Qualifier::ENUM) { in generateSource() 141 auto subStruct = new CompositeDeclaration(Type::Qualifier::STRUCT, in processContents() 155 if (mQualifier != Type::Qualifier::STRUCT) { in isInterface() 168 CHECK(mQualifier == Type::Qualifier::ENUM); in setEnumTypeName()
|
D | c2hal_y.yy | 161 android::Type::Qualifier *qualifier; 162 android::Type::Qualifier::Qualification qualification; 163 std::vector<android::Type::Qualifier*> *qualifiers; 267 $$ = new CompositeDeclaration(Type::Qualifier::STRUCT, 326 $$ = new CompositeDeclaration(Type::Qualifier::ENUM, $2, $6); 451 $$ = new std::vector<Type::Qualifier *>; 515 : UNSIGNED { $$ = new Type::Qualifier(Type::Qualifier::UNSIGNED); } 516 | SIGNED { $$ = new Type::Qualifier(Type::Qualifier::SIGNED); } 517 | VOID { $$ = new Type::Qualifier(Type::Qualifier::VOID); } 518 | '*' { $$ = new Type::Qualifier(Type::Qualifier::POINTER); } [all …]
|
D | CompositeDeclaration.h | 27 const Type::Qualifier::Qualification qualifier, 34 const Type::Qualifier::Qualification &getQualifier() const; 50 const Type::Qualifier::Qualification mQualifier;
|
D | AST.cpp | 177 Type::Qualifier::STRUCT, in isolateGlobalInterface() 226 Type::Qualifier::ENUM, in isolateConstants()
|