Lines Matching full:enum
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 " . $args{'enum'};
948 my $name = $args{'enum'};
949 print "\n\n.. c:enum:: " . $name . "\n\n";
1065 # generic output function for all types (function, struct/union, typedef, enum);
1098 # takes a declaration (struct, union, enum, typedef) and
1251 do {} while ($declaration =~ s/(enum\s+\{[^\}]+),([^\n])/$1,\n$2/);
1334 if ($x =~ /typedef\s+enum\s*\{(.*)\}\s*(\w*)\s*;/) {
1337 } elsif ($x =~ /enum\s+(\w*)\s*\{(.*)\}/) {
1347 …emit_warning("${file}:$.", "expecting prototype for enum $identifier. Prototype was for enum $decl…
1363 if (show_warnings("enum", $declaration_name)) {
1364 emit_warning("${file}:$.", "Enum value '$arg' not described in enum '$declaration_name'\n");
1372 if (show_warnings("enum", $declaration_name)) {
1373 emit_warning("${file}:$.", "Excess enum value '$k' description in '$declaration_name'\n");
1379 'enum',
1380 {'enum' => $declaration_name,
1389 print STDERR "${file}:$.: error: Cannot parse enum!\n";
2044 if ($identifier =~ m/^(struct|union|enum|typedef)\b\s*(\S*)/) {
2087 if ($identifier eq "" && $decl_type ne "enum") {