Searched refs:infile (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dlzma.c35 FILE *infile; lzma_decompress_to_file() local
37 infile = fopen(input, "rb"); lzma_decompress_to_file()
38 if (!infile) { lzma_decompress_to_file()
57 if (strm.avail_in == 0 && !feof(infile)) { lzma_decompress_to_file()
59 strm.avail_in = fread(buf_in, 1, sizeof(buf_in), infile); lzma_decompress_to_file()
61 if (ferror(infile)) { lzma_decompress_to_file()
66 if (feof(infile)) lzma_decompress_to_file()
93 fclose(infile); lzma_decompress_to_file()
/linux-4.1.27/scripts/
H A Dconfig68 local infile="$3"
69 local tmpfile="$infile.swp"
74 sed -e "/$anchor/$cmd" "$infile" >"$tmpfile"
76 mv "$tmpfile" "$infile"
82 local infile="$3"
83 local tmpfile="$infile.swp"
85 sed -e "s:$before:$after:" "$infile" >"$tmpfile"
87 mv "$tmpfile" "$infile"
92 local infile="$2"
93 local tmpfile="$infile.swp"
95 sed -e "/$text/d" "$infile" >"$tmpfile"
97 mv "$tmpfile" "$infile"
H A Ddocproc.c443 static void parse_file(FILE *infile) parse_file() argument
447 while (fgets(line, MAXLINESZ, infile)) { parse_file()
503 FILE * infile; main() local
517 infile = fopen(argv[2], "r"); main()
518 if (infile == NULL) { main()
540 parse_file(infile); main()
543 fseek(infile, 0, SEEK_SET); main()
552 parse_file(infile); main()
571 parse_file(infile); main()
577 fclose(infile); main()
/linux-4.1.27/arch/arm/vdso/
H A Dvdsomunge.c133 const char *infile; main() local
146 fail("Usage: %s [infile] [outfile]\n", argv[0]); main()
148 infile = argv[1]; main()
151 infd = open(infile, O_RDONLY); main()
153 fail("Cannot open %s: %s\n", infile, strerror(errno)); main()
156 fail("Failed stat for %s: %s\n", infile, strerror(errno)); main()
160 fail("Failed to map %s: %s\n", infile, strerror(errno)); main()
/linux-4.1.27/scripts/kconfig/
H A Dstreamline_config.pl118 open(my $infile, '-|', "$exec $file") || die "Failed to run $exec $file";
119 my @x = <$infile>;
120 close $infile;
300 open(my $infile, '<', $makefile) || die "Can't open $makefile";
301 while (<$infile>) {
348 close($infile);
/linux-4.1.27/arch/mips/boot/
H A Delf2ecoff.c276 int infile, outfile; main() local
298 if ((infile = open(argv[1], O_RDONLY)) < 0) { main()
305 i = read(infile, &ex, sizeof ex); main()
327 ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, main()
333 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, main()
597 copy(outfile, infile, ph[i].p_offset, main()
/linux-4.1.27/Documentation/dvb/
H A Dget_dvb_firmware882 my ($infile, $offset, $length, $outfile) = @_;
885 open INFILE, "<$infile";
903 my ($FH, $infile) = @_;
906 open INFILE, "<$infile";
916 my ($infile,$outfile) =@_;
918 open INFILE,"<$infile";

Completed in 271 milliseconds