Home
last modified time | relevance | path

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

/aosp12/system/tools/hidl/lint/lints/
H A 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()
H A DemptyStructs.cpp36 const CompoundType* compoundType = static_cast<const CompoundType*>(type); in checkSmallStructs()
H A DnamingConventions.cpp64 const CompoundType* compoundType = static_cast<const CompoundType*>(namedType); in namingConventions()
/aosp12/system/tools/hidl/
H A 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()
56 status_t CompoundType::validate() const { in validate()
133 bool CompoundType::isCompoundType() const { in isCompoundType()
149 std::string CompoundType::typeName() const { in typeName()
164 std::string CompoundType::getCppType( in getCppType()
208 const CompoundType* ct = static_cast<const CompoundType*>(&t); in containsInterface()
307 void CompoundType::emitReaderWriter( in emitReaderWriter()
393 void CompoundType::emitReaderWriterEmbedded( in emitReaderWriterEmbedded()
420 void CompoundType::emitJavaReaderWriter( in emitJavaReaderWriter()
[all …]
H A Dhidl-gen_y.yy22 #include "CompoundType.h"
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);
968 CompoundType* compoundType = static_cast<CompoundType *>(*scope);
[all …]
H A 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);
H A DAndroid.bp84 "CompoundType.cpp",
H A DVectorType.cpp48 if (static_cast<const CompoundType*>(elementType)->containsInterface()) { in isCompatibleElementType()
H A Dhidl-gen_l.ll35 #include "CompoundType.h"
/aosp12/system/tools/hidl/hidl2aidl/
H A 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()
H A 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()
H A DAidlHelper.h27 struct CompoundType;
106 static void processCompoundType(const CompoundType& compoundType,
H A 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()
H A Dmain.cpp443 AidlHelper::processCompoundType(static_cast<const CompoundType&>(*namedType), in main()