Searched refs:file (Results 1 - 25 of 37) sorted by relevance

12

/scripts/kconfig/
H A Dutil.c11 /* file already present in list? If not add it */
12 struct file *file_lookup(const char *name)
14 struct file *file; local
17 for (file = file_list; file; file = file->next) {
18 if (!strcmp(name, file->name)) {
20 return file;
37 struct file *file; local
[all...]
H A Dkxgettext.c66 const char *file; member in struct:file_line
70 static struct file_line *file_line__new(const char *file, int lineno) argument
77 self->file = file;
94 const char *file, int lineno)
101 self->files = file_line__new(file, lineno);
134 static int message__add_file_line(struct message *self, const char *file, argument
138 struct file_line *fl = file_line__new(file, lineno);
150 static int message__add(const char *msg, char *option, const char *file, argument
159 rc = message__add_file_line(m, file, linen
93 message__new(const char *msg, char *option, const char *file, int lineno) argument
[all...]
H A Dzconf.l23 struct file *file;
101 current_pos.file = current_file;
261 * Try to open specified file with following names:
266 * Return NULL if file is not found.
288 printf("can't find file %s\n", name);
301 struct file *iter;
302 struct file *file = file_lookup(name);
307 yyin = zconf_fopen(file
[all...]
H A Dexpr.h18 struct file { struct
19 struct file *next;
20 struct file *parent;
144 struct file *file; /* what file was this property defined */ member in struct:property
167 struct file *file; member in struct:menu
177 extern struct file *file_list;
178 extern struct file *current_fil
[all...]
/scripts/
H A Dcheckincludes.pl40 foreach my $file (@ARGV) {
41 open(my $f, '<', $file)
42 or die "Cannot open $file: $!.\n";
59 print "$file: $filename is included more than once.\n";
65 open($f, '>', $file)
66 or die("Cannot write to $file: $!");
86 print "$file: removed $dups duplicate includes\n";
H A Dcheckversion.pl14 foreach my $file (@ARGV) {
15 next if $file =~ "include/linux/version\.h";
16 # Open this file.
17 open( my $f, '<', $file )
18 or die "Can't open $file: $!\n";
52 print "$file: $.: need linux/version.h\n";
57 print "$file: $iLinuxVersion linux/version.h not needed.\n";
63 print "$file: version use is OK ($iLinuxVersion)\n";
66 print "$file: version use is OK (none)\n";
H A Dsetlocalversion123 local file res
125 for file; do
126 case "$file" in
131 if test -e "$file"; then
132 res="$res$(cat "$file")"
H A Dcheckstack.pl113 my ($func, $file, $lastslash);
119 elsif ($line =~ m/(.*):\s*file format/) {
120 $file = $1;
121 $file =~ s/\.ko//;
122 $lastslash = rindex($file, "/");
124 $file = substr($file, $lastslash + 1);
143 my $intro = "$addr $func [$file]:";
160 my $intro = "$addr $func [$file]:";
H A Dconfig2 # Manipulate options in a .config file from the command line
6 Manipulate options in a .config file from the command line.
29 --file .config file to change (default .config)
31 config doesn't check the validity of the .config file. This is done at next
64 if [ "$1" = "--file" ]; then
146 # undocumented because it ignores --file (fixme)
H A Dkernel-doc14 ## Please read the COPYING file for more information ##
40 # This will read a 'c' file and scan for embedded comments in the
48 # [ -function funcname [ -function funcname ...] ] c file(s)s > outputfile
50 # [ -nofunction funcname [ -function funcname ...] ] c file(s)s > outputfile
358 print " c source file(s) > outputfile\n";
377 my $file = shift;
398 print STDERR "Error(${file}:$.): duplicate section name '$name'\n";
410 my $file = shift;
422 dump_section($file, $name, $contents);
1446 my ($prototype, $file)
[all...]
H A Dheaderdep.pl3 # Detect cycles in the header file dependency graph
42 print "Usage: $0 [options] file...\n";
60 # Get a file name that is relative to our include paths
74 # Search for the file name in the list of include paths
98 open(my $file, '<', $path) or die($!);
99 chomp(my @lines = <$file>);
100 close($file);
126 my $msg = "In file included";
H A Dexport_report.pl46 "\t-k: the path to Module.symvers file. By default uses ",
47 "the file from the current directory\n",
53 my @file;
56 push (@file,
59 <$fh>); # lines in opened file
61 chomp @file;
62 return @file;
93 # Module.symvers file
143 print "\tThis file reports the exported symbols usage patterns by in-tree\n",
H A Dheaders_check.pl13 # included file actually exists.
30 foreach my $file (@files) {
31 $filename = $file;
59 printf STDERR "$filename:$lineno: included file '$inc' is not exported\n";
H A Dgen_initramfs_list.sh18 $0 [-o <file>] [-u <uid>] [-g <gid>] {-d | <cpio_source>} ...
19 -o <file> Create compressed initramfs file named <file> using
28 If <cpio_source> is a .cpio file it will be used
57 # file /kinit usr/kinit/kinit 0755 0 0
65 # symlink test must come before file test
69 echo "file"
103 # for each file print a line in following format
104 # <filetype> <name> <path to file> <octa
[all...]
H A Dbloat-o-meter16 def getsizes(file):
18 for l in os.popen("nm --size-sort " + file).readlines():
H A Dheaders_install.pl25 foreach my $file (@files) {
26 my $tmpfile = "$installdir/$file.tmp";
28 open(my $in, '<', "$readdir/$file")
29 or die "$readdir/$file: $!\n";
47 system $unifdef . " $tmpfile > $installdir/$file";
49 # file was processed successfully but no changes were made,
H A Dget_maintainer.pl6 # the files modified in a patch or for a file
9 # perl scripts/get_maintainer.pl [OPTIONS] -f <file>
104 " -- \$file",
120 "blame_range_cmd" => "git blame -l -L \$diff_start,+\$diff_length \$file",
121 "blame_file_cmd" => "git blame -l \$file",
136 " -- \$file",
148 "blame_file_cmd" => "hg blame -n \$file",
159 or warn "$P: Can't find a readable .get_maintainer.conf file $!\n";
212 'fe|file-emails!' => \$file_emails,
213 'f|file'
[all...]
H A Ddocproc.c11 * Scans the template file and call kernel-doc for
12 * all occurrences of ![EIF]file
13 * Beforehand each referenced file is scanned for
19 * Usage: docproc doc file.tmpl
22 * Scans the template file and list all files
24 * Usage: docproc depend file.tmpl
27 * file.tmpl src.c src2.c
55 typedef void FILEONLY(char * file);
61 typedef void FILELINE(char * file, char * line);
97 fprintf(stderr, "Usage: docproc {doc|depend} file\
181 adddep(char * file) argument
182 adddep2(char * file, char * line) argument
184 noaction2(char * file, char * line) argument
[all...]
H A Ddiffconfig39 # returns a dictionary of name/value pairs for config items in the file
97 a = readconfig(file(configa_filename))
98 b = readconfig(file(configb_filename))
H A Dmkcompile_h69 ( echo /\* This file is auto generated, version $VERSION \*/
85 # We don't consider the file changed if only the date/time changed.
H A Drecordmcount.c12 * Strategy: alter the .o file in-place.
21 * then use "ld -r" to create a new file that omits the garbage.]
36 static int fd_map; /* File descriptor for file being modified. */
41 static jmp_buf jmpenv; /* setjmp/longjmp per-file error escape */
52 /* Per-file resource cleanup when multiple files. */
152 * Get the whole file as a programming convenience in order to avoid
154 * avoids copying unused pieces; else just read the whole file.
155 * Open for both read and write; new info will be appended to the file.
157 * do not propagate to the file until an explicit overwrite at the last.
159 * for simultaneous readers of the file whil
434 char *file = argv[i]; local
[all...]
/scripts/dtc/
H A Dsrcpos.h44 struct srcfile_state *file; member in struct:srcpos
56 (Current).file = YYRHSLOC(Rhs, N).file; \
62 (Current).file = YYRHSLOC (Rhs, 0).file; \
H A Dsrcpos.c127 .file = NULL,
136 pos->file = current_srcfile;
172 printf("file : \"%s\"\n",
173 pos->file ? (char *) pos->file : "<no file>");
178 printf("file : %s\n", pos->file->name);
185 const char *fname = "<no-file>";
190 fname = pos->file
[all...]
/scripts/mod/
H A Dsumversion.c230 static int parse_string(const char *file, unsigned long len, argument
235 add_char(file[0], md);
237 add_char(file[i], md);
238 if (file[i] == '"' && file[i-1] != '\\')
244 static int parse_comment(const char *file, unsigned long len) argument
249 if (file[i-1] == '*' && file[i] == '/')
258 char *file; local
261 file
307 char *cmd, *file, *line, *dir; local
402 void *file; local
[all...]
/scripts/kconfig/lxdialog/
H A Dcheck-lxdialog.sh9 $cc -print-file-name=lib${lib}.${ext} | grep -q /
35 # Temp file, try to clean up after us

Completed in 153 milliseconds

12