Home
last modified time | relevance | path

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

/system/tools/hidl/
DEnumType.cpp31 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 …]
DEnumType.h33 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;
Dhidl-gen_y.yy26 #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);
DAndroid.bp71 "EnumType.cpp",
DConstantExpression.cpp382 EnumType* enumType = static_cast<EnumType*>(mReference.get()); in evaluate()
DAST.cpp563 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 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/
DenumMaxAndAll.cpp40 const EnumType* enumType = static_cast<const EnumType*>(t); in enumValueNames()
DnamingConventions.cpp77 const EnumType* enumType = static_cast<const EnumType*>(namedType); in namingConventions()
/system/tools/hidl/hidl2aidl/
DAidlNamedType.cpp50 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/
Dmain.cpp51 EXPECT_EQ(simple.getYesOrNo()[0], EnumType::YES); in TEST_F()
52 EXPECT_EQ(simple.getYesOrNo()[1], EnumType::EMPTY); in TEST_F()