Home
last modified time | relevance | path

Searched refs:Enum (Results 1 – 25 of 601) sorted by relevance

12345678910>>...25

/external/deqp/framework/opengl/
DgluStrUtilPrototypes.inl82 inline tcu::Format::Enum<int, 2> getErrorStr (int value) { return tcu::Format::Enum<int, 2>…
83 inline tcu::Format::Enum<int, 2> getTypeStr (int value) { return tcu::Format::Enum<int, 2>(…
84 inline tcu::Format::Enum<int, 2> getParamQueryStr (int value) { return tcu::Format::Enum<int,…
85 inline tcu::Format::Enum<int, 2> getProgramParamStr (int value) { return tcu::Format::Enum<in…
86 inline tcu::Format::Enum<int, 2> getUniformParamStr (int value) { return tcu::Format::Enum<in…
87 inline tcu::Format::Enum<int, 2> getFramebufferAttachmentStr (int value) { return tcu::Format::
88 inline tcu::Format::Enum<int, 2> getFramebufferAttachmentParameterStr (int value) { return tcu::Fo…
89 inline tcu::Format::Enum<int, 2> getFramebufferTargetStr (int value) { return tcu::Format::Enu…
90 inline tcu::Format::Enum<int, 2> getFramebufferStatusStr (int value) { return tcu::Format::Enu…
91 inline tcu::Format::Enum<int, 2> getFramebufferAttachmentTypeStr (int value) { return tcu::Forma…
[all …]
DgluCallLogWrapper.cpp93 return str << tcu::Format::Enum<int, 2>(getFramebufferAttachmentTypeName, *fmt.value); in operator <<()
96 return str << tcu::Format::Enum<int, 2>(getCubeMapFaceName, *fmt.value); in operator <<()
99 return str << tcu::Format::Enum<int, 2>(getTypeName, *fmt.value); in operator <<()
102 return str << tcu::Format::Enum<int, 2>(getFramebufferColorEncodingName, *fmt.value); in operator <<()
105 return str << tcu::Format::Enum<int, 2>(getBooleanName, *fmt.value); in operator <<()
/external/deqp/framework/egl/
DegluStrUtilPrototypes.inl29 inline tcu::Format::Enum<int, 2> getBooleanStr (int value) { return tcu::Format::Enum<int, 2>(g…
30 inline tcu::Format::Enum<int, 2> getBoolDontCareStr (int value) { return tcu::Format::Enum<int, …
31 inline tcu::Format::Enum<int, 2> getAPIStr (int value) { return tcu::Format::Enum<int, 2>(getA…
32 inline tcu::Format::Enum<int, 2> getErrorStr (int value) { return tcu::Format::Enum<int, 2>(ge…
33 inline tcu::Format::Enum<int, 2> getContextAttribStr (int value) { return tcu::Format::Enum<int,…
34 inline tcu::Format::Enum<int, 2> getConfigAttribStr (int value) { return tcu::Format::Enum<int, …
35 inline tcu::Format::Enum<int, 2> getSurfaceAttribStr (int value) { return tcu::Format::Enum<int,…
36 inline tcu::Format::Enum<int, 2> getYuvOrderStr (int value) { return tcu::Format::Enum<int, 2>(…
37 inline tcu::Format::Enum<int, 2> getYuvPlaneBppStr (int value) { return tcu::Format::Enum<int, 2…
38 inline tcu::Format::Enum<int, 2> getColorComponentTypeStr (int value) { return tcu::Format::Enum<i…
[all …]
/external/guava/guava/src/com/google/common/base/
DEnums.java56 public static Field getField(Enum<?> enumValue) { in getField()
73 public static <T extends Enum<T>> Optional<T> getIfPresent( in getIfPresent()
81 private static final Map<Class<? extends Enum<?>>, Map<String, WeakReference<? extends Enum<?>>>>
83 <Class<? extends Enum<?>>, Map<String, WeakReference<? extends Enum<?>>>>();
86 private static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> populateCache( in populateCache()
88 Map<String, WeakReference<? extends Enum<?>>> result in populateCache()
89 = new HashMap<String, WeakReference<? extends Enum<?>>>(); in populateCache()
91 result.put(enumInstance.name(), new WeakReference<Enum<?>>(enumInstance)); in populateCache()
98 static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> getEnumConstants( in getEnumConstants()
101 Map<String, WeakReference<? extends Enum<?>>> constants = in getEnumConstants()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkStrUtil.inl63 …:Format::Enum<VkPipelineCacheHeaderVersion> getPipelineCacheHeaderVersionStr (VkPipelineCacheHea…
64 inline tcu::Format::Enum<VkResult> getResultStr (VkResult value) { return tcu::Fo…
65 inline tcu::Format::Enum<VkStructureType> getStructureTypeStr (VkStructureType value) …
66 … tcu::Format::Enum<VkSystemAllocationScope> getSystemAllocationScopeStr (VkSystemAllocationSc…
67 … tcu::Format::Enum<VkInternalAllocationType> getInternalAllocationTypeStr (VkInternalAllocatio…
68 inline tcu::Format::Enum<VkFormat> getFormatStr (VkFormat value) { return tcu::Fo…
69 inline tcu::Format::Enum<VkImageType> getImageTypeStr (VkImageType value) { return…
70 inline tcu::Format::Enum<VkImageTiling> getImageTilingStr (VkImageTiling value) { re…
71 …line tcu::Format::Enum<VkPhysicalDeviceType> getPhysicalDeviceTypeStr (VkPhysicalDeviceType …
72 inline tcu::Format::Enum<VkQueryType> getQueryTypeStr (VkQueryType value) { return…
[all …]
/external/clang/test/CXX/class.access/
Dp6.cpp126 enum Enum { E0, E1, E2 }; // expected-note 4 {{declared private here}} enum in test5::A
127 template <Enum> void foo();
128 template <Enum> class bar;
131 template <A::Enum en> void A::foo() {} in foo()
132 template <A::Enum en> class A::bar {};
134 template <A::Enum en> void foo() {} // expected-error {{'Enum' is a private member of 'test5::A'}} in foo()
135 template <A::Enum en> class bar {}; // expected-error {{'Enum' is a private member of 'test5::A'}}
138 … template <A::Enum en> void foo() {} // expected-error {{'Enum' is a private member of 'test5::A'}} in foo()
139 … template <A::Enum en> class bar {}; // expected-error {{'Enum' is a private member of 'test5::A'}}
/external/pdfium/xfa/fxfa/parser/
Dcxfa_subform.cpp30 {XFA_Attribute::HAlign, XFA_AttributeType::Enum,
36 {XFA_Attribute::Access, XFA_AttributeType::Enum,
38 {XFA_Attribute::Presence, XFA_AttributeType::Enum,
40 {XFA_Attribute::VAlign, XFA_AttributeType::Enum,
46 {XFA_Attribute::Layout, XFA_AttributeType::Enum,
49 {XFA_Attribute::MergeMode, XFA_AttributeType::Enum,
54 {XFA_Attribute::AnchorType, XFA_AttributeType::Enum,
56 {XFA_Attribute::RestoreState, XFA_AttributeType::Enum,
58 {XFA_Attribute::Scope, XFA_AttributeType::Enum,
Dcxfa_recordset.cpp19 {XFA_Attribute::EofAction, XFA_AttributeType::Enum,
21 {XFA_Attribute::CursorType, XFA_AttributeType::Enum,
23 {XFA_Attribute::LockType, XFA_AttributeType::Enum,
25 {XFA_Attribute::BofAction, XFA_AttributeType::Enum,
28 {XFA_Attribute::CursorLocation, XFA_AttributeType::Enum,
Dcxfa_exclgroup.cpp27 {XFA_Attribute::HAlign, XFA_AttributeType::Enum,
31 {XFA_Attribute::Access, XFA_AttributeType::Enum,
33 {XFA_Attribute::Presence, XFA_AttributeType::Enum,
35 {XFA_Attribute::VAlign, XFA_AttributeType::Enum,
41 {XFA_Attribute::Layout, XFA_AttributeType::Enum,
46 {XFA_Attribute::AnchorType, XFA_AttributeType::Enum,
Dcxfa_font.cpp26 {XFA_Attribute::KerningMode, XFA_AttributeType::Enum,
30 {XFA_Attribute::OverlinePeriod, XFA_AttributeType::Enum,
33 {XFA_Attribute::LineThroughPeriod, XFA_AttributeType::Enum,
39 {XFA_Attribute::Posture, XFA_AttributeType::Enum,
42 {XFA_Attribute::Weight, XFA_AttributeType::Enum,
44 {XFA_Attribute::UnderlinePeriod, XFA_AttributeType::Enum,
47 {XFA_Attribute::GenericFamily, XFA_AttributeType::Enum,
Dcxfa_field.cpp30 {XFA_Attribute::HAlign, XFA_AttributeType::Enum,
34 {XFA_Attribute::Access, XFA_AttributeType::Enum,
37 {XFA_Attribute::Presence, XFA_AttributeType::Enum,
39 {XFA_Attribute::VAlign, XFA_AttributeType::Enum,
49 {XFA_Attribute::AnchorType, XFA_AttributeType::Enum,
/external/python/cpython3/Doc/library/
Denum.rst27 sets of names and values: :class:`Enum`, :class:`IntEnum`, :class:`Flag`, and
31 .. class:: Enum
54 Enum class decorator that ensures only one name is bound to any one value.
58 Instances are replaced with an appropriate value for Enum members.
63 Creating an Enum
68 `Functional API`_. To define an enumeration, subclass :class:`Enum` as
71 >>> from enum import Enum
72 >>> class Color(Enum):
78 .. note:: Enum member values
118 Enum members also have a property that contains just their item name::
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEnumBiMap.java40 public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>>
52 public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V>
67 public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V>
81 static <K extends Enum<K>> Class<K> inferKeyType(Map<K, ?> map) { in inferKeyType()
92 private static <V extends Enum<V>> Class<V> inferValueType(Map<?, V> map) { in inferValueType()
DEnumMultiset.java35 public final class EnumMultiset<E extends Enum<E>> extends AbstractMapBasedMultiset<E> {
37 public static <E extends Enum<E>> EnumMultiset<E> create(Class<E> type) { in create()
50 public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { in create()
65 public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements, Class<E> type) { in create()
/external/python/cpython3/Lib/test/
Dtest_enum.py6 from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto
18 class Stooges(Enum):
26 class IntStooges(int, Enum):
34 class FloatStooges(float, Enum):
51 class StrEnum(str, Enum):
60 Question = Enum('Question', 'who what when where why', module=__name__)
65 Answer = Enum('Answer', 'him this then there because')
70 Theory = Enum('Theory', 'rule law supposition', qualname='spanish_inquisition')
76 class Fruit(Enum):
126 class Season(Enum):
[all …]
/external/protobuf/src/google/protobuf/
Dtype.pb.cc101 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Enum, name_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
102 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Enum, enumvalue_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
103 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Enum, options_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
104 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Enum, source_context_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
105 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Enum, syntax_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
110 Enum::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
115 sizeof(Enum), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
116 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Enum, _internal_metadata_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
117 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Enum, _is_default_instance_)); in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
169 Enum_descriptor_, &Enum::default_instance()); in protobuf_RegisterTypes()
[all …]
Dtype.pb.h43 class Enum; variable
533 class LIBPROTOBUF_EXPORT Enum : public ::google::protobuf::Message {
535 Enum();
536 virtual ~Enum();
538 Enum(const Enum& from);
540 inline Enum& operator=(const Enum& from) {
546 static const Enum& default_instance();
548 void Swap(Enum* other);
552 inline Enum* New() const { return New(NULL); } in New()
554 Enum* New(::google::protobuf::Arena* arena) const;
[all …]
/external/autotest/client/cros/cellular/
Dcellular.py10 def Enum(enum_name, items): function
26 Technology = Enum('Technology', [
39 TechnologyFamily = Enum('TechnologyFamily', [
59 UeGsmDataStatus = Enum('GsmDataStatus', [
70 UeC2kDataStatus = Enum('C2kDataStatus', [
76 UeEvdoDataStatus = Enum('EvdoDataStatus', [
92 UeLteDataStatus = Enum('LteDataStatus', [
109 UeGenericDataStatus = Enum('UeGenericDataStatus', [
/external/guava/guava/src/com/google/common/collect/
DEnumBiMap.java44 public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>>
56 public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V>
71 public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V>
85 static <K extends Enum<K>> Class<K> inferKeyType(Map<K, ?> map) { in inferKeyType()
96 private static <V extends Enum<V>> Class<V> inferValueType(Map<?, V> map) { in inferValueType()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
Dunittest_unknown_enum_values.proto37 enum Enum { enum
43 optional Enum optional_field = 1;
44 repeated Enum repeated_field = 2;
45 repeated Enum packed_field = 3 [packed = true];
49 enum Enum { enum
55 optional Enum optional_field = 1;
56 repeated Enum repeated_field = 2;
57 repeated Enum packed_field = 3 [packed = true];
/external/clang/test/CodeGenCXX/
Dmangle-ms-return-qualifiers.cpp124 enum Enum { DEFAULT }; enum
126 Enum e1() { return DEFAULT; } in e1()
129 const Enum e2() { return DEFAULT; } in e2()
132 Enum* e3() { return 0; } in e3()
135 Enum& e4() { return *(Enum*)0; } in e4()
/external/libmojo/mojo/public/interfaces/bindings/tests/
Dsample_interfaces.mojom12 enum Enum {
24 EchoEnum(Enum a) => (Enum a);
29 GetInteger() => (int64 data, [MinVersion=2] Enum type);
31 SetInteger(int64 data, [MinVersion=3] Enum type);
/external/libmojo/mojo/public/cpp/bindings/tests/
Drequest_response_unittest.cc45 void EchoEnum(sample::Enum a, const EchoEnumCallback& callback) override { in EchoEnum()
78 void RecordEnum(sample::Enum* storage, in RecordEnum()
80 sample::Enum value) { in RecordEnum()
146 sample::Enum value; in TEST_F()
148 provider->EchoEnum(sample::Enum::VALUE, in TEST_F()
152 EXPECT_EQ(sample::Enum::VALUE, value); in TEST_F()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/cal10n/
DLocLogger.java71 public void trace(Enum<?> key, Object... args) { in trace()
93 public void debug(Enum<?> key, Object... args) { in debug()
115 public void info(Enum<?> key, Object... args) { in info()
137 public void warn(Enum<?> key, Object... args) { in warn()
159 public void error(Enum<?> key, Object... args) { in error()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DEnums.java49 public static <T extends Enum<T>> Optional<T> getIfPresent( in getIfPresent()
64 public static <T extends Enum<T>> Converter<String, T> stringConverter(final Class<T> enumClass) { in stringConverter()
68 private static final class StringConverter<T extends Enum<T>>
79 return Enum.valueOf(enumClass, value); in doForward()

12345678910>>...25