Lines Matching refs:f
58 my $f = $doc_ref;
61 $f =~ s,.*\<([^\>]+)\>,$1,;
63 $f ="$d$f.rst";
65 next if (grep -e, glob("$f"));
72 print STDERR "$f: :doc:`$doc_ref`\n";
81 my $f = $1;
85 next if ($f =~ m,^Next/,);
88 next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/);
91 next if ($f eq $scriptname);
137 if ($f =~ m/tools/) {
138 my $path = $f;
144 if (defined($false_positives{$f})) {
145 next if ($false_positives{$f} eq $fulref);
153 print STDERR "Warning: $f references a file that doesn't exist: $fulref\n";
155 print STDERR "$f: $fulref\n";
176 my $f="";
181 if (!$f) {
184 $f=$new_ref if (-f $new_ref);
187 if (!$f) {
190 $f = qx(find Documentation/devicetree/ -iname "*$search*") if ($search);
191 if (!$f) {
194 $f = qx(find Documentation/devicetree/ -iname "*$search*") if ($search);
200 if (!$f) {
202 $f=qx(find $basedir -iname $new) if ($new);
206 if (!$f) {
208 $f=qx(find $basedir -iname $new) if ($new);
212 if (!$f) {
213 $f = qx(find $basedir -iname $new) if ($new);
216 my @find = split /\s+/, $f;
218 if (!$f) {
227 $f = $find[0];
228 $f =~ s,^./,,;
229 print "INFO: Replacing $ref to $f\n";
231 qx(sed "s\@$ref\@$f\@g" -i $j);