Lines Matching refs:file
4 # contributor license agreements. See the NOTICE file distributed with
6 # The ASF licenses this file to You under the Apache License, Version 2.0
7 # (the "License"); you may not use this file except in compliance with
46 my $file="$path/$f";
48 if(-d $file) {
49 findInDir($file);
52 next if $file !~ /\.[ch]$/;
54 scanFile($file);
60 my $file=shift;
62 # print "scanning $file\n";
64 open(F,$file) || croak "Can't open $file: $!";
81 # print "found $ret $name($args) in $file\n";
85 $::Hooks{$name}->{declared}=$file;
93 # print "found $name $type in $file\n";
95 croak "$name implemented twice ($::Hooks{$name}->{implemented} and $file) ($_)"
97 $::Hooks{$name}->{implemented}=$file;