• Home
  • Raw
  • Download

Lines Matching refs:file

340     my ($file) = @_;
342 open (my $maint, '<', "$file")
343 or die "$P: Can't open MAINTAINERS file '$file': $!\n";
370 push(@self_test_info, {file=>$file, linenr=>$i, line=>$line});
378 my ($file) = $_;
379 return if ($file !~ m@/MAINTAINERS$@);
380 $file = $File::Find::name;
381 return if (! -f $file);
382 push(@mfiles, $file);
410 foreach my $file (@files) {
411 push(@mfiles, "$path$file") if ($file !~ /^\./);
420 foreach my $file (@mfiles) {
421 read_maintainer_file("$file");
514 foreach my $file (@ARGV) {
515 if ($file ne "&STDIN") {
517 if ((-d $file)) {
518 $file =~ s@([^/])$@$1/@;
519 } elsif (!(-f $file)) {
520 die "$P: file '${file}' not found\n";
523 if ($from_filename || ($file ne "&STDIN" && vcs_file_exists($file))) {
524 $file =~ s/^\Q${cur_path}\E//; #strip any absolute path
525 $file =~ s/^\Q${lk_path}\E//; #or the path to the lk tree
526 push(@files, $file);
527 if ($file ne "MAINTAINERS" && -f $file && ($keywords || $file_emails)) {
528 open(my $f, '<', $file)
529 or die "$P: Can't open $file: $!\n";
548 open(my $patch, "< $file")
549 or die "$P: Can't open $file: $!\n";
593 warn "$P: file '${file}' doesn't appear to be a patch. "
840 foreach my $file (@files) {
858 if (file_match_pattern($file, $value)) {
873 if (file_match_pattern($file, $value)) {
875 my $file_pd = ($file =~ tr@/@@);
881 $exact_pattern_match_hash{$file} = 1;
889 if ($file =~ m/$value/x) {
934 foreach my $file (@files) {
937 !$exact_pattern_match_hash{$file}))) {
938 vcs_file_signoffs($file);
941 vcs_file_blame($file);
986 my ($file, $pattern) = @_;
988 if ($file =~ m@^$pattern@) {
992 if ($file =~ m@^$pattern@) {
993 my $s1 = ($file =~ tr@/@@);
1577 my ($cmd, $file) = @_;
1660 my ($file) = @_;
1664 return @commits if (!(-f $file));
1678 next if ("$file" ne "$diff_file");
1689 next if ("$file" ne "$diff_file");
2167 my ($file) = @_;
2183 ($commits, $signers_ref, $authors_ref, $stats_ref) = vcs_find_signers($cmd, $file);
2239 my ($file) = @_;
2250 @all_commits = vcs_blame($file);
2269 …ommit_count, $commit_signers_ref, $commit_authors_ref, $stats_ref) = vcs_find_signers($cmd, $file);
2287 …ommit_count, $commit_signers_ref, $commit_authors_ref, $stats_ref) = vcs_find_signers($cmd, $file);
2367 my ($file) = @_;
2385 my ($file) = @_;