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

123

/external/chromium_org/third_party/WebKit/Source/core/svg/properties/
H A DSVGAnimatedEnumerationPropertyTearOff.h29 template<typename EnumType>
35 if (!property || property > SVGPropertyTraits<EnumType>::highestEnumValue()) {
42 static PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<EnumType> > create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, EnumType& property)
45 return adoptRef(new SVGAnimatedEnumerationPropertyTearOff<EnumType>(contextElement, attributeName, animatedPropertyType, reinterpret_cast<unsigned&>(property)));
48 EnumType& currentAnimatedValue()
51 ASSERT(animatedValue <= SVGPropertyTraits<EnumType>::highestEnumValue());
52 return reinterpret_cast<EnumType&>(animatedValue);
/external/chromium_org/chrome/browser/chromeos/cros/
H A Denum_mapper.h36 template <typename EnumType>
41 const EnumType value;
44 EnumMapper(const Pair* list, size_t num_entries, EnumType unknown)
52 EnumType Get(const std::string& type) const {
59 std::string GetKey(EnumType type) const {
67 typedef typename std::map<std::string, EnumType> EnumMap;
68 typedef typename std::map<EnumType, std::string> InverseEnumMap;
73 EnumType unknown_value_;
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dgenerated_enum_reflection.h66 template<typename EnumType>
69 EnumType* value) {
72 *value = static_cast<EnumType>(tmp);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGAnimatedEnumeration.h32 #define DECLARE_ANIMATED_ENUMERATION(UpperProperty, LowerProperty, EnumType) \
33 DECLARE_ANIMATED_PROPERTY(SVGAnimatedEnumerationPropertyTearOff<EnumType>, EnumType, UpperProperty, LowerProperty)
35 #define DEFINE_ANIMATED_ENUMERATION(OwnerType, DOMAttribute, UpperProperty, LowerProperty, EnumType) \
36 DEFINE_ANIMATED_PROPERTY(AnimatedEnumeration, OwnerType, DOMAttribute, DOMAttribute.localName(), UpperProperty, LowerProperty, SVGAnimatedEnumerationPropertyTearOff<EnumType>, EnumType)
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLDebugRendererInfo.h37 enum EnumType { enum in class:WebCore::WebGLDebugRendererInfo
/external/chromium_org/tools/json_schema_compiler/test/
H A Denums_unittest.cc15 EnumType enum_type;
18 EXPECT_TRUE(EnumType::Populate(value, &enum_type));
19 EXPECT_EQ(EnumType::TYPE_ONE, enum_type.type);
23 EnumType enum_type;
26 EXPECT_FALSE(EnumType::Populate(value, &enum_type));
/external/clang/lib/AST/
H A DType.cpp54 ND = ty->getAs<EnumType>()->getDecl();
631 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
647 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
711 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
727 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
751 if (const EnumType *E
[all...]
H A DASTContext.cpp1633 if (const EnumType *ET = dyn_cast<EnumType>(TT))
2975 EnumType *newType = new (*this, TypeAlignment) EnumType(Decl);
4358 if (const EnumType *ET = Promotable->getAs<EnumType>())
5086 static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) {
5121 if (const EnumType *ET = T->getAs<EnumType>())
5151 S += ObjCEncodingForEnumType(this, cast<EnumType>(C
[all...]
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp401 if (const EnumType *EnumTy = Ty->getAs<EnumType>())
416 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
467 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) {
488 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
735 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
[all...]
H A DCodeGenTBAA.cpp152 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
H A DCodeGenTypes.cpp567 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl();
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection.h405 template<typename EnumType>
408 EnumType* value) {
411 *value = static_cast<EnumType>(tmp);
/external/clang/lib/Analysis/
H A DFormatString.cpp258 if (const EnumType *ETy = argTy->getAs<EnumType>())
275 if (const EnumType *ETy = argTy->getAs<EnumType>())
H A DPrintfFormatString.cpp434 if (const EnumType *ETy = QT->getAs<EnumType>())
H A DScanfFormatString.cpp384 if (const EnumType *ETy = QT->getAs<EnumType>())
/external/chromium_org/sync/internal_api/public/base/
H A Denum_set.h45 typedef E EnumType; typedef in class:syncer::EnumSet
/external/clang/include/clang/AST/
H A DCanonicalType.h615 struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
H A DType.h3319 /// EnumType - This is a helper class that allows the use of isa/cast/dyncast
3321 class EnumType : public TagType { class in class:clang::FunctionType::ExtInfo::FunctionProtoType
3322 explicit EnumType(const EnumDecl *D) function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType
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>(CanonicalTyp
[all...]
/external/clang/utils/ABITest/
H A DTypeGen.py58 class EnumType(Type): class in inherits:Type
273 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.cpp218 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType);
594 } else if (isa<EnumType>(T)) {
H A DSemaLambda.cpp238 /// EnumType::getDecl() (i.e. the definition).
292 if (const EnumType *ET = E->getType()->getAs<EnumType>()) {
/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/clang/lib/ARCMigrate/
H A DObjCMT.cpp533 if (const EnumType *EnumTy = qt->getAs<EnumType>()) {
/external/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h547 if (const EnumType *AsEnum = dyn_cast<EnumType>(Node.getTypePtr()))

Completed in 493 milliseconds

123