Searched refs:enum (Results 1 – 25 of 37) sorted by relevance
12
| /tools/net/sunrpc/xdrgen/templates/C/enum/declaration/ |
| D | close.j2 | 3 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} *ptr); 4 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} value);
|
| /tools/net/sunrpc/xdrgen/templates/C/enum/encoder/ |
| D | enum.j2 | 4 /* enum {{ name }} */ 11 xdrgen_encode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} value)
|
| /tools/net/sunrpc/xdrgen/templates/C/enum/decoder/ |
| D | enum.j2 | 4 /* enum {{ name }} */ 11 xdrgen_decode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} *ptr)
|
| /tools/perf/util/scripting-engines/ |
| D | Build | 6 …-undef -Wno-switch-default -Wno-bad-function-cast -Wno-declaration-after-statement -Wno-switch-enum 9 …Wno-unused-parameter -Wno-shadow -Wno-deprecated-declarations -Wno-switch-enum -Wno-declaration-af…
|
| /tools/net/sunrpc/xdrgen/grammars/ |
| D | xdr.lark | 46 enum_type_spec : "enum" enum_body 67 | "enum" identifier enum_body ";" -> enum
|
| /tools/net/sunrpc/xdrgen/templates/C/enum/definition/ |
| D | open.j2 | 3 enum {{ name }} {
|
| /tools/net/sunrpc/xdrgen/templates/C/constants/ |
| D | definition.j2 | 3 enum { {{ name }} = {{ value }} };
|
| /tools/net/sunrpc/xdrgen/templates/C/program/definition/ |
| D | open.j2 | 6 enum {
|
| /tools/perf/scripts/perl/Perf-Trace-Util/ |
| D | Build | 3 …cls -Wno-strict-prototypes -Wno-bad-function-cast -Wno-declaration-after-statement -Wno-switch-enum
|
| /tools/memory-model/ |
| D | linux-kernel.bell | 16 enum Accesses = 'once (*READ_ONCE,WRITE_ONCE*) || 24 enum Barriers = 'wmb (*smp_wmb*) || 39 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu
|
| /tools/net/ynl/lib/ |
| D | ynl.py | 4 from enum import Enum 521 enum = self.consts[attr_spec['enum']] 522 if enum.type == 'flags' or attr_spec.get('enum-as-flags', False): 527 scalar += enum.entries[single_value].user_value(as_flags = True) 530 return enum.entries[value].user_value() 609 enum = self.consts[attr_spec['enum']] 610 if enum.type == 'flags' or attr_spec.get('enum-as-flags', False): 615 value.add(enum.entries_by_val[i].name) 619 value = enum.entries_by_val[raw].name 848 if m.enum:
|
| /tools/net/ynl/ |
| D | ynl-gen-c.py | 305 enum = self.family.consts[self.attr['enum']] 306 low, high = enum.value_range() 351 enum = self.family.consts[self.attr['enum']] 352 mask = enum.get_mask(as_flags=True) 509 enum = self.family.consts[self.attr['enum']] 510 mask = enum.get_mask(as_flags=True) 1530 def _put_enum_to_str_helper(cw, render_name, map_name, arg_name, enum=None): argument 1532 if enum: 1533 args = [enum.user_type + ' ' + arg_name] 1536 if enum and enum.type == 'flags': [all …]
|
| /tools/net/sunrpc/xdrgen/subcmds/ |
| D | declarations.py | 14 from generators.enum import XdrEnumGenerator
|
| D | definitions.py | 14 from generators.enum import XdrEnumGenerator
|
| D | source.py | 14 from generators.enum import XdrEnumGenerator
|
| /tools/power/cpupower/bindings/python/ |
| D | raw_pylibcpupower.swg | 31 enum acpi_cppc_value { 44 enum acpi_cppc_value which);
|
| /tools/lib/perf/Documentation/ |
| D | libperf-counting.txt | 44 8 static int libperf_print(enum libperf_print_level level, 63 enum libperf_print_level {
|
| D | libperf.txt | 17 enum libperf_print_level { 26 typedef int (*libperf_print_fn_t)(enum libperf_print_level level,
|
| D | libperf-sampling.txt | 51 12 static int libperf_print(enum libperf_print_level level, 70 enum libperf_print_level {
|
| /tools/objtool/ |
| D | Makefile | 35 WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed -Wno-nested-externs
|
| /tools/perf/ |
| D | design.txt | 85 enum perf_type_id { 98 enum perf_hw_id { 135 enum perf_sw_ids { 167 enum perf_event_read_format { 186 enum perf_event_record_format { 350 enum perf_event_type {
|
| /tools/testing/selftests/tc-testing/ |
| D | TdcResults.py | 3 from enum import Enum
|
| /tools/scripts/ |
| D | Makefile.include | 37 EXTRA_WARNINGS += -Wswitch-enum
|
| /tools/bpf/bpftool/Documentation/ |
| D | bpftool-btf.rst | 112 enum my_enum { 124 enum my_enum enum_field;
|
| /tools/net/sunrpc/xdrgen/ |
| D | README | 210 bool xdrgen_decode_nfsstat3(struct xdr_stream *xdr, enum nfsstat3 *ptr); 211 bool xdrgen_encode_nfsstat3(struct xdr_stream *xdr, enum nfsstat3 value);
|
12