| /freebsd-12.1/contrib/gcc/ |
| H A D | print-rtl.c | 46 static FILE *outfile; variable 141 fputc (' ', outfile); in print_rtx() 175 fputc ('(', outfile); in print_rtx() 379 fputs (" [", outfile); in print_rtx() 394 fputs ("]", outfile); in print_rtx() 463 fputs (" [", outfile); in print_rtx() 472 fputs (" ]", outfile); in print_rtx() 642 outfile = outf; in print_inline_rtx() 653 outfile = stderr; in debug_rtx() 742 outfile = outf; in print_rtl() [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | symmisc.c | 81 struct ui_file *outfile; member 407 outfile); in dump_psymtab() 521 s.outfile = outfile; in dump_symtab() 538 struct ui_file *outfile; in maintenance_print_symbols() local 572 if (outfile == 0) in maintenance_print_symbols() 594 struct ui_file *outfile = ((struct print_symbol_args *) args)->outfile; in print_symbol() local 635 outfile, in print_symbol() 739 outfile); in print_symbol() 743 outfile); in print_symbol() 811 if (outfile == 0) in maintenance_print_psymbols() [all …]
|
| /freebsd-12.1/usr.bin/head/tests/ |
| H A D | head_test.sh | 33 head infile > outfile 47 head infile > outfile 56 jot -b test 100 > outfile 57 head -n 50 outfile > expectfile 66 jot -b test 100 > outfile 67 head -c 50 outfile > expectfile 76 jot -b test 10 > outfile 77 truncate -s +1K outfile 98 jot -b test 100 > outfile 107 jot -b test 100 > outfile [all …]
|
| /freebsd-12.1/usr.bin/tail/tests/ |
| H A D | tail_test.sh | 36 tail -r infile > outfile 38 atf_check cmp expectfile outfile 59 tail -r infile > outfile 61 atf_check cmp expectfile outfile 81 tail -rn2 infile > outfile 124 tail -rc28 infile > outfile 146 tail -rc28 infile > outfile 161 tail -r infile > outfile 188 head -n 10 outfile > outtrunc 206 tail -r infile > outfile [all …]
|
| /freebsd-12.1/usr.bin/etdump/ |
| H A D | output_text.c | 42 fprintf(outfile, "Image in %s\n", filename); in output_image() 46 output_section(FILE *outfile, const char *filename __unused, in output_section() argument 50 fprintf(outfile, "\nSection header: %s", in output_section() 54 fprintf(outfile, ", final\n"); in output_section() 56 fprintf(outfile, "\n"); in output_section() 60 output_entry(FILE *outfile, const char *filename __unused, in output_entry() argument 75 fprintf(outfile, "Default entry\n"); in output_entry() 78 fprintf(outfile, "\tSection entry\n"); in output_entry() 82 fprintf(outfile, "%sSystem %s\n", indent, in output_entry() 84 fprintf(outfile, "%sStart LBA %d (0x%x), sector count %d (0x%x)\n", in output_entry() [all …]
|
| H A D | etdump.c | 130 outputter->output_section(outfile, filename, sh); in dump_section() 140 outputter->output_entry(outfile, filename, entry, in dump_section() 149 dump_eltorito(FILE *iso, const char *filename, FILE *outfile, in dump_eltorito() argument 181 outputter->output_image(outfile, filename, bvd); in dump_eltorito() 186 outputter->output_entry(outfile, filename, in dump_eltorito() 198 entry_count = dump_section(buffer, offset, outfile, filename, in dump_eltorito() 222 FILE *outfile, *iso; in main() local 225 outfile = stdout; in main() 246 outfile = stdout; in main() 247 } else if ((outfile = fopen(optarg, "w")) == NULL) { in main() [all …]
|
| /freebsd-12.1/usr.sbin/ndiscvt/ |
| H A D | ndiscvt.c | 186 outfile = strdup(basename(outfile)); in bincvt() 187 if (strchr(outfile, '.')) in bincvt() 197 tname, outfile); in bincvt() 213 tname, sysfile, tname, tname, sysfile, outfile, outfile); in bincvt() 216 free(outfile); in bincvt() 228 basefile = strdup(outfile); in firmcvt() 237 firmfile, outfile); in firmcvt() 261 basefile, outfile, outfile); in firmcvt() 268 outfile, outfile); in firmcvt() 302 outfile = optarg; in main() [all …]
|
| /freebsd-12.1/usr.bin/rpcgen/ |
| H A D | rpc_main.c | 172 cmd.outfile); in main() 175 cmd.outfile); in main() 262 record_open(outfile); in open_output() 404 outfilename = extend ? extendfile(infile, outfile) : outfile; in c_output() 510 outfilename = extend ? extendfile(infile, outfile) : outfile; in h_output() 596 outfilename = extend ? extendfile(infile, outfile) : outfile; in s_output() 682 outfilename = extend ? extendfile(infile, outfile) : outfile; in l_output() 712 outfilename = extend ? extendfile(infile, outfile) : outfile; in t_output() 734 outfilename = extend ? extendfile(infile, outfile) : outfile; in svc_output() 769 outfilename = extend ? extendfile(infile, outfile) : outfile; in clnt_output() [all …]
|
| /freebsd-12.1/contrib/expat/tests/ |
| H A D | xmltest.sh | 41 $XMLWF -p "$file" > outfile || return $? 42 read outdata < outfile 56 $XMLWF -p -d "$OUTPUT$reldir" "$file" > outfile || return $? 57 read outdata < outfile 60 diff -u "$OUTPUT$reldir$file" "out/$file" > outfile 61 if [ -s outfile ] ; then 62 cp outfile "$OUTPUT$reldir$file.diff" 105 rm -f outfile 114 rm outfile 133 rm outfile [all …]
|
| /freebsd-12.1/usr.bin/uudecode/ |
| H A D | uudecode.c | 70 static const char *infile, *outfile; variable 157 outfile = "/dev/stdout"; in decode() 255 outfile = q; in decode2() 262 if (lstat(outfile, &st) == 0) { in decode2() 264 warnc(EEXIST, "%s: %s", infile, outfile); in decode2() 273 warn("%s: unlink %s", infile, outfile); in decode2() 276 warnc(EISDIR, "%s: %s", infile, outfile); in decode2() 288 warn("%s: %s", infile, outfile); in decode2() 293 warn("%s: %s", infile, outfile); in decode2() 324 warnx("%s: %s: %s", infile, outfile, msg); in checkend() [all …]
|
| /freebsd-12.1/contrib/diff/src/ |
| H A D | ed.c | 58 fprintf (outfile, "%c\n", change_letter[changes]); in print_ed_hunk() 72 fprintf (outfile, "..\n.\ns/.//\na\n"); in print_ed_hunk() 78 fprintf (outfile, ".\n"); in print_ed_hunk() 104 fprintf (outfile, "%c", change_letter[changes]); in pr_forward_ed_hunk() 106 fprintf (outfile, "\n"); in pr_forward_ed_hunk() 119 fprintf (outfile, ".\n"); in pr_forward_ed_hunk() 151 fprintf (outfile, "d"); in print_rcs_hunk() 154 fprintf (outfile, "%ld %ld\n", tf0, tf0 <= tl0 ? tl0 - tf0 + 1 : 1); in print_rcs_hunk() 159 fprintf (outfile, "a"); in print_rcs_hunk() 163 fprintf (outfile, "%ld %ld\n", tl0, tf1 <= tl1 ? tl1 - tf1 + 1 : 1); in print_rcs_hunk()
|
| H A D | util.c | 164 outfile = 0; in setup_output() 176 if (outfile != 0) in begin_output() 224 if (!outfile) in begin_output() 236 outfile = popen (command, "w"); in begin_output() 237 if (!outfile) in begin_output() 248 outfile = stdout; in begin_output() 280 if (outfile != 0 && outfile != stdout) in finish_output() 285 if (ferror (outfile)) in finish_output() 288 wstatus = pclose (outfile); in finish_output() 292 if (fclose (outfile) != 0) in finish_output() [all …]
|
| /freebsd-12.1/usr.bin/ctags/ |
| H A D | ctags.c | 121 outfile = optarg; in main() 170 if ((oldf = fopen(outfile, "r")) == NULL) in main() 171 err(1, "opening %s", outfile); in main() 172 if (unlink(outfile)) in main() 173 err(1, "unlinking %s", outfile); in main() 174 if ((outf = fopen(outfile, "w")) == NULL) in main() 175 err(1, "recreating %s", outfile); in main() 201 if (!(outf = fopen(outfile, aflag ? "a" : "w"))) in main() 202 err(1, "%s", outfile); in main() 211 execlp("sort", "sort", "-o", outfile, in main() [all …]
|
| /freebsd-12.1/contrib/libxo/xopo/ |
| H A D | xopo.c | 203 FILE *outfile; in main() local 216 outfile = fopen(opt_output, "w"); in main() 217 if (outfile == NULL) in main() 221 outfile = stdout; in main() 235 fprintf(outfile, "%s", buf); in main() 260 fprintf(outfile, "msgid \"%s\"\n", cp); in main() 266 fprintf(outfile, "\n"); in main() 271 fprintf(outfile, "msgid \"%s\"\n" in main() 277 fprintf(outfile, "msgid \"%s\"\nmsgstr \"\"\n\n", xmp->xm_data); in main() 283 if (outfile != stdout) in main() [all …]
|
| /freebsd-12.1/usr.bin/gzip/ |
| H A D | gzip.c | 1197 unlink(outfile); in check_outfile() 1208 unlink(outfile); in check_outfile() 1434 unlink(outfile); in file_compress() 1629 unlink(outfile); in file_uncompress() 1636 unlink(outfile); in file_uncompress() 1701 unlink(outfile); in file_uncompress() 1725 outfile); in file_uncompress() 1730 outfile); in file_uncompress() 1738 unlink(outfile); in file_uncompress() 2039 usize = file_uncompress(file, outfile, sizeof(outfile)); in handle_file() [all …]
|
| /freebsd-12.1/usr.bin/sed/ |
| H A D | main.c | 101 FILE *outfile; /* Current output file */ variable 335 outfile = stdout; in mf_fgets() 370 if (outfile != NULL && outfile != stdout) in mf_fgets() 371 if (fclose(outfile) != 0) { in mf_fgets() 376 outfile = NULL; in mf_fgets() 422 if (outfile != NULL && outfile != stdout) in mf_fgets() 423 fclose(outfile); in mf_fgets() 424 if ((outfile = fopen(tmpfname, "w")) == NULL) in mf_fgets() 426 fchown(fileno(outfile), sb.st_uid, sb.st_gid); in mf_fgets() 427 fchmod(fileno(outfile), sb.st_mode & ALLPERMS); in mf_fgets() [all …]
|
| H A D | process.c | 564 outfile); in flush_appends() 582 if (ferror(outfile)) in flush_appends() 599 if (outfile != stdout) in lputs() 626 fprintf(outfile, "\\\n"); in lputs() 627 fputc('$', outfile); in lputs() 628 fputc('\n', outfile); in lputs() 633 fprintf(outfile, "\\\n"); in lputs() 660 fprintf(outfile, "\\\n"); in lputs() 661 (void)fputc('$', outfile); in lputs() 662 (void)fputc('\n', outfile); in lputs() [all …]
|
| /freebsd-12.1/tools/tools/netrate/tcpp/ |
| H A D | runit.pl | 19 $outfile = $date."_".$kernel.".csv"; 20 unlink($outfile); 21 open(OUTFILE, ">".$outfile) || die $outfile; 48 "$outfile $prefix)'");
|
| /freebsd-12.1/lib/libsecureboot/openpgp/ |
| H A D | dearmor.c | 103 const char *infile, *outfile; in main() local 109 infile = outfile = NULL; in main() 116 outfile = optarg; in main() 124 if (outfile) { in main() 125 if ((fd = open(outfile, O_WRONLY|O_CREAT|O_TRUNC)) < 0) in main() 126 err(1, "cannot open %s", outfile); in main()
|
| /freebsd-12.1/contrib/gcclibs/libiberty/ |
| H A D | gather-docs | 47 $outfile = shift; 49 if ($outfile !~ /\S/ || ! -f "$srcdir/Makefile.in" ) { 103 if (!open (OUT, "> $outfile")) { 104 print STDERR "Cannot open $outfile for writing: $!\n"; 108 print "Writing $outfile\n" if $verbose;
|
| /freebsd-12.1/contrib/binutils/libiberty/ |
| H A D | gather-docs | 47 $outfile = shift; 49 if ($outfile !~ /\S/ || ! -f "$srcdir/Makefile.in" ) { 103 if (!open (OUT, "> $outfile")) { 104 print STDERR "Cannot open $outfile for writing: $!\n"; 108 print "Writing $outfile\n" if $verbose;
|
| /freebsd-12.1/contrib/less/ |
| H A D | lesskey.c | 215 char *outfile = NULL ; variable 277 outfile = NULL; 300 outfile = &arg[8]; 302 outfile = &arg[9]; 314 outfile = &argv[0][2]; 316 if (*outfile == '\0') 320 outfile = *(++argv); 845 if (outfile == NULL) 846 outfile = getenv("LESSKEY"); 847 if (outfile == NULL) [all …]
|
| /freebsd-12.1/usr.bin/m4/ |
| H A D | misc.c | 236 if (active == outfile[n]) in getdiv() 238 rewind(outfile[n]); in getdiv() 239 while ((c = getc(outfile[n])) != EOF) in getdiv() 241 (void) fclose(outfile[n]); in getdiv() 242 outfile[n] = NULL; in getdiv() 262 if (outfile[n] != NULL) { in killdiv() 263 (void) fclose(outfile[n]); in killdiv() 292 outfile = xreallocarray(outfile, n, sizeof(FILE *), in resizedivs() 295 outfile[i] = NULL; in resizedivs()
|
| /freebsd-12.1/usr.bin/sort/ |
| H A D | sort.c | 975 outfile = sort_strdup("-"); in main() 1037 outfile = sort_realloc(outfile, (strlen(optarg) + 1)); in main() 1038 strcpy(outfile, optarg); in main() 1232 if (strcmp(outfile, "-")) { in main() 1241 strcpy(tmp, outfile); in main() 1243 sort_free(outfile); in main() 1244 outfile = tmp; in main() 1248 tmp_file_atexit(outfile); in main() 1254 if ((argc < 1) || (strcmp(outfile, "-") == 0) || (*outfile == 0)) in main() 1307 merge_files(&fl, outfile); in main() [all …]
|
| /freebsd-12.1/usr.bin/uuencode/ |
| H A D | uuencode.c | 80 const char *outfile; in main() local 83 outfile = NULL; in main() 94 outfile = optarg; in main() 126 if (outfile != NULL) { in main() 127 output = fopen(outfile, "w+"); in main() 129 err(1, "unable to open %s for output", outfile); in main()
|