Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/skia/third_party/externals/spirv-tools/test/
Dext_inst.debuginfo_test.cpp66 #define CASE_0(Enum) \ argument
68 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, "", {} \
71 #define CASE_ILL(Enum, L0, L1) \ argument
73 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0 " " #L1, { \
78 #define CASE_IL(Enum, L0) \ argument
80 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0, { 4, L0 } \
83 #define CASE_I(Enum) \ argument
85 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4", { 4 } \
88 #define CASE_II(Enum) \ argument
90 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 %5", { 4, 5 } \
[all …]
Dext_inst.cldebug100_test.cpp174 #define CASE_0(Enum) \ argument
176 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, "", {} \
179 #define CASE_ILL(Enum, L0, L1) \ argument
181 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, \
187 #define CASE_IL(Enum, L0) \ argument
189 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4 " #L0, { \
194 #define CASE_I(Enum) \ argument
196 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4", { 4 } \
199 #define CASE_II(Enum) \ argument
201 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4 %5", { 4, 5 } \
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dext_inst.debuginfo_test.cpp66 #define CASE_0(Enum) \ argument
68 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, "", {} \
71 #define CASE_ILL(Enum, L0, L1) \ argument
73 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0 " " #L1, { \
78 #define CASE_IL(Enum, L0) \ argument
80 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 " #L0, { 4, L0 } \
83 #define CASE_I(Enum) \ argument
85 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4", { 4 } \
88 #define CASE_II(Enum) \ argument
90 uint32_t(DebugInfoDebug##Enum), "Debug" #Enum, " %4 %5", { 4, 5 } \
[all …]
Dext_inst.cldebug100_test.cpp174 #define CASE_0(Enum) \ argument
176 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, "", {} \
179 #define CASE_ILL(Enum, L0, L1) \ argument
181 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, \
187 #define CASE_IL(Enum, L0) \ argument
189 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4 " #L0, { \
194 #define CASE_I(Enum) \ argument
196 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4", { 4 } \
199 #define CASE_II(Enum) \ argument
201 uint32_t(OpenCLDebugInfo100Debug##Enum), EPREFIX #Enum, " %4 %5", { 4, 5 } \
[all …]
/third_party/typescript/tests/baselines/reference/
DunionOfEnumInference.types4 enum Enum { A, B, C }
5 >Enum : Enum
6 >A : Enum.A
7 >B : Enum.B
8 >C : Enum.C
10 interface Interface<T extends Enum> {
15 function foo<T extends Enum>(x: Interface<T>) { }
16 >foo : <T extends Enum>(x: Interface<T>) => void
19 function bar(x: Interface<Enum.A | Enum.B> | Interface<Enum.C>) {
20 >bar : (x: Interface<Enum.A | Enum.B> | Interface<Enum.C>) => void
[all …]
DunionOfEnumInference.js4 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) { argument
22 Enum[Enum["A"] = 0] = "A";
23 Enum[Enum["B"] = 1] = "B";
24 Enum[Enum["C"] = 2] = "C";
25 })(Enum || (Enum = {}));
DenumOperations.types2 enum Enum { None = 0 }
3 >Enum : Enum
4 >None : Enum.None
7 var enumType: Enum = Enum.None;
8 >enumType : Enum
9 >Enum.None : Enum
10 >Enum : typeof Enum
11 >None : Enum
23 >enumType : Enum
33 >enumType : Enum
[all …]
DenumDeclarationEmitInitializerHasImport.js4 export enum Enum {
11 export const value = provider.Enum.Value1;
16 exports.Enum = void 0;
17 var Enum; variable
18 (function (Enum) { argument
19 Enum[Enum["Value1"] = 0] = "Value1";
20 Enum[Enum["Value2"] = 1] = "Value2";
21 })(Enum = exports.Enum || (exports.Enum = {}));
27 exports.value = provider.Enum.Value1;
31 export declare enum Enum {
[all …]
DunionOfEnumInference.symbols4 enum Enum { A, B, C }
5 >Enum : Symbol(Enum, Decl(unionOfEnumInference.ts, 0, 0))
6 >A : Symbol(Enum.A, Decl(unionOfEnumInference.ts, 2, 11))
7 >B : Symbol(Enum.B, Decl(unionOfEnumInference.ts, 2, 14))
8 >C : Symbol(Enum.C, Decl(unionOfEnumInference.ts, 2, 17))
10 interface Interface<T extends Enum> {
13 >Enum : Symbol(Enum, Decl(unionOfEnumInference.ts, 0, 0))
20 function foo<T extends Enum>(x: Interface<T>) { }
23 >Enum : Symbol(Enum, Decl(unionOfEnumInference.ts, 0, 0))
28 function bar(x: Interface<Enum.A | Enum.B> | Interface<Enum.C>) {
[all …]
DimportedEnumMemberMergedWithExportedAliasIsError.js4 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) { argument
22 Enum[Enum["A"] = 0] = "A";
23 Enum[Enum["B"] = 1] = "B";
24 })(Enum = exports.Enum || (exports.Enum = {}));
DenumDeclarationEmitInitializerHasImport.types5 export const value = provider.Enum.Value1;
6 >value : provider.Enum.Value1
7 >provider.Enum.Value1 : provider.Enum.Value1
8 >provider.Enum : typeof provider.Enum
10 >Enum : typeof provider.Enum
11 >Value1 : provider.Enum.Value1
14 export enum Enum {
15 >Enum : Enum
18 >Value1 : Enum.Value1
21 >Value2 : Enum.Value2
DimportedEnumMemberMergedWithExportedAliasIsError.types2 export enum Enum {
3 >Enum : Enum
6 >A : Enum.A
9 >B : Enum.B
12 import {Enum} from "./enum";
13 >Enum : typeof Enum
15 import EnumA = Enum.A;
16 >EnumA : Enum.A
17 >Enum : Enum
18 >A : Enum.A
DenumDeclarationEmitInitializerHasImport.symbols5 export const value = provider.Enum.Value1;
7 >provider.Enum.Value1 : Symbol(provider.Enum.Value1, Decl(provider.ts, 0, 18))
8 >provider.Enum : Symbol(provider.Enum, Decl(provider.ts, 0, 0))
10 >Enum : Symbol(provider.Enum, Decl(provider.ts, 0, 0))
11 >Value1 : Symbol(provider.Enum.Value1, Decl(provider.ts, 0, 18))
14 export enum Enum {
15 >Enum : Symbol(Enum, Decl(provider.ts, 0, 0))
18 >Value1 : Symbol(Enum.Value1, Decl(provider.ts, 0, 18))
21 >Value2 : Symbol(Enum.Value2, Decl(provider.ts, 1, 11))
DimportedEnumMemberMergedWithExportedAliasIsError.symbols2 export enum Enum {
3 >Enum : Symbol(Enum, Decl(enum.ts, 0, 0))
6 >A : Symbol(Enum.A, Decl(enum.ts, 0, 18))
9 >B : Symbol(Enum.B, Decl(enum.ts, 1, 6))
12 import {Enum} from "./enum";
13 >Enum : Symbol(Enum, Decl(alias.ts, 0, 8))
15 import EnumA = Enum.A;
17 >Enum : Symbol(Enum, Decl(alias.ts, 0, 8))
18 >A : Symbol(Enum.A, Decl(enum.ts, 0, 18))
DenumOperations.js2 enum Enum { None = 0 }
3 var enumType: Enum = Enum.None;
20 var Enum; variable
21 (function (Enum) { argument
22 Enum[Enum["None"] = 0] = "None";
23 })(Enum || (Enum = {}));
24 var enumType = Enum.None;
DclassStaticInitializersUsePropertiesBeforeDeclaration.types5 static enumMember = Enum.A;
6 >enumMember : Enum
7 >Enum.A : Enum
8 >Enum : typeof Enum
9 >A : Enum
24 enum Enum {
25 >Enum : Enum
28 >A : Enum.A
DclassStaticInitializersUsePropertiesBeforeDeclaration.js3 static enumMember = Enum.A;
8 enum Enum {
25 Foo.enumMember = Enum.A;
30 var Enum; variable
31 (function (Enum) { argument
32 Enum[Enum["A"] = 0] = "A";
33 })(Enum || (Enum = {}));
DenumOperations.symbols2 enum Enum { None = 0 }
3 >Enum : Symbol(Enum, Decl(enumOperations.ts, 0, 0))
4 >None : Symbol(Enum.None, Decl(enumOperations.ts, 0, 11))
6 var enumType: Enum = Enum.None;
8 >Enum : Symbol(Enum, Decl(enumOperations.ts, 0, 0))
9 >Enum.None : Symbol(Enum.None, Decl(enumOperations.ts, 0, 11))
10 >Enum : Symbol(Enum, Decl(enumOperations.ts, 0, 0))
11 >None : Symbol(Enum.None, Decl(enumOperations.ts, 0, 11))
DduplicateIdentifierEnum.errors.txt1 tests/cases/compiler/duplicateIdentifierEnum_A.ts(2,6): error TS2567: Enum declarations can only me…
2 tests/cases/compiler/duplicateIdentifierEnum_A.ts(5,7): error TS2567: Enum declarations can only me…
3 tests/cases/compiler/duplicateIdentifierEnum_A.ts(9,11): error TS2567: Enum declarations can only m…
4 tests/cases/compiler/duplicateIdentifierEnum_A.ts(12,12): error TS2567: Enum declarations can only …
5 tests/cases/compiler/duplicateIdentifierEnum_A.ts(16,12): error TS2567: Enum declarations can only …
6 tests/cases/compiler/duplicateIdentifierEnum_A.ts(19,10): error TS2567: Enum declarations can only …
7 tests/cases/compiler/duplicateIdentifierEnum_A.ts(23,6): error TS2567: Enum declarations can only m…
8 tests/cases/compiler/duplicateIdentifierEnum_A.ts(26,7): error TS2567: Enum declarations can only m…
9 tests/cases/compiler/duplicateIdentifierEnum_B.ts(1,10): error TS2567: Enum declarations can only m…
10 tests/cases/compiler/duplicateIdentifierEnum_B.ts(4,6): error TS2567: Enum declarations can only me…
[all …]
DclassStaticInitializersUsePropertiesBeforeDeclaration.symbols5 static enumMember = Enum.A;
7 >Enum.A : Symbol(Enum.A, Decl(classStaticInitializersUsePropertiesBeforeDeclaration.ts, 6, 11))
8 >Enum : Symbol(Enum, Decl(classStaticInitializersUsePropertiesBeforeDeclaration.ts, 4, 1))
9 >A : Symbol(Enum.A, Decl(classStaticInitializersUsePropertiesBeforeDeclaration.ts, 6, 11))
24 enum Enum {
25 >Enum : Symbol(Enum, Decl(classStaticInitializersUsePropertiesBeforeDeclaration.ts, 4, 1))
28 >A : Symbol(Enum.A, Decl(classStaticInitializersUsePropertiesBeforeDeclaration.ts, 6, 11))
DinferFromGenericFunctionReturnTypes3.js185 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) { argument
303 Enum[Enum["A"] = 0] = "A";
304 Enum[Enum["B"] = 1] = "B";
305 })(Enum || (Enum = {}));
311 fn(new ClassWithConvert(Enum.A), () => new ClassWithConvert(Enum.A));
312 baz(makeFoo(Enum.A), makeFoo(Enum.A));
DdisallowLineTerminatorBeforeArrow.js67 export enum Enum {
73 => new City(Enum.claw);
141 var Enum;
142 (function (Enum) { argument
143 Enum[Enum["claw"] = (function () { return 10; })()] = "claw";
144 })(Enum = m.Enum || (m.Enum = {}));
145 m.v = function (x) { return new City(Enum.claw); };
DaugmentedTypesEnum.errors.txt1 tests/cases/compiler/augmentedTypesEnum.ts(2,6): error TS2567: Enum declarations can only merge wit…
2 tests/cases/compiler/augmentedTypesEnum.ts(3,5): error TS2567: Enum declarations can only merge wit…
3 tests/cases/compiler/augmentedTypesEnum.ts(6,6): error TS2567: Enum declarations can only merge wit…
4 tests/cases/compiler/augmentedTypesEnum.ts(7,10): error TS2567: Enum declarations can only merge wi…
5 tests/cases/compiler/augmentedTypesEnum.ts(9,6): error TS2567: Enum declarations can only merge wit…
6 tests/cases/compiler/augmentedTypesEnum.ts(10,5): error TS2567: Enum declarations can only merge wi…
7 tests/cases/compiler/augmentedTypesEnum.ts(13,6): error TS2567: Enum declarations can only merge wi…
8 tests/cases/compiler/augmentedTypesEnum.ts(14,7): error TS2567: Enum declarations can only merge wi…
19 !!! error TS2567: Enum declarations can only merge with namespace or other enum declarations.
22 !!! error TS2567: Enum declarations can only merge with namespace or other enum declarations.
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/
DOMPConstants.h32 #define OMP_DIRECTIVE(Enum, ...) Enum, argument
40 #define OMP_DIRECTIVE(Enum, ...) constexpr auto Enum = omp::Directive::Enum; argument
45 #define OMP_RTL(Enum, ...) Enum, argument
49 #define OMP_RTL(Enum, ...) constexpr auto Enum = omp::RuntimeFunction::Enum; argument
54 #define OMP_PROC_BIND_KIND(Enum, Str, Value) Enum = Value, argument
58 #define OMP_PROC_BIND_KIND(Enum, ...) \ argument
59 constexpr auto Enum = omp::ProcBindKind::Enum;
65 #define OMP_IDENT_FLAG(Enum, Str, Value) Enum = Value, argument
70 #define OMP_IDENT_FLAG(Enum, ...) constexpr auto Enum = omp::IdentFlag::Enum; argument
/third_party/typescript/tests/cases/compiler/
DunionOfEnumInference.ts5 enum Enum { A, B, C } enum
7 interface Interface<T extends Enum> {
11 function foo<T extends Enum>(x: Interface<T>) { }
13 function bar(x: Interface<Enum.A | Enum.B> | Interface<Enum.C>) {

12345678910>>...16