Searched refs:EnumType (Results 1 – 15 of 15) 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; 128 std::vector<const EnumType*> superTypeChain() const; 148 DISALLOW_COPY_AND_ASSIGN(EnumType); argument 158 void autofill(const EnumType* prevType, EnumValue* prevValue, const ScalarType* type); 180 const EnumType* getElementEnumType() const; 202 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 | 82 "EnumType.cpp",
|
D | AST.cpp | 563 EnumType *enumType = static_cast<EnumType *>(type); in lookupEnumValue()
|
D | ConstantExpression.cpp | 388 EnumType* enumType = static_cast<EnumType*>(mReference.get()); in evaluate()
|
D | hidl-gen_l.ll | 39 #include "EnumType.h"
|
/system/chre/util/include/chre/util/ |
D | enum.h | 23 template <typename EnumType> 24 inline constexpr typename std::underlying_type<EnumType>::type asBaseType( in asBaseType() 25 EnumType value) { in asBaseType() 26 return static_cast<typename std::underlying_type<EnumType>::type>(value); in asBaseType()
|
/system/tools/xsdc/tests/ |
D | simple_type.cpp | 30 for (const auto v : android::xsdc_enum_range<EnumType>()) { in TEST_F() 31 EXPECT_NE(v, EnumType::UNKNOWN); in TEST_F() 42 EXPECT_EQ(simple.getYesOrNo()[0], EnumType::YES); in TEST_F() 43 EXPECT_EQ(simple.getYesOrNo()[1], EnumType::EMPTY); in TEST_F()
|
D | simple_type_enumsonly.cpp | 24 for (const auto v : android::xsdc_enum_range<EnumType>()) { in TEST_F() 25 EXPECT_NE(v, EnumType::UNKNOWN); in TEST_F()
|
/system/tools/hidl/hidl2aidl/ |
D | AidlNamedType.cpp | 41 static void emitEnumAidlDefinition(Formatter& out, const EnumType& enumType) { in emitEnumAidlDefinition() 51 const EnumType* skippedType = nullptr; in emitEnumAidlDefinition() 52 for (const EnumType* type : enumType.typeChain()) { in emitEnumAidlDefinition() 122 const EnumType& enumType = static_cast<const EnumType&>(namedType); in emitAidl()
|
D | AidlTranslate.cpp | 77 const auto& enumType = static_cast<const EnumType&>(namedType); in emitEnumStaticAssert() 80 for (const EnumType* type : enumType.typeChain()) { in emitEnumStaticAssert()
|
/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; 23 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()
|