/external/libcxx/test/std/experimental/filesystem/fs.enum/ |
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); } 30 EnumType ValRef = Val1; 31 ASSERT_SAME_TYPE(EnumType, decltype(Val1 & Val2)); 32 ASSERT_SAME_TYPE(EnumType, decltype(Val1 | Val2)) [all...] |
/external/protobuf/src/google/protobuf/ |
generated_enum_reflection.h | 69 template<typename EnumType> 72 EnumType* value) { 75 *value = static_cast<EnumType>(tmp);
|
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 [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
generated_enum_reflection.h | 66 template<typename EnumType> 69 EnumType* value) { 72 *value = static_cast<EnumType>(tmp);
|
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
generated_enum_reflection.h | 66 template<typename EnumType> 69 EnumType* value) { 72 *value = static_cast<EnumType>(tmp);
|
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
generated_enum_reflection.h | 66 template<typename EnumType> 69 EnumType* value) { 72 *value = static_cast<EnumType>(tmp);
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
generated_enum_reflection.h | 69 template<typename EnumType> 72 EnumType* value) { 75 *value = static_cast<EnumType>(tmp);
|
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
generated_enum_reflection.h | 66 template<typename EnumType> 69 EnumType* value) { 72 *value = static_cast<EnumType>(tmp);
|
/system/tools/hidl/ |
EnumType.cpp | 17 #include "EnumType.h" 28 EnumType::EnumType(const char* localName, const Location& location, Type* storageType, 35 const Type *EnumType::storageType() const { 39 const std::vector<EnumValue *> &EnumType::values() const { 43 void EnumType::addValue(EnumValue *value) { 47 std::vector<const EnumType *> chain; 61 bool EnumType::isElidableType() const { 65 const ScalarType *EnumType::resolveToScalarType() const { 69 std::string EnumType::typeName() const [all...] |
EnumType.h | 31 struct EnumType : public Scope { 32 EnumType(const char* localName, const Location& location, Type* storageType, Scope* parent); 101 void getTypeChain(std::vector<const EnumType *> *out) const; 118 DISALLOW_COPY_AND_ASSIGN(EnumType); 168 EnumType *getEnumType() const;
|
hidl-gen_y.yy | 24 #include "EnumType.h" 945 enterScope(ast, scope, new EnumType($2, convertYYLoc(@2), $3, *scope)); 955 EnumType *enumType = static_cast<EnumType *>(*scope); 959 if (!ast->addScopedType(enumType, &errorMsg, *scope)) { 964 $$ = enumType; 988 static_cast<EnumType *>(*scope)->addValue($1); 998 static_cast<EnumType *>(*scope)->addValue($3); [all...] |
/external/clang/test/Sema/ |
attr-mode-enums.c | 8 typedef enum { E4 } EnumType; 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/ |
attr-mode-tmpl.cpp | 3 typedef enum { XX } EnumType; 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/ |
TemplateBase.cpp | 43 if (const EnumType *ET = T->getAs<EnumType>()) {
|
Type.cpp | 55 ND = ty->getAs<EnumType>()->getDecl(); [all...] |
/external/libcxx/test/libcxx/type_traits/ |
convert_to_integral.pass.cpp | 28 struct EnumType 57 typedef typename EnumType<From>::type Enum;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/libcxx/type_traits/ |
convert_to_integral.pass.cpp | 28 struct EnumType 57 typedef typename EnumType<From>::type Enum;
|
/external/protobuf/python/google/protobuf/internal/ |
descriptor_pool_test.py | 376 class EnumType(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([('RHO', 17), ('SIGMA', 18)]) [all...] |
/frameworks/native/libs/vr/libvrflinger/ |
hwc_types.h | 100 template <typename EnumType> 104 using Base = Wrapper<EnumType>; 107 using BaseType = EnumType;
|
/hardware/interfaces/contexthub/1.0/vts/functional/ |
VtsHalContexthubV1_0TargetTest.cpp | 57 template<typename EnumType> 58 constexpr typename std::underlying_type<EnumType>::type asBaseType( 59 EnumType value) { 60 return static_cast<typename std::underlying_type<EnumType>::type>(value);
|
/external/clang/lib/CodeGen/ |
TargetInfo.cpp | 630 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>()) [all...] |
CodeGenTBAA.cpp | 151 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
|
/external/clang/lib/Analysis/ |
FormatString.cpp | 313 if (const EnumType *ETy = argTy->getAs<EnumType>()) 330 if (const EnumType *ETy = argTy->getAs<EnumType>())
|
/external/clang/include/clang/AST/ |
CanonicalType.h | 544 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/ |
CanonicalType.h | 544 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
|