Searched refs:CompoundType (Results 1 – 14 of 14) sorted by relevance
/system/tools/hidl/lint/lints/ |
D | safeunion.cpp | 52 const CompoundType* compoundType = static_cast<const CompoundType*>(nextType); in lintUnionRecursively() 53 if (compoundType->style() == CompoundType::Style::STYLE_UNION) { in lintUnionRecursively() 68 const CompoundType* compoundType = static_cast<const CompoundType*>(nextRef->get()); in lintUnionRecursively() 69 if (compoundType->style() == CompoundType::Style::STYLE_UNION) { in lintUnionRecursively() 90 const CompoundType* compoundType = static_cast<const CompoundType*>(type); in lintUnionRecursively() 91 if (compoundType->style() == CompoundType::Style::STYLE_UNION) { in lintUnionRecursively()
|
D | emptyStructs.cpp | 36 const CompoundType* compoundType = static_cast<const CompoundType*>(type); in checkSmallStructs()
|
D | namingConventions.cpp | 64 const CompoundType* compoundType = static_cast<const CompoundType*>(namedType); in namingConventions()
|
/system/tools/hidl/ |
D | CompoundType.cpp | 34 CompoundType::CompoundType(Style style, const std::string& localName, const FQName& fullName, in CompoundType() function in android::CompoundType 38 CompoundType::Style CompoundType::style() const { in style() 42 void CompoundType::addField(NamedReference<Type>* field) { in addField() 46 std::vector<const NamedReference<Type>*> CompoundType::getFields() const { in getFields() 50 std::vector<const Reference<Type>*> CompoundType::getReferences() const { in getReferences() 56 status_t CompoundType::validate() const { in validate() 96 status_t CompoundType::validateUniqueNames() const { in validateUniqueNames() 111 void CompoundType::emitInvalidSubTypeNamesError(const std::string& subTypeName, in emitInvalidSubTypeNamesError() 119 status_t CompoundType::validateSubTypeNames() const { in validateSubTypeNames() 133 bool CompoundType::isCompoundType() const { in isCompoundType() [all …]
|
D | CompoundType.h | 29 struct CompoundType : public Scope { struct 36 CompoundType(Style style, const std::string& localName, const FQName& fullName, argument 188 DISALLOW_COPY_AND_ASSIGN(CompoundType);
|
D | hidl-gen_y.yy | 22 #include "CompoundType.h" 112 bool isValidCompoundTypeField(CompoundType::Style style, const std::string& identifier, 116 if (style == CompoundType::STYLE_UNION) { return true; } 323 android::CompoundType *compoundType; 332 android::CompoundType::Style compoundStyle; 918 : STRUCT { $$ = CompoundType::STYLE_STRUCT; } 919 | UNION { $$ = CompoundType::STYLE_UNION; } 920 | SAFE_UNION { $$ = CompoundType::STYLE_SAFE_UNION; } 926 CompoundType *container = new CompoundType( 933 CompoundType *container = static_cast<CompoundType *>(*scope); [all …]
|
D | Android.bp | 84 "CompoundType.cpp",
|
D | VectorType.cpp | 48 if (static_cast<const CompoundType*>(elementType)->containsInterface()) { in isCompatibleElementType()
|
D | hidl-gen_l.ll | 35 #include "CompoundType.h"
|
/system/tools/hidl/hidl2aidl/ |
D | AidlNamedType.cpp | 76 Formatter& out, const CompoundType& compoundType, in emitCompoundTypeAidlDefinition() 86 if (compoundType.style() == CompoundType::STYLE_STRUCT) { in emitCompoundTypeAidlDefinition() 89 if (compoundType.style() == CompoundType::STYLE_UNION) { in emitCompoundTypeAidlDefinition() 116 const CompoundType& compoundType = static_cast<const CompoundType&>(namedType); in emitAidl()
|
D | AidlTranslate.cpp | 107 const FieldWithVersion& field, const CompoundType* parent, in namedTypeTranslation() 127 if (parent->style() == CompoundType::STYLE_STRUCT) { in namedTypeTranslation() 240 const CompoundType* parent, AidlBackend backend) { in containerTranslation() 305 const CompoundType* parent, AidlBackend backend) { in simpleTranslation() 314 if (parent->style() == CompoundType::STYLE_STRUCT) { in simpleTranslation() 324 if (parent->style() == CompoundType::STYLE_STRUCT) { in simpleTranslation() 341 const CompoundType* parent, const FieldWithVersion& field, in h2aFieldTranslation() 459 const CompoundType* compound = static_cast<const CompoundType*>(type); in emitTranslateSource() 461 if (compound->style() == CompoundType::STYLE_UNION) { in emitTranslateSource() 472 if (compound->style() == CompoundType::STYLE_SAFE_UNION) { in emitTranslateSource()
|
D | AidlHelper.h | 27 struct CompoundType; 106 static void processCompoundType(const CompoundType& compoundType,
|
D | AidlHelper.cpp | 176 void AidlHelper::processCompoundType(const CompoundType& compoundType, in processCompoundType() 190 static_cast<const CompoundType&>(*field->get()).fqName(), in processCompoundType() 192 processCompoundType(static_cast<const CompoundType&>(*field->get()), processedType, in processCompoundType()
|
D | main.cpp | 443 AidlHelper::processCompoundType(static_cast<const CompoundType&>(*namedType), in main()
|