Lines Matching refs:file

5 # The contents of this file are subject to the terms of the
7 # (the "License"). You may not use this file except in compliance
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 analyzed. By default, the program will report the file
143 # make sure file exists
145 print STDERR "Could not open file $entry\n";
150 $file = $FTYPE{$entry};
154 if ($file eq "d") {
155 print("Input file is a directory\n") unless ($Silent eq true);
159 # destfile represents the actual file we are interested in!
171 # if the -s flag is set, tell 'em about sym links and go to the next file
178 $filecmd = `/usr/bin/file $destfile 2>&1`;
182 print("Input file is not an executable\n");
221 # use map file to see if this is a file that gives a known bad ldd return
225 # $outstring = "* unsupported or unknown file type, per map file";
309 foreach $file (@list) {
313 # this file
314 if ($FTYPE{"$KernelPath/$file"} =~ /\w/){
315 &Output("$KernelPath/$file");
320 if (($FTYPE{"/kernel/$file"} =~ /\w/) && ($found == 0)){
321 &Output("/kernel/$file");
326 if (($FTYPE{"/usr/kernel/$file"} =~ /\w/) && ($found == 0)){
327 &Output("/usr/kernel/$file");
332 print("Could not resolve $file\n");
358 # this file
386 # use map file to see if this is a file that gives a known bad ldd return
388 $outstring = "* unsupported or unknown file type, per map file";
441 foreach $file (@output) {
443 &Output($file);
447 &Output($file);
464 foreach $file (@list) {
466 if ($FTYPE{"/kernel/$file"} =~ /\w/){
467 &Output("/kernel/$file");
471 if ($FTYPE{"/usr/lib/$file"} =~ /\w/){
472 &Output("/usr/lib/$file");
477 print("Could not resolve $file\n");
484 foreach $file (@list) {
485 if (($FTYPE{$file} =~ /\w/) && ($FTYPE{$file} ne "d")) {
486 &Output($file);
525 foreach $file (@files) {
526 push(@filelist, $file);