/kernel/linux/linux-6.6/scripts/ |
H A D | rust_is_available_test.py | 10 import enum namespace 19 @enum.unique 20 class Expected(enum.Enum): 21 SUCCESS = enum.auto() 22 SUCCESS_WITH_WARNINGS = enum.auto() 23 SUCCESS_WITH_EXTRA_OUTPUT = enum.auto() 24 FAILURE = enum.auto()
|
H A D | kernel-doc | 71 my $type_enum = '\&(enum\s*([_\w]+))'; 240 # 'function', 'struct', 'union', 'enum', 'typedef' 615 # output enum in man 621 print ".TH \"$args{'module'}\" 9 \"enum $args{'enum'}\" \"$man_date\" \"API Manual\" LINUX\n"; 624 print "enum " . $args{'enum'} . " \\- " . $args{'purpose'} . "\n"; 627 print "enum " . $args{'enum'} . " {\n"; 945 my $name = "enum " [all...] |
H A D | checkpatch.pl | 769 qr{enum\s+$Ident}, 1127 } elsif ($line =~ /^\s*(?:union|struct|enum)\s+(\w*(?:[A-Z][a-z]|[a-z][A-Z])\w*)\s*[;\{]/) { 2290 ^(?:typedef|struct|enum)\b 3520 if ($first =~ /(?:struct|union|enum)/) { 4066 "Please use a blank line after function/struct/union/enum declarations\n" . $hereprev) && 4115 # start of struct or union or enum 4116 $sl =~ /^\+\s+(?:static\s+)?(?:const\s+)?(?:union|struct|enum|typedef)\b/ || 4924 # open braces for enum, union and struct go on the same line. 4926 $prevline =~ /^.\s*(?:typedef\s+)?(enum|union|struct)(?:\s+$Ident)?\s*$/) { 4942 # missing space after union, struct or enum definitio [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | Makefile | 3 enum-attributes.o \
|
/kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | Makefile | 5 enum-attributes.o \
|
/kernel/linux/linux-6.6/tools/net/ynl/ |
H A D | ynl-gen-c.py | 271 if 'enum-as-flags' in self.attr and self.attr['enum-as-flags']: 273 elif 'enum' in self.attr: 274 self.is_bitfield = self.family.consts[self.attr['enum']]['type'] == 'flags' 278 maybe_enum = not self.is_bitfield and 'enum' in self.attr 279 if maybe_enum and self.family.consts[self.attr['enum']].enum_name: 280 self.type_name = f"enum {self.family.name}_{c_lower(self.attr['enum'])}" 294 enum = self.family.consts[self.attr['enum']] [all...] |
/kernel/linux/linux-6.6/Documentation/driver-api/media/drivers/ccs/ |
H A D | mk-ccs-regs | 274 my ($enum, $addr) = split /\s+/; 275 $enum = uc $enum; 276 $hdr_data .= sprintf "#define %-62s %s", "CCS_" . (uc ${this{name}}) . (defined $this{"field"} ? "_" . uc $this{"field"} : "") ."_$enum", $addr . ($addr =~ /0x/i ? "" : "U") . "\n";
|
/kernel/linux/linux-6.6/tools/net/ynl/lib/ |
H A D | ynl.py | 476 enum = self.consts[attr_spec['enum']] 477 if 'enum-as-flags' in attr_spec and attr_spec['enum-as-flags']: 482 value.add(enum.entries_by_val[i].name) 486 value = enum.entries_by_val[raw].name 494 if m.enum: 539 if 'enum' in attr_spec: 608 if m.enum:
|
H A D | nlspec.py | 61 """ Entry within an enum declared in the Netlink spec. 65 enum_set back reference to the enum 66 value numerical value of this enum (use accessors in most situations!) 69 raw_value raw value, i.e. the id in the enum, unlike user value which is a mask for flags 107 type enum or flags 236 enum string, name of the enum definition 245 self.enum = yaml.get('enum') 357 msg_id_model enum [all...] |
/kernel/linux/linux-5.10/tools/objtool/ |
H A D | Makefile | 31 WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed -Wno-nested-externs
|
/kernel/linux/linux-6.6/tools/objtool/ |
H A D | Makefile | 34 WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed -Wno-nested-externs
|
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
H A D | TdcResults.py | 3 from enum import Enum
|
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/ |
H A D | TdcResults.py | 3 from enum import Enum
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | Makefile | 42 CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS))
|
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit.py | 16 from enum import Enum, auto
|
H A D | kunit_parser.py | 13 from enum import Enum, auto
|
/kernel/linux/linux-5.10/scripts/ |
H A D | kernel-doc | 135 # of the declaration; the struct/union/enum/typedef must always precede 177 # This should be use only for struct/enum members. 227 my $type_enum = '\&(enum\s*([_\w]+))'; 382 # 'function', 'struct', 'union', 'enum', 'typedef' 714 # output enum in man 720 print ".TH \"$args{'module'}\" 9 \"enum $args{'enum'}\" \"$man_date\" \"API Manual\" LINUX\n"; 723 print "enum " . $args{'enum'} . " \\- " . $args{'purpose'} . "\n"; 726 print "enum " [all...] |
H A D | checkpatch.pl | 544 qr{enum\s+$Ident}, 890 } elsif ($line =~ /^\s*(?:union|struct|enum)\s+(\w*(?:[A-Z][a-z]|[a-z][A-Z])\w*)\s*[;\{]/) { 2046 ^(?:typedef|struct|enum)\b 3058 if ($first =~ /(?:struct|union|enum)/) { 3568 "Please use a blank line after function/struct/union/enum declarations\n" . $hereprev) && 3611 # start of struct or union or enum 3612 $sline =~ /^\+\s+(?:static\s+)?(?:const\s+)?(?:union|struct|enum|typedef)\b/ || 4398 # open braces for enum, union and struct go on the same line. 4400 $prevline =~ /^.\s*(?:typedef\s+)?(enum|union|struct)(?:\s+$Ident)?\s*$/) { 4416 # missing space after union, struct or enum definitio [all...] |
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | Makefile | 106 override CFLAGS += $(EXTRA_WARNINGS) -Wno-switch-enum
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | Makefile | 75 CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS))
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | Makefile | 88 override CFLAGS += $(EXTRA_WARNINGS) -Wno-switch-enum
|
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_parser.py | 17 from enum import Enum, auto
|
H A D | kunit.py | 20 from enum import Enum, auto
|
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
H A D | test_tablet.py | 11 from enum import Enum
|
H A D | test_wacom_generic.py | 30 from enum import Enum
|