/third_party/spirv-tools/utils/ |
H A D | generate_grammar_tables.py | 74 """Returns a string containing a braced list of capabilities as enums. 80 a string containing the braced list of SpvCapability* or spv::Capability:: enums named by caps. 120 """Returns a string containing a braced list of extensions as enums. 525 def generate_operand_kind_table(enums): 527 # We only need to output info tables for those operand kinds that are enums. 528 enums = [e for e in enums if e.get('category') in ['ValueEnum', 'BitEnum']] 531 for enum in enums 536 for enum in enums 538 enums [all...] |
/third_party/libdrm/tests/proptest/ |
H A D | proptest.c | 129 printf(" %s=%"PRIu64, prop->enums[i].name, in dump_prop() 130 (uint64_t)prop->enums[i].value); in dump_prop() 135 printf(" %s=0x%llx", prop->enums[i].name, in dump_prop() 136 (1LL << prop->enums[i].value)); in dump_prop()
|
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_sort_tags.py | 111 enums = sorted(genxml.findall('enum'), key=get_name) 113 for e in enums: 144 genxml[:] = enums + list(sorted_structs.values()) + instructions + registers
|
/third_party/typescript/tests/baselines/reference/ |
H A D | intersectionTypeNormalization.js | 65 namespace enums { 93 genreId: enums.Genre; 97 genreId: enums.Genre;
|
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | headergen2.c | 28 /* modified version of headergen which uses enums and inline fxns for 471 for (j = 0; j < db->enums[i]->valsnum; j++) { in main() 473 dst = findfout(db->enums[i]->vals[j]->file); in main() 474 fprintf(dst, "enum %s {\n", db->enums[i]->name); in main() 476 if (0xffff0000 & db->enums[i]->vals[j]->value) in main() 477 fprintf(dst, "\t%s = 0x%08"PRIx64",\n", db->enums[i]->vals[j]->name, in main() 478 db->enums[i]->vals[j]->value); in main() 480 fprintf(dst, "\t%s = %"PRIu64",\n", db->enums[i]->vals[j]->name, in main() 481 db->enums[i]->vals[j]->value); in main()
|
/third_party/mesa3d/src/asahi/lib/ |
H A D | gen_pack.py | 36 * Packets, enums and structures for Panfrost. 265 if self.type in self.parser.enums and self.default is not None: 285 elif self.type in self.parser.enums: 440 elif field.type in self.parser.enums: 511 if field.type in set(["uint", "uint/float", "address", "Pixel Format", "hex"]) | self.parser.enums: 534 if field.type in self.parser.enums: 556 elif field.type in self.parser.enums: 592 self.enums = set() 617 self.enums.add(attrs["name"])
|
/third_party/vk-gl-cts/scripts/egl/ |
H A D | gtf_wrapper.py | 25 from egl.enums import enumValue 102 writeInlFile(os.path.join(EGL_WRAPPER_DIR, "eglwEnumsC.inl"), indentLines(map(enumDefinitionC, defaultIface.enums)))
|
H A D | enums.py | 56 writeInlFile(os.path.join(EGL_WRAPPER_DIR, "eglwEnums.inl"), indentLines(map(enumDefinition, iface.enums)))
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | generator.py | 205 type from <feature> or <extension> elements to the target <enums> 285 <feature> or <extension> when extending an <enums> type.""" 326 'enum': 'enums', 503 def checkDuplicateEnums(self, enums): 506 - enums - list of `<enum>` Elements 516 for elem in enums: 544 msg = 'Two enums found with the same value: {} = {} = {}'.format( 594 # or as 32-bit C enums. 64-bit types must use uint64_t values. 635 enums = groupElem.findall('enum') 639 enums [all...] |
/third_party/vulkan-headers/registry/ |
H A D | generator.py | 205 type from <feature> or <extension> elements to the target <enums> 285 <feature> or <extension> when extending an <enums> type.""" 326 'enum': 'enums', 503 def checkDuplicateEnums(self, enums): 506 - enums - list of `<enum>` Elements 516 for elem in enums: 544 msg = 'Two enums found with the same value: {} = {} = {}'.format( 594 # or as 32-bit C enums. 64-bit types must use uint64_t values. 635 enums = groupElem.findall('enum') 639 enums [all...] |
/third_party/mesa3d/src/freedreno/registers/ |
H A D | gen_header.py | 54 elif not self.type in builtin_types and not self.type in parser.enums: 299 self.enums = {} 392 self.enums[attrs["name"]] = self.current_enum 436 enums = [] 441 enums.append(e) 447 for e in enums + bitsets + regs:
|
/third_party/skia/third_party/externals/opengl-registry/xml/ |
H A D | readme.tex | 126 containing \tag{types}, \tag{enums}, \tag{commands}, \tag{feature}, and 184 \item \tag{enums} (see section~\ref{tag:enums}) - defines API enumerants 289 of enums together within a broader namespace. 296 correspond to a \tag{enum} definition in an \tag{enums} block. 309 \section{Enumerant Blocks (\tag{enums} tag)} 310 \label{tag:enums} 312 The \tag{enums} tags contain individual \tag{enum} tags describing each of the 315 \subsection{Attributes of \tag{enums} tags} 318 \item \attr{namespace} - a string for grouping many different enums [all...] |
/third_party/libdrm/tests/modeprint/ |
H A D | modeprint.c | 116 printf("\t\t%" PRIu64" = %s\n", (uint64_t)props->enums[j].value, props->enums[j].name); in printProperty() 117 if (props->enums[j].value == value) in printProperty() 118 name = props->enums[j].name; in printProperty()
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
H A D | csharp_reflection_class.cc | 244 // corresponding to fields, names corresponding to oneofs, nested enums, and nested types. Each array part 287 // Nested enums in WriteGeneratedCodeInfo() 289 std::vector<std::string> enums; in WriteGeneratedCodeInfo() local 290 enums.reserve(descriptor->enum_type_count()); in WriteGeneratedCodeInfo() 292 enums.push_back(GetClassName(descriptor->enum_type(i))); in WriteGeneratedCodeInfo() 294 printer->Print("new[]{ typeof($enums$) }, ", "enums", Join(enums, "), typeof(")); in WriteGeneratedCodeInfo()
|
/base/useriam/face_auth/frameworks/js/napi/src/ |
H A D | face_auth_napi.cpp | 182 napi_property_descriptor enums[] = { in ModuleInit() local 185 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(enums) / sizeof(napi_property_descriptor), enums)); in ModuleInit()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | enum_ty.rs | 79 panic!("Since when enums can be non-integers? {:?}", other) in from_ty() 153 enums: &RegexSet, in is_matching_enum() 159 if enums.matches(path[1..].join("::")) { in is_matching_enum() 168 self.variants().iter().any(|v| enums.matches(v.name())) in is_matching_enum()
|
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | gen_str_util.py | 39 return set(enum.name for enum in iface.enums) | \ 40 set(enum.alias for enum in iface.enums if enum.alias != None) 64 # booleans can be stored in enums or in byte-sized arrays. For clarity add special case
|
/third_party/openssl/test/helpers/ |
H A D | ssl_test_ctx.c | 58 /* True enums and other test configuration values that map to an int. */ 65 __owur static int parse_enum(const test_enum *enums, size_t num_enums, in parse_enum() argument 70 if (strcmp(enums[i].name, name) == 0) { in parse_enum() 71 *value = enums[i].value; in parse_enum() 78 static const char *enum_name(const test_enum *enums, size_t num_enums, in enum_name() argument 83 if (enums[i].value == value) { in enum_name() 84 return enums[i].name; in enum_name()
|
/third_party/openGLES/xml/ |
H A D | readme.tex | 129 containing \tag{types}, \tag{enums}, \tag{commands}, \tag{feature}, and 191 \item \tag{enums} (see section~\ref{tag:enums}) - defines API enumerants 259 or \tag{enums} tag (see section~\ref{tag:groups}). 353 of enums together within a broader namespace. 360 correspond to a \tag{enum} definition in an \tag{enums} block. 373 \section{Enumerant Blocks (\tag{enums} tag)} 374 \label{tag:enums} 376 The \tag{enums} tags contain individual \tag{enum} tags describing each of the 379 \subsection{Attributes of \tag{enums} tag [all...] |
/third_party/vk-gl-cts/scripts/opengl/ |
H A D | gen_enums.py | 32 src = indentLines(map(enumDefinition, iface.enums))
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | btf_dumper.c | 151 const struct btf_enum *enums = btf_enum(t); in btf_dumper_enum() local 173 if (value == enums[i].val) { in btf_dumper_enum() 176 enums[i].name_off)); in btf_dumper_enum() 189 const struct btf_enum64 *enums = btf_enum64(t); in btf_dumper_enum64() local 199 if (val_lo32 == enums[i].val_lo32 && val_hi32 == enums[i].val_hi32) { in btf_dumper_enum64() 202 enums[i].name_off)); in btf_dumper_enum64()
|
/third_party/mesa3d/src/panfrost/lib/genxml/ |
H A D | gen_pack.py | 36 * Packets, enums and structures for Panfrost. 366 if self.type in self.parser.enums and self.default is not None: 386 elif self.type in self.parser.enums: 544 elif field.type in self.parser.enums: 614 elif field.type in self.parser.enums: 656 elif field.type in self.parser.enums: 689 self.enums = set() 722 self.enums.add(attrs["name"])
|
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | gen_framework_sc.py | 429 def __init__ (self, name, handles, enums, bitfields, compositeTypes, functions, definitions, additionalDefinitions, typedefs, versionInCore): 434 self.enums = enums 442 return 'EXT:\n%s ->\nENUMS:\n%s\nCOMPOS:\n%s\nFUNCS:\n%s\nBITF:\n%s\nHAND:\n%s\nDEFS:\n%s\n' % (self.name, self.enums, self.compositeTypes, self.functions, self.bitfields, self.handles, self.definitions, self.versionInCore) 445 def __init__ (self, versions, definitions, handles, enums, bitfields, bitfields64, compositeTypes, functions, extensions, additionalExtensionData): 449 self.enums = enums 512 # \note Parses raw enums, some are mapped to bitfields later 515 enums = [] 517 enums [all...] |
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | defs.c | 100 /* Look in enums defined in this file. */ in rewrite_enum_default() 103 const google_protobuf_EnumDescriptorProto* const* enums = in rewrite_enum_default() local 108 if (upb_strview_eql(google_protobuf_EnumDescriptorProto_name(enums[i]), in rewrite_enum_default() 110 matching_enum = enums[i]; in rewrite_enum_default() 169 google_protobuf_EnumDescriptorProto* const* enums, in rewrite_nesting() 172 VALUE enum_pos = rb_hash_aref(msg_ent, ID2SYM(rb_intern("enums"))); in rewrite_nesting() 199 rewrite_nesting(submsg_ent, msg_msgs[i], msgs, enums, arena); in rewrite_nesting() 204 msg_enums[i] = enums[NUM2INT(pos)]; in rewrite_nesting() 260 google_protobuf_EnumDescriptorProto** enums; in rewrite_names() local 275 enums in rewrite_names() 167 rewrite_nesting(VALUE msg_ent, google_protobuf_DescriptorProto* msg, google_protobuf_DescriptorProto* const* msgs, google_protobuf_EnumDescriptorProto* const* enums, upb_arena *arena) rewrite_nesting() argument [all...] |
/kernel/linux/linux-6.6/arch/hexagon/ |
H A D | Makefile | 10 # Do not use single-byte enums; these will overflow. 11 KBUILD_CFLAGS += -fno-short-enums
|