Lines Matching refs:file
323 my $file = shift @ARGV;
324 push(@export_file_list, $file);
460 my $file = shift;
480 emit_warning("${file}:$.", "duplicate section name '$name'\n");
496 my $file = shift;
510 dump_section($file, $name, $contents);
1102 my ($prototype, $file) = @_;
1113 my $file = shift;
1134 …emit_warning("${file}:$.", "expecting prototype for $decl_type $identifier. Prototype was for $dec…
1244 create_parameterlist($members, ';', $file, $declaration_name);
1245 check_sections($file, $declaration_name, $decl_type, $sectcheck, $struct_actual);
1283 print STDERR "${file}:$.: error: Cannot parse struct or union!\n";
1323 my $file = shift;
1345 emit_warning("${file}:$.", "wrong kernel-doc identifier on line:\n");
1347 …emit_warning("${file}:$.", "expecting prototype for enum $identifier. Prototype was for enum $decl…
1364 emit_warning("${file}:$.", "Enum value '$arg' not described in enum '$declaration_name'\n");
1373 emit_warning("${file}:$.", "Excess enum value '$k' description in '$declaration_name'\n");
1389 print STDERR "${file}:$.: error: Cannot parse enum!\n";
1403 my $file = shift;
1415 …emit_warning("${file}:$.", "expecting prototype for typedef $identifier. Prototype was for typedef…
1419 create_parameterlist($args, ',', $file, $declaration_name);
1446 …emit_warning("${file}:$.", "expecting prototype for typedef $identifier. Prototype was for typedef…
1460 print STDERR "${file}:$.: error: Cannot parse typedef!\n";
1476 my $file = shift;
1501 push_parameter($arg, "", "", $file);
1510 push_parameter($param, $type, $arg, $file, $declaration_name);
1536 push_parameter($2, "$type $1", $arg, $file, $declaration_name);
1541 push_parameter($1, "$type:$2", $arg, $file, $declaration_name)
1546 push_parameter($param, $type, $arg, $file, $declaration_name);
1557 my $file = shift;
1604 …emit_warning("${file}:$.", "Function parameter or member '$param' not described in '$declaration_n…
1623 my ($file, $decl_name, $decl_type, $sectcheck, $prmscheck) = @_;
1652 emit_warning("${file}:$.",
1664 my $file = shift;
1676 emit_warning("${file}:$.",
1688 my $file = shift;
1760 create_parameterlist($args, ',', $file, $declaration_name);
1762 emit_warning("${file}:$.", "cannot understand function prototype: '$prototype'\n");
1767 …emit_warning("${file}:$.", "expecting prototype for $identifier(). Prototype was for $declaration_…
1772 check_sections($file, $declaration_name, "function", $sectcheck, $prms);
1780 check_return_section($file, $declaration_name, $return_type);
1831 my $file = shift;
1849 emit_warning("${file}:$.", "Unrecognized tracepoint format: \n".
1893 my $file = shift;
1919 tracepoint_munge($file);
1921 dump_function($prototype, $file);
1928 my $file = shift;
1949 dump_declaration($prototype, $file);
1963 my $file;
1967 $file = "$ENV{'SRCTREE'}" . "/" . $orig_file;
1969 $file = $orig_file;
1972 if (defined($source_map{$file})) {
1973 $file = $source_map{$file};
1976 return $file;
1981 my $file = map_filename($orig_file);
1983 if (!open(IN,"<$file")) {
1984 print STDERR "Error: Cannot open file $file\n";
2020 my $file = shift;
2079 …emit_warning("${file}:$.", "This comment starts with '/**', but isn't a kernel-doc comment. Refer …
2084 emit_warning("${file}:$.", "missing initial short description on line:\n$_");
2088 emit_warning("${file}:$.", "wrong kernel-doc identifier on line:\n$_");
2093 print STDERR "${file}:$.: info: Scanning doc for $decl_type $identifier\n";
2096 emit_warning("${file}:$.", "Cannot understand $_ on line $. - I thought it was a doc line\n");
2106 my $file = shift;
2109 dump_section($file, $section, $contents);
2133 emit_warning("${file}:$.", "contents before sections\n");
2135 dump_section($file, $section, $contents);
2153 dump_section($file, $section, $contents);
2159 emit_warning("${file}:$.", "suspicious ending line: $_");
2169 dump_section($file, $section, $contents);
2203 emit_warning("${file}:$.", "bad line: $_");
2212 my $file = shift;
2219 dump_section($file, $section, $contents);
2227 process_proto_function($_, $file);
2229 process_proto_type($_, $file);
2237 my $file = shift;
2240 dump_doc_section($file, $section, $contents);
2264 my $file = shift;
2281 dump_section($file, $section, $contents);
2297 emit_warning("${file}:$.", "Incorrect use of kernel-doc format: $_");
2304 my $file;
2308 $file = map_filename($orig_file);
2310 if (!open(IN_FILE,"<$file")) {
2311 print STDERR "Error: Cannot open file $file\n";
2329 process_name($file, $_);
2332 process_body($file, $_);
2334 process_inline($file, $_);
2336 process_proto($file, $_);
2338 process_docblock($file, $_);
2346 emit_warning("${file}:1", "'$_' not found\n")
2350 emit_warning("${file}:1", "no structured comments found\n");