Lines Matching refs:file
401 foreach my $file (@ARGV) {
402 if ($file ne "&STDIN") {
404 if ((-d $file)) {
405 $file =~ s@([^/])$@$1/@;
406 } elsif (!(-f $file)) {
407 die "$P: file '${file}' not found\n";
411 push(@files, $file);
412 if ($file ne "MAINTAINERS" && -f $file && ($keywords || $file_emails)) {
413 open(my $f, '<', $file)
414 or die "$P: Can't open $file: $!\n";
433 open(my $patch, "< $file")
434 or die "$P: Can't open $file: $!\n";
467 warn "$P: file '${file}' doesn't appear to be a patch. "
577 foreach my $file (@files) {
597 if (file_match_pattern($file, $value)) {
612 if (file_match_pattern($file, $value)) {
614 my $file_pd = ($file =~ tr@/@@);
620 $exact_pattern_match_hash{$file} = 1;
628 if ($file =~ m/$value/x) {
702 foreach my $file (@files) {
705 !$exact_pattern_match_hash{$file}))) {
706 vcs_file_signoffs($file);
709 vcs_file_blame($file);
754 my ($file, $pattern) = @_;
756 if ($file =~ m@^$pattern@) {
760 if ($file =~ m@^$pattern@) {
761 my $s1 = ($file =~ tr@/@@);
1378 my ($file) = @_;
1382 return @commits if (!(-f $file));
1396 next if ("$file" ne "$diff_file");
1407 next if ("$file" ne "$diff_file");
1884 my ($file) = @_;
1905 my ($file) = @_;
1916 @all_commits = vcs_blame($file);