Home
last modified time | relevance | path

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

12345678910>>...22

/third_party/vk-gl-cts/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 …]
/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/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 …]
DimportElisionConstEnumMerge1.symbols2 export const enum Enum {
3 >Enum : Symbol(Enum, Decl(enum.ts, 0, 0))
6 >One : Symbol(Enum.One, Decl(enum.ts, 0, 24))
10 import { Enum } from "./enum";
11 >Enum : Symbol(Enum, Decl(merge.ts, 0, 8), Decl(merge.ts, 0, 30))
13 namespace Enum {
14 >Enum : Symbol(Enum, Decl(merge.ts, 0, 8), Decl(merge.ts, 0, 30))
19 export { Enum };
20 >Enum : Symbol(Enum, Decl(merge.ts, 4, 8))
23 import { Enum } from "./merge";
[all …]
DimportElisionConstEnumMerge1.types2 export const enum Enum {
3 >Enum : Enum
6 >One : Enum.One
11 import { Enum } from "./enum";
12 >Enum : typeof Enum
14 namespace Enum {
18 export { Enum };
19 >Enum : typeof Enum
22 import { Enum } from "./merge";
23 >Enum : typeof import("tests/cases/conformance/constEnums/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 …]
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 …]
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))
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.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
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;
/third_party/vk-gl-cts/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 …]
/third_party/mesa3d/src/util/
Denum_operators.h30 #define MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, op) \ argument
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>; \
48 a = static_cast<Enum>(ua); \
53 #define MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, op) \ argument
56 Enum operator op (Enum a) \
58 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/
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

12345678910>>...22