Searched refs:EnumType (Results 1 - 25 of 65) sorted by relevance

123

/external/libcxx/test/std/experimental/filesystem/fs.enum/
H A Dcheck_bitmask_types.hpp10 template <class EnumType, EnumType Val1, EnumType Val2,
11 class UT = typename std::underlying_type<EnumType>::type,
15 EnumType Zero = static_cast<EnumType>(0)
19 static constexpr UT dcast(EnumType e) { return static_cast<UT>(e); }
30 EnumType ValRef = Val1;
31 ASSERT_SAME_TYPE(EnumType, decltype(Val1 & Val2));
32 ASSERT_SAME_TYPE(EnumType, decltyp
[all...]
/external/protobuf/src/google/protobuf/
H A Dgenerated_enum_reflection.h69 template<typename EnumType>
72 EnumType* value) {
75 *value = static_cast<EnumType>(tmp);
H A Dmap_test_util_impl.h54 template <typename EnumType, EnumType enum_value0,
55 EnumType enum_value1, typename MapMessage>
59 template <typename EnumType, EnumType enum_value0,
60 EnumType enum_value1, typename MapMessage>
69 template <typename EnumType, EnumType enum_value, typename MapMessage>
74 template <typename EnumType, EnumType enum_value
[all...]
/external/clang/test/Sema/
H A Dattr-mode-enums.c8 typedef enum { E4 } EnumType; typedef in typeref:enum:__anon3132
18 typedef EnumType __attribute__((mode(V4DI))) RejectedType4; // expected-error{{mode 'V4DI' is not supported for enumeration types}}
20 EnumType v1 __attribute__((mode(V4QI))); // expected-error{{mode 'V4QI' is not supported for enumeration types}}
/external/clang/test/SemaCXX/
H A Dattr-mode-tmpl.cpp3 typedef enum { XX } EnumType; typedef in typeref:enum:__anon3346
82 CheckEnumerations<EnumType>(); // expected-note{{in instantiation of}}
89 CheckMachineMode<EnumType>(); // expected-note{{in instantiation of}}
97 CheckParameters<EnumType, float>(0, valV4DI, 1.0, valV4DF); // expected-error{{no matching function for call}}
102 TemplatedStruct<EnumType> s2; // expected-note{{in instantiation of}}
/external/clang/lib/AST/
H A DTemplateBase.cpp43 if (const EnumType *ET = T->getAs<EnumType>()) {
H A DType.cpp55 ND = ty->getAs<EnumType>()->getDecl();
1632 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
1648 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
1712 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
1728 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
1752 if (const EnumType *E
[all...]
H A DASTContext.cpp1756 if (const EnumType *ET = dyn_cast<EnumType>(TT)) {
1905 if (const EnumType *ET = T->getAs<EnumType>())
3253 EnumType *newType = new (*this, TypeAlignment) EnumType(Decl);
4774 if (const EnumType *ET = Promotable->getAs<EnumType>())
4831 static const Type *getIntegerTypeForEnum(const EnumType *ET) {
4847 if (const EnumType *E
[all...]
/external/libcxx/test/libcxx/type_traits/
H A Dconvert_to_integral.pass.cpp28 struct EnumType struct
57 typedef typename EnumType<From>::type Enum;
/external/protobuf/python/google/protobuf/internal/
H A Ddescriptor_pool_test.py376 class EnumType(object): class in inherits:object
676 'NestedEnum': EnumType([('ALPHA', 1), ('BETA', 2)]),
678 'NestedEnum': EnumType([('EPSILON', 5), ('ZETA', 6)]),
680 'NestedEnum': EnumType([('ETA', 7), ('THETA', 8)]),
696 'NestedEnum': EnumType([('GAMMA', 3), ('DELTA', 4)]),
698 'NestedEnum': EnumType([('IOTA', 9), ('KAPPA', 10)]),
700 'NestedEnum': EnumType([('LAMBDA', 11), ('MU', 12)]),
722 'NestedEnum': EnumType([('NU', 13), ('XI', 14)]),
724 'NestedEnum': EnumType([('OMICRON', 15), ('PI', 16)]),
726 'NestedEnum': EnumType([('RH
[all...]
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp630 if (const EnumType *EnumTy = Ty->getAs<EnumType>())
645 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
788 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) {
809 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
1304 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
[all...]
H A DCodeGenTBAA.cpp151 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
H A DCGDebugInfo.h166 llvm::DIType *CreateEnumType(const EnumType *Ty);
167 llvm::DIType *CreateTypeDefinition(const EnumType *Ty);
/external/clang/lib/Analysis/
H A DFormatString.cpp313 if (const EnumType *ETy = argTy->getAs<EnumType>())
330 if (const EnumType *ETy = argTy->getAs<EnumType>())
H A DPrintfFormatString.cpp601 if (const EnumType *ETy = QT->getAs<EnumType>())
H A DScanfFormatString.cpp421 if (const EnumType *ETy = PT->getAs<EnumType>())
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DFileDescriptor.cs61 EnumTypes = DescriptorUtil.ConvertAndMakeReadOnly(proto.EnumType,
H A DMessageDescriptor.cs85 proto.EnumType,
H A DFieldDescriptor.cs226 public EnumDescriptor EnumType property in class:Google.Protobuf.Reflection.FieldDescriptor
232 throw new InvalidOperationException("EnumType is only valid for enum fields.");
/external/clang/include/clang/AST/
H A DCanonicalType.h544 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
/external/clang/utils/ABITest/
H A DTypeGen.py58 class EnumType(Type): class in inherits:Type
277 return EnumType(n, enumerators)
H A DABITestGen.py215 elif isinstance(t, EnumType):
291 elif isinstance(t, EnumType):
321 elif isinstance(t, EnumType):
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp233 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType);
732 } else if (isa<EnumType>(T)) {
/external/llvm/test/tools/llvm-readobj/Inputs/
H A Drelocs.py22 class EnumType(type): class in inherits:type
24 super(EnumType, self).__init__(name, bases, attributes)
85 Enum = EnumType('Enum', (), {})
/external/guice/extensions/persist/lib/
H A Dejb3-persistence.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/persistence/ javax/persistence/AssociationOverride.class AssociationOverride. ...

Completed in 2810 milliseconds

123