Lines Matching refs:file
405 my $file = shift;
426 print STDERR "Error(${file}:$.): duplicate section name '$name'\n";
438 my $file = shift;
450 dump_section($file, $name, $contents);
1724 my ($prototype, $file) = @_;
1735 my $file = shift;
1758 create_parameterlist($members, ';', $file);
1759 check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested);
1775 print STDERR "Error(${file}:$.): Cannot parse struct or union!\n";
1782 my $file = shift;
1796 print STDERR "Warning(${file}:$.): Enum value '$arg' ".
1814 print STDERR "Error(${file}:$.): Cannot parse enum!\n";
1821 my $file = shift;
1842 print STDERR "Error(${file}:$.): Cannot parse typedef!\n";
1858 my $file = shift;
1879 push_parameter($arg, "", $file);
1888 push_parameter($param, $type, $file);
1913 push_parameter($2, "$type $1", $file);
1918 push_parameter($1, "$type:$2", $file)
1923 push_parameter($param, $type, $file);
1933 my $file = shift;
1974 print STDERR "Warning(${file}:$.): Function parameter ".
1978 print STDERR "Warning(${file}:$.):" .
2000 my ($file, $decl_name, $decl_type, $sectcheck, $prmscheck, $nested) = @_;
2029 print STDERR "Warning(${file}:$.): " .
2036 print STDERR "Warning(${file}:$.): " .
2050 my $file = shift;
2062 print STDERR "Warning(${file}:$.): " .
2075 my $file = shift;
2139 create_parameterlist($args, ',', $file);
2141 print STDERR "Warning(${file}:$.): cannot understand function prototype: '$prototype'\n";
2146 check_sections($file, $declaration_name, "function", $sectcheck, $prms, "");
2154 check_return_section($file, $declaration_name, $return_type);
2187 my $file = shift;
2205 print STDERR "Warning(${file}:$.): Unrecognized tracepoint format: \n".
2248 my $file = shift;
2269 tracepoint_munge($file);
2271 dump_function($prototype, $file);
2278 my $file = shift;
2296 dump_declaration($prototype, $file);
2339 my $file;
2347 $file = "$ENV{'SRCTREE'}" . "/" . "@_";
2350 $file = "@_";
2352 if (defined($source_map{$file})) {
2353 $file = $source_map{$file};
2356 if (!open(IN,"<$file")) {
2357 print STDERR "Error: Cannot open file $file\n";
2404 print STDERR "Warning(${file}:$.): missing initial short description on line:\n";
2422 print STDERR "Info(${file}:$.): Scanning doc for $identifier\n";
2425 print STDERR "Warning(${file}:$.): Cannot understand $_ on line $.",
2437 print STDERR "Warning(${file}:$.): contents before sections\n";
2440 dump_section($file, $section, xml_escape($contents));
2458 dump_section($file, $section, xml_escape($contents));
2464 print STDERR "Warning(${file}:$.): suspicious ending line: $_";
2477 dump_section($file, $section, xml_escape($contents));
2494 print STDERR "Warning(${file}:$.): bad line: $_";
2499 process_state3_function($_, $file);
2501 process_state3_type($_, $file);
2506 dump_doc_section($file, $section, xml_escape($contents));
2524 dump_doc_section($file, $section, xml_escape($contents));
2550 print STDERR "Warning(${file}): no structured comments found\n";
2559 print " ${file}\n";
2573 print " <filename>${file}</filename> at this point,\n";