Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/WebKit/Source/core/svg/properties/
DSVGAnimatedEnumerationPropertyTearOff.h29 template<typename EnumType>
35 if (!property || property > SVGPropertyTraits<EnumType>::highestEnumValue()) { in setBaseVal()
42 …yTearOff<EnumType> > create(SVGElement* contextElement, const QualifiedName& attributeName, Animat… in create()
45 …return adoptRef(new SVGAnimatedEnumerationPropertyTearOff<EnumType>(contextElement, attributeName,… in create()
48 EnumType& currentAnimatedValue() in currentAnimatedValue()
51 ASSERT(animatedValue <= SVGPropertyTraits<EnumType>::highestEnumValue()); in currentAnimatedValue()
52 return reinterpret_cast<EnumType&>(animatedValue); in currentAnimatedValue()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGAnimatedEnumeration.h32 #define DECLARE_ANIMATED_ENUMERATION(UpperProperty, LowerProperty, EnumType) \ argument
33 DECLARE_ANIMATED_PROPERTY(SVGAnimatedEnumerationPropertyTearOff<EnumType>, EnumType, UpperProperty,…
35 #define DEFINE_ANIMATED_ENUMERATION(OwnerType, DOMAttribute, UpperProperty, LowerProperty, EnumType argument
36 …calName(), UpperProperty, LowerProperty, SVGAnimatedEnumerationPropertyTearOff<EnumType>, EnumType)
/external/chromium_org/tools/json_schema_compiler/test/
Didl_basics.idl9 enum EnumType {
38 callback Callback5 = void(EnumType type);
72 static void function13(EnumType type, Callback5 cb);
73 static void function14(EnumType[] types);
87 static EnumType function22();
88 static EnumType[] function23();
95 static void onFoo3(EnumType type);
Didl_pepper.idl8 enum EnumType {
58 EnumType enum_single;
59 EnumType[] enum_array;
60 EnumType? optional_enum;
61 EnumType[]? optional_enum_array;
Denums_unittest.cc15 EnumType enum_type; in TEST()
18 EXPECT_TRUE(EnumType::Populate(value, &enum_type)); in TEST()
19 EXPECT_EQ(EnumType::TYPE_ONE, enum_type.type); in TEST()
23 EnumType enum_type; in TEST()
26 EXPECT_FALSE(EnumType::Populate(value, &enum_type)); in TEST()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dgenerated_enum_reflection.h66 template<typename EnumType>
69 EnumType* value) { in ParseNamedEnum()
72 *value = static_cast<EnumType>(tmp); in ParseNamedEnum()
/external/chromium_org/chrome/common/extensions/api/test_presubmit/
Dvalid_idl_basics.idl8 enum EnumType {
20 callback Callback4 = void(EnumType type);
36 static void onFoo3(EnumType type);
/external/clang/lib/AST/
DType.cpp54 ND = ty->getAs<EnumType>()->getDecl(); in getBaseTypeIdentifier()
631 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralType()
647 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isIntegralOrUnscopedEnumerationType()
711 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerType()
727 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isSignedIntegerOrEnumerationType()
751 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerType()
767 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) { in isUnsignedIntegerOrEnumerationType()
808 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isRealType()
817 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) in isArithmeticType()
846 } else if (isa<EnumType>(T)) { in getScalarTypeKind()
[all …]
DASTContext.cpp1633 if (const EnumType *ET = dyn_cast<EnumType>(TT)) in getTypeInfoImpl()
2975 EnumType *newType = new (*this, TypeAlignment) EnumType(Decl); in getEnumType()
4358 if (const EnumType *ET = Promotable->getAs<EnumType>()) in getPromotedIntegerType()
5086 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) { in ObjCEncodingForEnumType()
5121 if (const EnumType *ET = T->getAs<EnumType>()) in EncodeBitField()
5151 S += ObjCEncodingForEnumType(this, cast<EnumType>(CT)); in getObjCEncodingForTypeImpl()
7041 if (const EnumType *Enum = argTy->getAs<EnumType>()) { in mergeFunctionTypes()
7066 static QualType mergeEnumWithInteger(ASTContext &Context, const EnumType *ET, in mergeEnumWithInteger()
7169 if (const EnumType* ETy = LHS->getAs<EnumType>()) { in mergeTypes()
7172 if (const EnumType* ETy = RHS->getAs<EnumType>()) { in mergeTypes()
[all …]
/external/clang/lib/CodeGen/
DTargetInfo.cpp401 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
416 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
467 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
488 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
735 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
935 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
1459 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify()
1719 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult()
1752 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult()
2126 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
[all …]
DCodeGenTBAA.cpp152 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTBAAInfo()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DWebGLDebugRendererInfo.h37 enum EnumType { enum
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.h405 template<typename EnumType>
408 EnumType* value) { in ParseNamedEnum()
411 *value = static_cast<EnumType>(tmp); in ParseNamedEnum()
/external/clang/lib/Analysis/
DFormatString.cpp258 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType()
275 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType()
DScanfFormatString.cpp384 if (const EnumType *ETy = QT->getAs<EnumType>()) in fixType()
DPrintfFormatString.cpp434 if (const EnumType *ETy = QT->getAs<EnumType>()) in fixType()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp218 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType); in RequireCompleteDeclContext()
594 } else if (isa<EnumType>(T)) { in BuildCXXNestedNameSpecifier()
/external/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py22 class EnumType(type): class
24 super(EnumType, self).__init__(name, bases, attributes)
85 Enum = EnumType('Enum', (), {})
/external/clang/utils/ABITest/
DTypeGen.py58 class EnumType(Type): class
273 return EnumType(n, enumerators)
DABITestGen.py215 elif isinstance(t, EnumType):
291 elif isinstance(t, EnumType):
321 elif isinstance(t, EnumType):
/external/chromium_org/chrome/common/extensions/features/
Dsimple_feature.cc210 template <typename EnumType>
211 std::string ListDisplayNames(const std::vector<EnumType> enum_types) { in ListDisplayNames()
/external/clang/include/clang/AST/
DCanonicalType.h615 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
DType.h3321 class EnumType : public TagType {
3322 explicit EnumType(const EnumDecl *D)
4888 return isa<EnumType>(CanonicalType);
5047 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
5060 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
5078 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
/external/chromium_org/sync/internal_api/public/base/
Denum_set.h45 typedef E EnumType; typedef
/external/clang/lib/ARCMigrate/
DObjCMT.cpp533 if (const EnumType *EnumTy = qt->getAs<EnumType>()) { in migrateNSEnumDecl()

123