/external/deqp/framework/opengl/ |
D | gluStrUtilPrototypes.inl | 82 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 …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | ext_inst.debuginfo_test.cpp | 65 #define CASE_0(Enum) \ argument 67 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, "", {} \ 70 #define CASE_ILL(Enum, L0, L1) \ argument 72 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0 " " #L1, { \ 77 #define CASE_IL(Enum, L0) \ argument 79 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0, { 4, L0 } \ 82 #define CASE_I(Enum) \ argument 84 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4", { 4 } \ 87 #define CASE_II(Enum) \ argument 89 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 %5", { 4, 5 } \ [all …]
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | ext_inst.debuginfo_test.cpp | 65 #define CASE_0(Enum) \ argument 67 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, "", {} \ 70 #define CASE_ILL(Enum, L0, L1) \ argument 72 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0 " " #L1, { \ 77 #define CASE_IL(Enum, L0) \ argument 79 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0, { 4, L0 } \ 82 #define CASE_I(Enum) \ argument 84 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4", { 4 } \ 87 #define CASE_II(Enum) \ argument 89 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 %5", { 4, 5 } \ [all …]
|
/external/deqp/framework/egl/ |
D | egluStrUtilPrototypes.inl | 29 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/ |
D | Enums.java | 56 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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | SearchableTableEmitter.cpp | 59 GenericEnum *Enum = nullptr; member 123 else if (Field.Enum) in primaryRepresentation() 124 return Field.Enum->EntryMap[cast<DefInit>(I)->getDef()]->first; in primaryRepresentation() 169 } else if (Field.Enum || Field.IsIntrinsic || Field.IsInstruction) in searchableFieldType() 176 void emitGenericEnum(const GenericEnum &Enum, raw_ostream &OS); 187 void collectEnumEntries(GenericEnum &Enum, StringRef NameField, 201 if (Index.Fields[0].Enum) { in getNumericKey() 203 return Index.Fields[0].Enum->EntryMap[EnumEntry]->second; in getNumericKey() 250 } else if (Field.Enum) { in compareBy() 253 int64_t LHSv = Field.Enum->EntryMap[LHSr]->second; in compareBy() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkStrUtil.inl | 63 …: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/python/cpython3/Doc/library/ |
D | enum.rst | 27 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/pdfium/xfa/fxfa/parser/ |
D | cxfa_subform.cpp | 30 {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,
|
D | cxfa_recordset.cpp | 19 {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,
|
D | cxfa_exclgroup.cpp | 27 {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,
|
/external/clang/test/CXX/class.access/ |
D | p6.cpp | 126 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/libchrome/base/metrics/ |
D | histogram_macros_internal.h | 27 template <typename Enum, typename SFINAE = void> 29 static constexpr Enum Count() { in Count() 31 sizeof(Enum) == 0, in Count() 33 return Enum(); in Count() 39 template <typename Enum> 41 Enum, 42 std::enable_if_t<std::is_enum<decltype(Enum::kMaxValue)>::value>> { 43 static constexpr Enum Count() { 44 return static_cast<Enum>( 45 static_cast<std::underlying_type_t<Enum>>(Enum::kMaxValue) + 1);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | EnumBiMap.java | 40 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()
|
/external/python/cpython3/Lib/test/ |
D | test_enum.py | 7 from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto 20 class Stooges(Enum): 28 class IntStooges(int, Enum): 36 class FloatStooges(float, Enum): 53 class StrEnum(str, Enum): 62 Question = Enum('Question', 'who what when where why', module=__name__) 67 Answer = Enum('Answer', 'him this then there because') 72 Theory = Enum('Theory', 'rule law supposition', qualname='spanish_inquisition') 78 class Fruit(Enum): 144 class Season(Enum): [all …]
|
/external/protobuf/src/google/protobuf/ |
D | type.pb.cc | 101 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 …]
|
D | type.pb.h | 43 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/ |
D | cellular.py | 10 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/ |
D | EnumBiMap.java | 44 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/ |
D | unittest_unknown_enum_values.proto | 37 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/ |
D | mangle-ms-return-qualifiers.cpp | 124 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/grpc-grpc-java/protobuf-lite/src/test/java/io/grpc/protobuf/lite/ |
D | ProtoLiteUtilsTest.java | 28 import com.google.protobuf.Enum; 100 Marshaller<Enum> enumMarshaller = ProtoLiteUtils.marshaller(Enum.getDefaultInstance()); in testMismatch() 102 Enum altProto = Enum.newBuilder().setName(proto.getName()).build(); in testMismatch() 108 Marshaller<Enum> enumMarshaller = ProtoLiteUtils.marshaller(Enum.getDefaultInstance()); in introspection() 109 PrototypeMarshaller<Enum> prototypeMarshaller = (PrototypeMarshaller<Enum>) enumMarshaller; in introspection() 110 assertSame(Enum.getDefaultInstance(), prototypeMarshaller.getMessagePrototype()); in introspection() 111 assertSame(Enum.class, prototypeMarshaller.getMessageClass()); in introspection()
|
/external/python/apitools/samples/storage_sample/storage_v1/ |
D | storage_v1_messages.py | 838 class AltValueValuesEnum(_messages.Enum): 944 class ProjectionValueValuesEnum(_messages.Enum): 983 class PredefinedAclValueValuesEnum(_messages.Enum): 1003 class PredefinedDefaultObjectAclValueValuesEnum(_messages.Enum): 1027 class ProjectionValueValuesEnum(_messages.Enum): 1061 class ProjectionValueValuesEnum(_messages.Enum): 1102 class PredefinedAclValueValuesEnum(_messages.Enum): 1122 class PredefinedDefaultObjectAclValueValuesEnum(_messages.Enum): 1146 class ProjectionValueValuesEnum(_messages.Enum): 1213 class PredefinedAclValueValuesEnum(_messages.Enum): [all …]
|
/external/libchrome/mojo/public/interfaces/bindings/tests/ |
D | sample_interfaces.mojom | 12 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/libprotobuf-mutator/src/ |
D | mutator_test_proto2.proto | 5 enum Enum { enum 37 required Enum required_enum = 16; 55 optional Enum optional_enum = 33; 73 repeated Enum repeated_enum = 50; 92 Enum oneof_enum = 67; 108 enum Enum { enum 116 optional Enum opt_enum = 2;
|