Home
last modified time | relevance | path

Searched refs:enum (Results 1 – 25 of 40) sorted by relevance

12

/tools/perf/util/scripting-engines/
A DBuild6 …-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/
A Dxdr.lark46 enum_type_spec : "enum" enum_body
67 | "enum" identifier enum_body ";" -> enum
/tools/net/sunrpc/xdrgen/templates/C/enum/definition/
A Dopen.j23 enum {{ name }} {
A Dclose.j23 typedef enum {{ name }} {{ name }};
/tools/net/sunrpc/xdrgen/templates/C/constants/
A Ddefinition.j23 enum { {{ name }} = {{ value }} };
/tools/net/sunrpc/xdrgen/templates/C/program/definition/
A Dopen.j26 enum {
/tools/net/sunrpc/xdrgen/templates/C/enum/encoder/
A Denum.j24 /* enum {{ name }} */
A Denum_be.j24 /* enum {{ name }} (big-endian) */
/tools/net/sunrpc/xdrgen/templates/C/enum/decoder/
A Denum_be.j24 /* enum {{ name }} (big-endian) */
A Denum.j24 /* enum {{ name }} */
/tools/perf/scripts/perl/Perf-Trace-Util/
A DBuild3 …cls -Wno-strict-prototypes -Wno-bad-function-cast -Wno-declaration-after-statement -Wno-switch-enum
/tools/memory-model/
A Dlinux-kernel.bell16 enum Accesses = 'ONCE (*READ_ONCE,WRITE_ONCE*) ||
25 enum Barriers = 'wmb (*smp_wmb*) ||
51 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu
/tools/net/ynl/pyynl/lib/
A Dynl.py4 from enum import Enum
529 enum = self.consts[attr_spec['enum']]
530 if enum.type == 'flags' or attr_spec.get('enum-as-flags', False):
538 return enum.entries[value].user_value()
626 def _get_enum_or_unknown(self, enum, raw): argument
628 name = enum.entries_by_val[raw].name
637 enum = self.consts[attr_spec['enum']]
638 if enum.type == 'flags' or attr_spec.get('enum-as-flags', False):
643 value.add(self._get_enum_or_unknown(enum, i))
647 value = self._get_enum_or_unknown(enum, raw)
[all …]
/tools/net/ynl/pyynl/
A Dynl_gen_c.py400 low, high = enum.value_range()
1983 if enum:
1987 if enum and enum.type == 'flags':
2022 args = [enum.user_type + ' value']
2026 def put_enum_to_str(family, cw, enum): argument
2029 for entry in enum.entries.values():
2034 _put_enum_to_str_helper(cw, enum.render_name, map_name, 'value', enum=enum)
3170 if enum.header:
3173 if enum.has_doc():
3174 if enum.has_entry_doc():
[all …]
/tools/net/sunrpc/xdrgen/subcmds/
A Ddeclarations.py14 from generators.enum import XdrEnumGenerator
A Ddefinitions.py14 from generators.enum import XdrEnumGenerator
A Dsource.py14 from generators.enum import XdrEnumGenerator
/tools/net/sunrpc/xdrgen/
A DREADME156 pragma big_endian <enum> ;
167 "__be32" instead of "enum nfsstat3". XDR unions then switch on the
227 bool xdrgen_decode_nfsstat3(struct xdr_stream *xdr, enum nfsstat3 *ptr);
228 bool xdrgen_encode_nfsstat3(struct xdr_stream *xdr, enum nfsstat3 value);
/tools/lib/perf/Documentation/
A Dlibperf-counting.txt44 8 static int libperf_print(enum libperf_print_level level,
63 enum libperf_print_level {
A Dlibperf-sampling.txt51 12 static int libperf_print(enum libperf_print_level level,
70 enum libperf_print_level {
A Dlibperf.txt17 enum libperf_print_level {
26 typedef int (*libperf_print_fn_t)(enum libperf_print_level level,
/tools/objtool/
A DMakefile35 WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed -Wno-nested-externs
/tools/power/cpupower/bindings/python/
A Draw_pylibcpupower.swg31 enum acpi_cppc_value {
44 enum acpi_cppc_value which);
/tools/perf/
A Ddesign.txt85 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/
A DTdcResults.py3 from enum import Enum

Completed in 44 milliseconds

12