Home
last modified time | relevance | path

Searched refs:EnumType (Results 1 – 9 of 9) sorted by relevance

/system/tools/hidl/
DEnumType.cpp30 EnumType::EnumType(const char* localName, const FQName& fullName, const Location& location, in EnumType() function in android::EnumType
34 const Type *EnumType::storageType() const { in storageType()
38 const std::vector<EnumValue *> &EnumType::values() const { in values()
42 void EnumType::forEachValueFromRoot(const std::function<void(EnumValue*)> f) const { in forEachValueFromRoot()
43 std::vector<const EnumType*> chain = typeChain(); in forEachValueFromRoot()
52 size_t EnumType::numValueNames() const { in numValueNames()
60 void EnumType::addValue(EnumValue* value) { in addValue()
65 status_t EnumType::resolveInheritance() { in resolveInheritance()
66 const EnumType* prevType = nullptr; in resolveInheritance()
86 std::vector<const Reference<Type>*> EnumType::getReferences() const { in getReferences()
[all …]
DEnumType.h32 struct EnumType : public Scope { struct
33 EnumType(const char* localName, const FQName& fullName, const Location& location,
119 std::vector<const EnumType*> typeChain() const;
120 std::vector<const EnumType*> superTypeChain() const;
140 DISALLOW_COPY_AND_ASSIGN(EnumType); argument
150 void autofill(const EnumType* prevType, EnumValue* prevValue, const ScalarType* type);
172 const EnumType* getElementEnumType() const;
194 const EnumType* getEnumType() const;
Dhidl-gen_y.yy25 #include "EnumType.h"
1023 EnumType* enumType = new EnumType(
1030 EnumType* enumType = static_cast<EnumType*>(*scope);
1068 static_cast<EnumType *>(*scope)->addValue($1);
1073 static_cast<EnumType *>(*scope)->addValue($3);
1080 static_cast<EnumType *>(*scope)->addValue($3);
1087 static_cast<EnumType *>(*scope)->addValue($5);
DAndroid.bp68 "EnumType.cpp",
DConstantExpression.cpp379 EnumType* enumType = static_cast<EnumType*>(mReference.get()); in evaluate()
DAST.cpp521 EnumType *enumType = static_cast<EnumType *>(type); in lookupEnumValue()
Dhidl-gen_l.ll39 #include "EnumType.h"
/system/tools/xsdc/tests/resources/simple_type/api/
Dcurrent.txt4 public enum EnumType {
6 enum_constant public static final simple.type.EnumType NO;
7 enum_constant @Deprecated public static final simple.type.EnumType YES;
21 method public simple.type.EnumType getYesOrNo();
24 method public void setYesOrNo(simple.type.EnumType);
/system/tools/xsdc/tests/
Dmain.cpp47 EXPECT_EQ(simple.getYesOrNo(), EnumType::YES); in TEST_F()