/external/libcxx/test/std/input.output/filesystems/fs.enum/ |
D | check_bitmask_types.hpp | 10 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); } in dcast() 30 EnumType ValRef = Val1; in check() 31 ASSERT_SAME_TYPE(EnumType, decltype(Val1 & Val2)); in check() 32 ASSERT_SAME_TYPE(EnumType, decltype(Val1 | Val2)); in check() 33 ASSERT_SAME_TYPE(EnumType, decltype(Val1 ^ Val2)); in check() 34 ASSERT_SAME_TYPE(EnumType, decltype((~Val1))); in check() 35 ASSERT_SAME_TYPE(EnumType&, decltype(ValRef &= Val2)); in check() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | map_test_util_impl.h | 54 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_value0, 75 EnumType enum_value1, typename MapMessage> 80 template <typename EnumType, EnumType enum_value0, 81 EnumType enum_value1, typename MapMessage> 86 template <typename EnumType, EnumType enum_value, typename MapMessage> [all …]
|
D | generated_enum_reflection.h | 69 template<typename EnumType> 72 EnumType* value) { in ParseNamedEnum() 75 *value = static_cast<EnumType>(tmp); in ParseNamedEnum()
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | enum_set.h | 33 template <typename EnumType> 45 explicit EnumSet(EnumType c) { Add(c); } in EnumSet() 47 EnumSet(std::initializer_list<EnumType> cs) { in EnumSet() 50 EnumSet(uint32_t count, const EnumType* ptr) { in EnumSet() 74 void Add(EnumType c) { AddWord(ToWord(c)); } in Add() 77 bool Contains(EnumType c) const { return ContainsWord(ToWord(c)); } in Contains() 81 void ForEach(std::function<void(EnumType)> f) const { in ForEach() 83 if (mask_ & AsMask(i)) f(static_cast<EnumType>(i)); in ForEach() 86 for (uint32_t c : *overflow_) f(static_cast<EnumType>(c)); in ForEach() 99 bool HasAnyOf(const EnumSet<EnumType>& in_set) const { in HasAnyOf() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | enum_set.h | 33 template <typename EnumType> 45 explicit EnumSet(EnumType c) { Add(c); } in EnumSet() 47 EnumSet(std::initializer_list<EnumType> cs) { in EnumSet() 50 EnumSet(uint32_t count, const EnumType* ptr) { in EnumSet() 74 void Add(EnumType c) { AddWord(ToWord(c)); } in Add() 77 bool Contains(EnumType c) const { return ContainsWord(ToWord(c)); } in Contains() 81 void ForEach(std::function<void(EnumType)> f) const { in ForEach() 83 if (mask_ & AsMask(i)) f(static_cast<EnumType>(i)); in ForEach() 86 for (uint32_t c : *overflow_) f(static_cast<EnumType>(c)); in ForEach() 99 bool HasAnyOf(const EnumSet<EnumType>& in_set) const { in HasAnyOf() [all …]
|
/external/clang/test/SemaCXX/ |
D | attr-mode-tmpl.cpp | 3 typedef enum { XX } EnumType; typedef 82 CheckEnumerations<EnumType>(); // expected-note{{in instantiation of}} in main() 89 CheckMachineMode<EnumType>(); // expected-note{{in instantiation of}} in main() 97 …CheckParameters<EnumType, float>(0, valV4DI, 1.0, valV4DF); // expected-error{{no matching functio… in main() 102 TemplatedStruct<EnumType> s2; // expected-note{{in instantiation of}} in main()
|
/external/clang/test/Sema/ |
D | attr-mode-enums.c | 8 typedef enum { E4 } EnumType; typedef 18 …typedef EnumType __attribute__((mode(V4DI))) RejectedType4; // expected-error{{mode 'V4DI' is not … in main() 20 …EnumType v1 __attribute__((mode(V4QI))); // expected-error{{mode 'V4QI' is not supported for enume… in main()
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 376 class EnumType(object): class 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([('RHO', 17), ('SIGMA', 18)]),
|
/external/protobuf/src/google/protobuf/util/ |
D | json_format_proto3.proto | 43 enum EnumType { enum 62 EnumType enum_value = 10; 74 repeated EnumType repeated_enum_value = 30; 89 EnumType oneof_enum_value = 4;
|
/external/libcxx/test/libcxx/type_traits/ |
D | convert_to_integral.pass.cpp | 28 struct EnumType struct 57 typedef typename EnumType<From>::type Enum; in check_integral_types()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 630 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 645 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 788 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType() 809 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 1304 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() 1569 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType() 2362 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify() 2658 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult() 2691 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult() 3060 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType() [all …]
|
D | CodeGenTBAA.cpp | 151 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTBAAInfo()
|
/external/libcxx/benchmarks/ |
D | CartesianBenchmarks.hpp | 95 template <class Derived, class EnumType, size_t NumLabels> 97 decltype(internal::makeEnumValueTuple<Derived, EnumType>(
|
/external/clang/lib/AST/ |
D | Type.cpp | 55 ND = ty->getAs<EnumType>()->getDecl(); in getBaseTypeIdentifier() 1632 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralType() 1648 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralOrUnscopedEnumerationType() 1712 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType() 1728 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerOrEnumerationType() 1752 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerType() 1768 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerOrEnumerationType() 1809 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType() 1818 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType() 1847 } else if (isa<EnumType>(T)) { in getScalarTypeKind() [all …]
|
D | TemplateBase.cpp | 43 if (const EnumType *ET = T->getAs<EnumType>()) { in printIntegral()
|
D | ASTContext.cpp | 1756 if (const EnumType *ET = dyn_cast<EnumType>(TT)) { in getTypeInfoImpl() 1905 if (const EnumType *ET = T->getAs<EnumType>()) in getPreferredTypeAlign() 3253 EnumType *newType = new (*this, TypeAlignment) EnumType(Decl); in getEnumType() 4774 if (const EnumType *ET = Promotable->getAs<EnumType>()) in getPromotedIntegerType() 4831 static const Type *getIntegerTypeForEnum(const EnumType *ET) { in getIntegerTypeForEnum() 4847 if (const EnumType *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder() 4849 if (const EnumType *ET = dyn_cast<EnumType>(RHSC)) in getIntegerTypeOrder() 5547 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) { in ObjCEncodingForEnumType() 5582 if (const EnumType *ET = T->getAs<EnumType>()) in EncodeBitField() 5613 S += ObjCEncodingForEnumType(this, cast<EnumType>(CT)); in getObjCEncodingForTypeImpl() [all …]
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 313 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType() 330 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType()
|
D | ScanfFormatString.cpp | 421 if (const EnumType *ETy = PT->getAs<EnumType>()) in fixType()
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MessageDescriptor.cs | 85 proto.EnumType, in MessageDescriptor()
|
D | FileDescriptor.cs | 61 EnumTypes = DescriptorUtil.ConvertAndMakeReadOnly(proto.EnumType, in FileDescriptor()
|
D | FieldDescriptor.cs | 226 public EnumDescriptor EnumType property in Google.Protobuf.Reflection.FieldDescriptor
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 544 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|
/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 233 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType); in RequireCompleteDeclContext() 732 } else if (isa<EnumType>(T)) { in BuildCXXNestedNameSpecifier()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/Inputs/ |
D | relocs.py | 22 class EnumType(type): class 24 super(EnumType, self).__init__(name, bases, attributes) 85 Enum = EnumType('Enum', (), {})
|
/external/llvm/test/tools/llvm-readobj/Inputs/ |
D | relocs.py | 22 class EnumType(type): class 24 super(EnumType, self).__init__(name, bases, attributes) 85 Enum = EnumType('Enum', (), {})
|