/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | ext_inst.debuginfo_test.cpp | 66 #define CASE_0(Enum) \ 68 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, "", {} \ 71 #define CASE_ILL(Enum, L0, L1) \ 73 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0 " " #L1, { \ 78 #define CASE_IL(Enum, L0) \ 80 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0, { 4, L0 } \ 83 #define CASE_I(Enum) \ [all...] |
H A D | ext_inst.cldebug100_test.cpp | 174 #define CASE_0(Enum) \ 176 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, "", {} \ 179 #define CASE_ILL(Enum, L0, L1) \ 181 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, \ 187 #define CASE_IL(Enum, L0) \ 189 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4 " #L0, { \ 194 #define CASE_I(Enum) \ [all...] |
H A D | ext_inst.opencl_test.cpp | 61 #define CASE1(Enum, Name) \ 63 uint32_t(OpenCLLIB::Entrypoints::Enum), #Name, "%4", { 4 } \ 65 #define CASE2(Enum, Name) \ 67 uint32_t(OpenCLLIB::Entrypoints::Enum), #Name, "%4 %5", { 4, 5 } \ 69 #define CASE3(Enum, Name) \ 71 uint32_t(OpenCLLIB::Entrypoints::Enum), #Name, "%4 %5 %6", { 4, 5, 6 } \ 73 #define CASE4(Enum, Name) \ 75 uint32_t(OpenCLLIB::Entrypoints::Enum), #Name, "%4 %5 %6 %7", { \ 79 #define CASE2Lit(Enum, Name, LiteralNumber) \ 81 uint32_t(OpenCLLIB::Entrypoints::Enum), #Nam [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | ext_inst.debuginfo_test.cpp | 66 #define CASE_0(Enum) \ 68 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, "", {} \ 71 #define CASE_ILL(Enum, L0, L1) \ 73 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0 " " #L1, { \ 78 #define CASE_IL(Enum, L0) \ 80 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0, { 4, L0 } \ 83 #define CASE_I(Enum) \ [all...] |
H A D | ext_inst.cldebug100_test.cpp | 174 #define CASE_0(Enum) \ 176 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, "", {} \ 179 #define CASE_ILL(Enum, L0, L1) \ 181 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, \ 187 #define CASE_IL(Enum, L0) \ 189 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4 " #L0, { \ 194 #define CASE_I(Enum) \ [all...] |
H A D | ext_inst.opencl_test.cpp | 61 #define CASE1(Enum, Name) \ 63 uint32_t(OpenCLLIB::Entrypoints::Enum), #Name, "%4", { 4 } \ 65 #define CASE2(Enum, Name) \ 67 uint32_t(OpenCLLIB::Entrypoints::Enum), #Name, "%4 %5", { 4, 5 } \ 69 #define CASE3(Enum, Name) \ 71 uint32_t(OpenCLLIB::Entrypoints::Enum), #Name, "%4 %5 %6", { 4, 5, 6 } \ 73 #define CASE4(Enum, Name) \ 75 uint32_t(OpenCLLIB::Entrypoints::Enum), #Name, "%4 %5 %6 %7", { \ 79 #define CASE2Lit(Enum, Name, LiteralNumber) \ 81 uint32_t(OpenCLLIB::Entrypoints::Enum), #Nam [all...] |
/third_party/spirv-tools/test/ |
H A D | ext_inst.debuginfo_test.cpp | 66 #define CASE_0(Enum) \ 68 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, "", {} \ 71 #define CASE_ILL(Enum, L0, L1) \ 73 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0 " " #L1, { \ 78 #define CASE_IL(Enum, L0) \ 80 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0, { 4, L0 } \ 83 #define CASE_I(Enum) \ [all...] |
H A D | ext_inst.cldebug100_test.cpp | 174 #define CASE_0(Enum) \ 176 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, "", {} \ 179 #define CASE_ILL(Enum, L0, L1) \ 181 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, \ 187 #define CASE_IL(Enum, L0) \ 189 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4 " #L0, { \ 194 #define CASE_I(Enum) \ [all...] |
/third_party/mesa3d/src/util/ |
H A D | enum_operators.h | 30 #define MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, op) \ 33 Enum operator op (Enum a, Enum b) \ 35 using IntType = std::underlying_type_t<Enum>; \ 38 return static_cast<Enum>(ua op ub); \ 42 Enum& operator op##= (Enum &a, Enum b) \ 44 using IntType = std::underlying_type_t<Enum>; \ [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPConstants.h | 32 #define OMP_DIRECTIVE(Enum, ...) Enum, 40 #define OMP_DIRECTIVE(Enum, ...) constexpr auto Enum = omp::Directive::Enum; 45 #define OMP_RTL(Enum, ...) Enum, 49 #define OMP_RTL(Enum, ...) constexpr auto Enum = omp::RuntimeFunction::Enum; [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | unionOfEnumInference.js | 4 enum Enum { A, B, C } 6 interface Interface<T extends Enum> { 10 function foo<T extends Enum>(x: Interface<T>) { } 12 function bar(x: Interface<Enum.A | Enum.B> | Interface<Enum.C>) { 20 var Enum;
variable 21 (function (Enum) {
22 Enum[Enum[" [all...] |
H A D | enumDeclarationEmitInitializerHasImport.js | 4 export enum Enum { 11 export const value = provider.Enum.Value1;
16 exports.Enum = void 0;
17 var Enum;
variable 18 (function (Enum) {
19 Enum[Enum["Value1"] = 0] = "Value1";
20 Enum[Enum["Value2"] = 1] = "Value2";
21 })(Enum [all...] |
H A D | importedEnumMemberMergedWithExportedAliasIsError.js | 4 export enum Enum { 9 import {Enum} from "./enum"; 11 import EnumA = Enum.A; 19 exports.Enum = void 0;
20 var Enum;
variable 21 (function (Enum) {
22 Enum[Enum["A"] = 0] = "A";
23 Enum[Enum[" [all...] |
H A D | enumOperations.js | 2 enum Enum { None = 0 } 3 var enumType: Enum = Enum.None; 20 var Enum;
variable 21 (function (Enum) {
22 Enum[Enum["None"] = 0] = "None";
23 })(Enum || (Enum = {}));
24 var enumType = Enum [all...] |
H A D | classStaticInitializersUsePropertiesBeforeDeclaration.js | 3 static enumMember = Enum.A; 8 enum Enum { 25 Foo.enumMember = Enum.A;
30 var Enum;
variable 31 (function (Enum) {
32 Enum[Enum["A"] = 0] = "A";
33 })(Enum || (Enum = {}));
|
H A D | importElisionConstEnumMerge1.js | 4 export const enum Enum { 9 import { Enum } from "./enum"; 10 namespace Enum { 13 export { Enum }; 16 import { Enum } from "./merge"; 17 Enum.One; 26 exports.Enum = void 0;
31 1 /* Enum.One */;
|
H A D | disallowLineTerminatorBeforeArrow.js | 67 export enum Enum { 73 => new City(Enum.claw); 141 var Enum;
variable 142 (function (Enum) {
143 Enum[Enum["claw"] = (function () { return 10; })()] = "claw";
144 })(Enum = m.Enum || (m.Enum = {}));
145 m.v = function (x) { return new City(Enum [all...] |
H A D | inferFromGenericFunctionReturnTypes3.js | 185 enum Enum { A, B } 193 fn(new ClassWithConvert(Enum.A), () => new ClassWithConvert(Enum.A)); 200 baz(makeFoo(Enum.A), makeFoo(Enum.A)); 301 var Enum;
variable 302 (function (Enum) {
303 Enum[Enum["A"] = 0] = "A";
304 Enum[Enu [all...] |
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_ignored_any.rs | 19 struct Enum(&'static str); structure names 21 impl<'de> Deserializer<'de> for Enum { 38 impl<'de> EnumAccess<'de> for Enum { 51 impl<'de> VariantAccess<'de> for Enum { 89 assert_eq!(Target::Unit, Target::deserialize(Enum("Unit")).unwrap()); in test_deserialize_enum() 92 Target::deserialize(Enum("Newtype")).unwrap() in test_deserialize_enum() 96 Target::deserialize(Enum("Tuple")).unwrap() in test_deserialize_enum() 100 Target::deserialize(Enum("Struct")).unwrap() in test_deserialize_enum() 104 IgnoredAny::deserialize(Enum("Unit")).unwrap(); in test_deserialize_enum() 105 IgnoredAny::deserialize(Enum("Newtyp in test_deserialize_enum() [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/sem/ |
H A D | sem.go | 25 Enums []*Enum 41 Enums: []*Enum{}, 49 // Enum describes an enumerator 50 type Enum struct { type 57 func (e *Enum) FindEntry(name string) *EnumEntry { 68 Enum *Enum 102 Enum *Enum 109 Enum *Enu [all...] |
/third_party/skia/third_party/externals/tint/src/utils/ |
H A D | enum_set.h | 33 /// Enum is the enum type this EnumSet wraps 34 using Enum = ENUM; 56 inline EnumSet& operator=(Enum e) { return *this = EnumSet{e}; } in operator =() 86 inline EnumSet operator+(Enum e) const { in operator +() 94 inline EnumSet operator-(Enum e) const { in operator -() 126 inline bool Contains(Enum e) const { return (set & Bit(e)) != 0; } in Contains() 144 inline bool operator==(Enum rhs) const { return set == Bit(rhs); } in operator ==() 149 inline bool operator!=(Enum rhs) const { return set != Bit(rhs); } in operator !=() 165 /// @return the Enum value at this point in the iterator 166 Enum operato [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | type.pb.h | 61 class Enum; 78 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Enum* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Enum>(Arena*); 794 class PROTOBUF_EXPORT Enum PROTOBUF_FINAL : 795 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Enum) */ { 797 inline Enum() : Enum(nullptr) {} in Enum() function in PROTOBUF_FINAL 798 virtual ~Enum(); 800 Enum(const Enum 802 : Enum() { Enum() function in PROTOBUF_FINAL [all...] |
H A D | type.pb.cc | 33 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Enum> _instance; 49 new (ptr) PROTOBUF_NAMESPACE_ID::Enum(); in InitDefaultsscc_info_Enum_google_2fprotobuf_2ftype_2eproto() 52 PROTOBUF_NAMESPACE_ID::Enum::InitAsDefaultInstance(); in InitDefaultsscc_info_Enum_google_2fprotobuf_2ftype_2eproto() 155 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, _internal_metadata_), 159 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, name_), 160 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, enumvalue_), 161 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, options_), 162 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, source_context_), 163 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Enum, syntax_), 183 { 26, -1, sizeof(PROTOBUF_NAMESPACE_ID::Enum)}, 1254 Enum::Enum(::PROTOBUF_NAMESPACE_ID::Arena* arena) Enum() function in Enum 1262 Enum::Enum(const Enum& from) Enum() function in Enum [all...] |
/third_party/python/Lib/test/ |
H A D | test_enum.py | 14 from enum import Enum, EnumMeta, IntEnum, StrEnum, EnumType, Flag, IntFlag, unique, auto namespace 42 class Stooges(Enum): 50 class IntStooges(int, Enum): 58 class FloatStooges(float, Enum): 96 Question = Enum('Question', 'who what when where why', module=__name__) 101 Answer = Enum('Answer', 'him this then there because') 106 Theory = Enum('Theory', 'rule law supposition', qualname='spanish_inquisition') 112 class Fruit(Enum): 383 class OtherEnum(Enum): 400 class OtherEnum(Enum) [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/resolver/ |
H A D | resolve.go | 76 // The resulting sem.Enum is appended to Sem.Enums, and the enum and all its 79 s := &sem.Enum{ 94 Enum: s, 196 enum := firstOption.Enum 200 Enum: enum, 364 Enum: entry.Enum, 415 case *sem.Enum: 416 return &sem.TemplateEnumParam{Name: a.Name, Enum: r}, nil 418 return &sem.TemplateEnumParam{Name: a.Name, Enum [all...] |