Home
last modified time | relevance | path

Searched refs:enums (Results 1 – 25 of 681) sorted by relevance

12345678910>>...28

/third_party/typescript/tests/baselines/reference/
DenumMergeWithExpando.symbols4 …f : Symbol(lf, Decl(lovefield-ts.d.ts, 0, 0), Decl(enums.js, 0, 0), Decl(enums.js, 0, 13), Decl(en…
7 … Symbol(Order, Decl(lovefield-ts.d.ts, 1, 22), Decl(enums.js, 0, 0), Decl(enums.js, 1, 3), Decl(en…
8 >ASC : Symbol(Order.ASC, Decl(lovefield-ts.d.ts, 2, 23), Decl(enums.js, 1, 18))
9 >DESC : Symbol(Order.DESC, Decl(lovefield-ts.d.ts, 2, 28), Decl(enums.js, 0, 13))
12 === tests/cases/conformance/salsa/enums.js ===
14 …mbol(lf.Order, Decl(lovefield-ts.d.ts, 1, 22), Decl(enums.js, 0, 0), Decl(enums.js, 1, 3), Decl(en…
15 …f : Symbol(lf, Decl(lovefield-ts.d.ts, 0, 0), Decl(enums.js, 0, 0), Decl(enums.js, 0, 13), Decl(en…
16 …mbol(lf.Order, Decl(lovefield-ts.d.ts, 1, 22), Decl(enums.js, 0, 0), Decl(enums.js, 1, 3), Decl(en…
19 >lf.Order.DESC : Symbol(lf.Order.DESC, Decl(lovefield-ts.d.ts, 2, 28), Decl(enums.js, 0, 13))
20 …mbol(lf.Order, Decl(lovefield-ts.d.ts, 1, 22), Decl(enums.js, 0, 0), Decl(enums.js, 1, 3), Decl(en…
[all …]
DenumErrors.errors.txt1 tests/cases/conformance/enums/enumErrors.ts(2,6): error TS2431: Enum name cannot be 'any'.
2 tests/cases/conformance/enums/enumErrors.ts(3,6): error TS2431: Enum name cannot be 'number'.
3 tests/cases/conformance/enums/enumErrors.ts(4,6): error TS2431: Enum name cannot be 'string'.
4 tests/cases/conformance/enums/enumErrors.ts(5,6): error TS2431: Enum name cannot be 'boolean'.
5 tests/cases/conformance/enums/enumErrors.ts(9,9): error TS18033: Only numeric enums can have comput…
6 tests/cases/conformance/enums/enumErrors.ts(26,9): error TS18033: Only numeric enums can have compu…
7 tests/cases/conformance/enums/enumErrors.ts(27,9): error TS18033: Only numeric enums can have compu…
8 tests/cases/conformance/enums/enumErrors.ts(28,9): error TS18033: Only numeric enums can have compu…
9 tests/cases/conformance/enums/enumErrors.ts(29,9): error TS18033: Only numeric enums can have compu…
10 tests/cases/conformance/enums/enumErrors.ts(30,9): error TS18033: Only numeric enums can have compu…
[all …]
DforwardRefInEnum.errors.txt1 …m declaration cannot reference members declared after it, including members defined in other enums.
2 …m declaration cannot reference members declared after it, including members defined in other enums.
3 …m declaration cannot reference members declared after it, including members defined in other enums.
4 …m declaration cannot reference members declared after it, including members defined in other enums.
13 …m declaration cannot reference members declared after it, including members defined in other enums.
16 …m declaration cannot reference members declared after it, including members defined in other enums.
20 …m declaration cannot reference members declared after it, including members defined in other enums.
23 …m declaration cannot reference members declared after it, including members defined in other enums.
DintersectionTypeNormalization.types145 namespace enums {
207 genreId: enums.Genre;
208 >genreId : enums.Genre
209 >enums : any
216 genreId: enums.Genre;
217 >genreId : enums.Genre
218 >enums : any
226 >foo : (so: any) => enums.Genre
235 >isGenre : enums.Genre
236 >val.genreId : enums.Genre
[all …]
DenumConstantMembers.errors.txt1 tests/cases/conformance/enums/enumConstantMembers.ts(32,9): error TS2477: 'const' enum member initi…
2 tests/cases/conformance/enums/enumConstantMembers.ts(33,9): error TS2477: 'const' enum member initi…
3 tests/cases/conformance/enums/enumConstantMembers.ts(34,9): error TS2477: 'const' enum member initi…
4 tests/cases/conformance/enums/enumConstantMembers.ts(35,9): error TS2478: 'const' enum member initi…
5 tests/cases/conformance/enums/enumConstantMembers.ts(36,9): error TS2478: 'const' enum member initi…
6 tests/cases/conformance/enums/enumConstantMembers.ts(37,9): error TS2477: 'const' enum member initi…
7 tests/cases/conformance/enums/enumConstantMembers.ts(38,9): error TS2477: 'const' enum member initi…
10 ==== tests/cases/conformance/enums/enumConstantMembers.ts (7 errors) ====
Des3-oldStyleOctalLiteralInEnums.errors.txt1 …alLiteralInEnums.ts(2,7): error TS8018: Octal literals are not allowed in enums members initialize…
2 …alLiteralInEnums.ts(3,7): error TS8018: Octal literals are not allowed in enums members initialize…
9 !!! error TS8018: Octal literals are not allowed in enums members initializer. Use the syntax '-0o1…
12 !!! error TS8018: Octal literals are not allowed in enums members initializer. Use the syntax '0o2'.
DenumConstantMemberWithTemplateLiterals.errors.txt1 tests/cases/conformance/enums/enumConstantMemberWithTemplateLiterals.ts(28,9): error TS2553: Comput…
2 tests/cases/conformance/enums/enumConstantMemberWithTemplateLiterals.ts(29,9): error TS2553: Comput…
3 tests/cases/conformance/enums/enumConstantMemberWithTemplateLiterals.ts(30,9): error TS2553: Comput…
4 tests/cases/conformance/enums/enumConstantMemberWithTemplateLiterals.ts(31,9): error TS2553: Comput…
7 ==== tests/cases/conformance/enums/enumConstantMemberWithTemplateLiterals.ts (4 errors) ====
DparserComputedPropertyName34.errors.txt1 …rserComputedPropertyName34.ts(3,5): error TS1164: Computed property names are not allowed in enums.
3 …rserComputedPropertyName34.ts(4,5): error TS1164: Computed property names are not allowed in enums.
11 !!! error TS1164: Computed property names are not allowed in enums.
16 !!! error TS1164: Computed property names are not allowed in enums.
DparserComputedPropertyName30.errors.txt1 …rserComputedPropertyName30.ts(3,5): error TS1164: Computed property names are not allowed in enums.
4 …rserComputedPropertyName30.ts(4,5): error TS1164: Computed property names are not allowed in enums.
12 !!! error TS1164: Computed property names are not allowed in enums.
19 !!! error TS1164: Computed property names are not allowed in enums.
DenumConstantMemberWithString.errors.txt1 tests/cases/conformance/enums/enumConstantMemberWithString.ts(5,9): error TS2553: Computed values a…
2 tests/cases/conformance/enums/enumConstantMemberWithString.ts(6,9): error TS2553: Computed values a…
3 tests/cases/conformance/enums/enumConstantMemberWithString.ts(18,9): error TS2553: Computed values …
6 ==== tests/cases/conformance/enums/enumConstantMemberWithString.ts (3 errors) ====
/third_party/protobuf/src/google/protobuf/
Dgenerated_enum_util.cc49 int GetValue(const EnumEntry* enums, int i, int target) { in GetValue() argument
53 return enums[i].value; in GetValue()
59 bool LookUpEnumValue(const EnumEntry* enums, size_t size, in LookUpEnumValue() argument
62 auto it = std::lower_bound(enums, enums + size, target, EnumCompareByName); in LookUpEnumValue()
63 if (it != enums + size && it->name == name) { in LookUpEnumValue()
70 int LookUpEnumName(const EnumEntry* enums, const int* sorted_indices, in LookUpEnumName() argument
72 auto comparator = [enums, value](int a, int b) { in LookUpEnumName()
73 return GetValue(enums, a, value) < GetValue(enums, b, value); in LookUpEnumName()
77 if (it != sorted_indices + size && enums[*it].value == value) { in LookUpEnumName()
84 const EnumEntry* enums, const int* sorted_indices, size_t size, in InitializeEnumStrings() argument
[all …]
Dgenerated_enum_util.h64 PROTOBUF_EXPORT bool LookUpEnumValue(const EnumEntry* enums, size_t size,
68 PROTOBUF_EXPORT int LookUpEnumName(const EnumEntry* enums,
74 const EnumEntry* enums, const int* sorted_indices, size_t size,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCMakeLists.txt6 tablegen(LLVM IntrinsicEnums.inc -gen-intrinsic-enums)
7 tablegen(LLVM IntrinsicsAArch64.h -gen-intrinsic-enums -intrinsic-prefix=aarch64)
8 tablegen(LLVM IntrinsicsAMDGPU.h -gen-intrinsic-enums -intrinsic-prefix=amdgcn)
9 tablegen(LLVM IntrinsicsARM.h -gen-intrinsic-enums -intrinsic-prefix=arm)
10 tablegen(LLVM IntrinsicsBPF.h -gen-intrinsic-enums -intrinsic-prefix=bpf)
11 tablegen(LLVM IntrinsicsHexagon.h -gen-intrinsic-enums -intrinsic-prefix=hexagon)
12 tablegen(LLVM IntrinsicsMips.h -gen-intrinsic-enums -intrinsic-prefix=mips)
13 tablegen(LLVM IntrinsicsNVPTX.h -gen-intrinsic-enums -intrinsic-prefix=nvvm)
14 tablegen(LLVM IntrinsicsPowerPC.h -gen-intrinsic-enums -intrinsic-prefix=ppc)
15 tablegen(LLVM IntrinsicsR600.h -gen-intrinsic-enums -intrinsic-prefix=r600)
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py226 enums = []
234 enums.append((key, value))
237 enums.sort(key=lambda enum: (1 << (len(enum[1]) - 1).bit_length()) / float(len(enum[1])))
239 return (flags, enums)
242 def get_variation_bits(flags, enums): argument
244 enum_bits = [(len(enum[1]) - 1).bit_length() for enum in enums]
248 def next_enum_variation(enums, enum_indices): argument
253 for i in range(len(enums)):
256 if current + 1 < len(enums[i][1]):
389 def compile_variation(glslang_path, compile_queue, shader_file, shader_basename, flags, enums, argument
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py267 enums = []
275 enums.append((key, value))
281 enums.sort(key=lambda enum: (bits(enum[1]), enum[0]))
283 return (flags, enums)
286 def get_variation_bits(flags, enums): argument
288 enum_bits = [(len(enum[1]) - 1).bit_length() for enum in enums]
292 def next_enum_variation(enums, enum_indices): argument
297 for i in range(len(enums)):
300 if current + 1 < len(enums[i][1]):
481 def compile_variation(glslang_path, compile_queue, shader_file, shader_basename, flags, enums, argument
[all …]
/third_party/mesa3d/src/panfrost/bifrost/valhall/
Dasm.py27 from valhall import instructions, enums, immediates, typesize
130 elif op in enums['thread_storage_pointers'].bare_values:
132 idx = 32 + enums['thread_storage_pointers'].bare_values.index(op)
134 elif op in enums['thread_identification'].bare_values:
136 idx = 32 + enums['thread_identification'].bare_values.index(op)
199 if mod in enums['immediate_mode'].bare_values:
254 elif mod in enums[f'swizzles_{src.size}_bit'].bare_values and (src.widen or src.lanes):
257 val = enums[f'swizzles_{src.size}_bit'].bare_values.index(mod)
259 elif src.lane and mod in enums[f'lane_{src.size}_bit'].bare_values:
262 val = enums[f'lane_{src.size}_bit'].bare_values.index(mod)
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
Dgen_packed_gl_enums.py46 enums = []
57 enums.append(Enum(enum_name, values, i))
59 enums.sort(key=lambda enum: enum.name)
60 return enums
117 def write_header(enums, path_prefix, file_name, data_source_name, includes, namespace, argument
121 for enum in enums:
204 def write_cpp(enums, path_prefix, file_name, data_source_name, namespace, api_enum_name): argument
207 for enum in enums:
272 enums = load_enums(path_prefix + json_file)
273 write_header(enums, path_prefix, output_file + '_autogen.h', json_file, includes,
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dgen_packed_gl_enums.py36 enums = []
47 enums.append(Enum(enum_name, values, i))
49 enums.sort(key=lambda enum: enum.name)
50 return enums
109 def write_header(enums, path_prefix, file_name, data_source_name, namespace, api_enum_name): argument
112 for enum in enums:
195 def write_cpp(enums, path_prefix, file_name, data_source_name, namespace, api_enum_name): argument
198 for enum in enums:
263 enums = load_enums(path_prefix + json_file)
264 write_header(enums, path_prefix, output_file + '_autogen.h', json_file, namespace,
[all …]
/third_party/boost/libs/python/doc/reference/
Denum.qbk53 BOOST_PYTHON_MODULE(enums)
67 >>> from enums import *
70 enums.color.red
73 enums.color.red
76 enums.color.green
79 enums.color.green
87 enums.color.blue
90 enums.color.red
93 enums.color.green
96 enums.color(3)
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-use-before-define.ts16 let enums = true;
26 enums = options.enums !== false;
35 enums,
188 enums?: boolean; property
220 enums: { type: 'boolean' },
235 enums: true,
266 return options.enums;
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dno-use-before-define.md27 enums?: boolean;
34 enums: true,
40 ### `enums`
43 If this is `false`, this rule will ignore references to enums, when the reference is in a child sco…
45 Examples of **incorrect** code for the `{ "enums": false }` option:
48 /*eslint no-use-before-define: ["error", { "enums": false }]*/
57 Examples of **correct** code for the `{ "enums": false }` option:
60 /*eslint no-use-before-define: ["error", { "enums": false }]*/
/third_party/mesa3d/src/mapi/glapi/gen/
DglX_proto_size.py46 self.enums = {}
80 if e.value in self.enums:
81 if e.name not in self.enums[ e.value ]:
82 self.enums[ e.value ].append( e )
87 self.enums[ e.value ] = [ e ]
129 for a in self.enums:
143 for a in self.enums:
144 for b in self.enums:
165 enum_obj = self.enums[e][0]
206 for enum_obj in self.enums[e]:
[all …]
/third_party/mesa3d/src/asahi/compiler/
Dagx_opcodes.h.py80 from agx_opcodes import opcodes, immediates, enums
83 enums=enums))
/third_party/vk-gl-cts/scripts/khr_util/
Dregistry.py49 enums = None variable in Enums
189 self.enums = EnumIndex(eRegistry.findall('enums/enum'))
190 for eEnum in self.enums:
245 self.enums = set()
263 modify(self.enums, enumName)
311 return parseEnum(registry.enums[enumName, api])
358 enums=NameIndex(enums[name] for name in eGroup.xpath('enum/@name')
359 if name in enums))
384 enums = NameIndex(list(map(createEnum, spec.enums)),
406 sortedEnums=sortedIndex(enums)
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/
Dcomma-dangle.test.ts25 { code: 'enum Foo {Bar\n}', options: [{ enums: 'never' }] },
35 { code: 'enum Foo {Bar,\n}', options: [{ enums: 'always' }] },
45 { code: 'enum Foo {Bar,\n}', options: [{ enums: 'always-multiline' }] },
63 { code: 'enum Foo {Bar,\n}', options: [{ enums: 'only-multiline' }] },
89 enums: 'never',

12345678910>>...28