Searched refs:EnumType (Results 1 – 12 of 12) sorted by relevance
/system/tools/hidl/ |
D | EnumType.cpp | 31 EnumType::EnumType(const std::string& localName, const FQName& fullName, const Location& location, in EnumType() function in android::EnumType 35 const Type *EnumType::storageType() const { in storageType() 39 const std::vector<EnumValue *> &EnumType::values() const { in values() 43 void EnumType::forEachValueFromRoot(const std::function<void(const EnumValue*)> f) const { in forEachValueFromRoot() 44 std::vector<const EnumType*> chain = typeChain(); in forEachValueFromRoot() 53 size_t EnumType::numValueNames() const { in numValueNames() 61 void EnumType::addValue(EnumValue* value) { in addValue() 66 status_t EnumType::resolveInheritance() { in resolveInheritance() 67 const EnumType* prevType = nullptr; in resolveInheritance() 87 std::vector<const Reference<Type>*> EnumType::getReferences() const { in getReferences() [all …]
|
D | EnumType.h | 33 struct EnumType : public Scope { struct 34 EnumType(const std::string& localName, const FQName& fullName, const Location& location, 125 std::vector<const EnumType*> typeChain() const; 126 std::vector<const EnumType*> superTypeChain() const; 146 DISALLOW_COPY_AND_ASSIGN(EnumType); argument 156 void autofill(const EnumType* prevType, EnumValue* prevValue, const ScalarType* type); 178 const EnumType* getElementEnumType() const; 200 const EnumType* getEnumType() const;
|
D | hidl-gen_y.yy | 26 #include "EnumType.h" 1032 EnumType* enumType = new EnumType( 1039 EnumType* enumType = static_cast<EnumType*>(*scope); 1078 static_cast<EnumType *>(*scope)->addValue($1); 1083 static_cast<EnumType *>(*scope)->addValue($3); 1090 static_cast<EnumType *>(*scope)->addValue($3); 1097 static_cast<EnumType *>(*scope)->addValue($5);
|
D | Android.bp | 71 "EnumType.cpp",
|
D | ConstantExpression.cpp | 382 EnumType* enumType = static_cast<EnumType*>(mReference.get()); in evaluate()
|
D | AST.cpp | 563 EnumType *enumType = static_cast<EnumType *>(type); in lookupEnumValue()
|
D | hidl-gen_l.ll | 39 #include "EnumType.h"
|
/system/tools/xsdc/tests/resources/simple_type/api/ |
D | current.txt | 4 public enum EnumType { 6 enum_constant public static final simple.type.EnumType EMPTY; 7 enum_constant public static final simple.type.EnumType NO; 8 enum_constant @Deprecated public static final simple.type.EnumType YES; 22 method public java.util.List<simple.type.EnumType> getYesOrNo();
|
/system/tools/hidl/lint/lints/ |
D | enumMaxAndAll.cpp | 40 const EnumType* enumType = static_cast<const EnumType*>(t); in enumValueNames()
|
D | namingConventions.cpp | 77 const EnumType* enumType = static_cast<const EnumType*>(namedType); in namingConventions()
|
/system/tools/hidl/hidl2aidl/ |
D | AidlNamedType.cpp | 50 static void emitEnumAidlDefinition(Formatter& out, const EnumType& enumType) { in emitEnumAidlDefinition() 182 const EnumType& enumType = static_cast<const EnumType&>(namedType); in emitAidl()
|
/system/tools/xsdc/tests/ |
D | main.cpp | 51 EXPECT_EQ(simple.getYesOrNo()[0], EnumType::YES); in TEST_F() 52 EXPECT_EQ(simple.getYesOrNo()[1], EnumType::EMPTY); in TEST_F()
|