Home
last modified time | relevance | path

Searched refs:CompoundType (Results 1 – 14 of 14) sorted by relevance

/system/tools/hidl/lint/lints/
Dsafeunion.cpp52 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()
DemptyStructs.cpp36 const CompoundType* compoundType = static_cast<const CompoundType*>(type); in checkSmallStructs()
DnamingConventions.cpp64 const CompoundType* compoundType = static_cast<const CompoundType*>(namedType); in namingConventions()
/system/tools/hidl/
DCompoundType.cpp34 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 …]
DCompoundType.h29 struct CompoundType : public Scope { struct
36 CompoundType(Style style, const std::string& localName, const FQName& fullName, argument
188 DISALLOW_COPY_AND_ASSIGN(CompoundType);
Dhidl-gen_y.yy22 #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 …]
DAndroid.bp84 "CompoundType.cpp",
DVectorType.cpp48 if (static_cast<const CompoundType*>(elementType)->containsInterface()) { in isCompatibleElementType()
Dhidl-gen_l.ll35 #include "CompoundType.h"
/system/tools/hidl/hidl2aidl/
DAidlNamedType.cpp76 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()
DAidlTranslate.cpp107 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()
DAidlHelper.h27 struct CompoundType;
106 static void processCompoundType(const CompoundType& compoundType,
DAidlHelper.cpp176 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()
Dmain.cpp443 AidlHelper::processCompoundType(static_cast<const CompoundType&>(*namedType), in main()