| /src/crypto/krb5/src/util/et/ |
| H A D | et_c.awk | 106 print "/*" > outfile 107 print " * " outfile ":" > outfile 108 print " * This file is automatically generated; please do not edit it." > outfile 109 print " */" > outfile 111 print "#if defined(_WIN32)" > outfile 112 print "# include \"win-mac.h\"" > outfile 113 print "#endif" > outfile 114 print "" > outfile 115 print "#if !defined(_WIN32)" > outfile 116 print "extern void initialize_" table_name "_error_table (void);" > outfile [all …]
|
| H A D | et_c.pl | 127 &Pick('>', $outfile) && 129 &Pick('>', $outfile) && 130 (print $fh ' * ' . $outfile . ':'); 131 &Pick('>', $outfile) && 135 &Pick('>', $outfile) && 138 &Pick('>', $outfile) && 140 &Pick('>', $outfile) && 142 &Pick('>', $outfile) && 144 &Pick('>', $outfile) && 146 &Pick('>', $outfile) && [all …]
|
| H A D | et_h.awk | 108 print "/*" > outfile 109 print " * " outfile ":" > outfile 110 print " * This file is automatically generated; please do not edit it." > outfile 111 print " */" > outfile 112 print "" > outfile 113 print "#include <com_err.h>" > outfile 114 print "" > outfile 121 printf "#define %-40s (%dL)\n", tag, curr_sign*curr_low > outfile 123 printf "#define %-40s (%d%06dL)\n", tag, curr_high*curr_sign, curr_low > outfile 146 print "#define ERROR_TABLE_BASE_" table_name " (" base ")" > outfile [all …]
|
| H A D | et_h.pl | 127 &Pick('>', $outfile) && 129 &Pick('>', $outfile) && 130 (print $fh ' * ' . $outfile . ':'); 131 &Pick('>', $outfile) && 135 &Pick('>', $outfile) && 137 &Pick('>', $outfile) && 139 &Pick('>', $outfile) && 141 &Pick('>', $outfile) && 149 &Pick('>', $outfile) && 155 &Pick('>', $outfile) && [all …]
|
| /src/usr.bin/tail/tests/ |
| H A D | tail_test.sh | 35 tail -r infile > outfile 37 atf_check cmp expectfile outfile 58 tail -r infile > outfile 60 atf_check cmp expectfile outfile 80 tail -rn2 infile > outfile 82 atf_check cmp expectfile outfile 101 printf '\n1\n2\n3\n' | tail -r > outfile 103 atf_check cmp expectfile outfile 123 tail -rc28 infile > outfile 125 atf_check cmp expectfile outfile [all …]
|
| /src/crypto/krb5/src/util/ss/ |
| H A D | ct_c_awk.in | 4 rootname, rootname > outfile 5 print "#include <ss/ss.h>" > outfile 6 print "" >outfile 7 print "#ifndef __STDC__" > outfile 8 print "#define const" > outfile 9 print "#endif" > outfile 10 print "" > outfile 17 printf "static char const * const ssu%05d[] = {\n", cmdnum > outfile 30 printf "%s\"%s\",\n", cmdtab, cmd > outfile 45 print " (char const *)0" > outfile [all …]
|
| /src/usr.bin/head/tests/ |
| H A D | head_test.sh | 32 head infile > outfile 34 atf_check cmp expectfile outfile 46 head infile > outfile 47 atf_check -e empty cmp expectfile outfile 55 jot -b test 100 > outfile 56 head -n 50 outfile > expectfile 65 jot -b test 100 > outfile 66 head -c 50 outfile > expectfile 75 jot -b test 10 > outfile 76 truncate -s +1K outfile [all …]
|
| /src/usr.bin/etdump/ |
| H A D | output_text.c | 39 output_image(FILE *outfile, const char *filename, boot_volume_descriptor *bvd __unused) in output_image() argument 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() [all …]
|
| H A D | etdump.c | 119 dump_section(char *buffer, size_t bufsize, size_t offset, FILE *outfile, in dump_section() argument 132 outputter->output_section(outfile, filename, sh); in dump_section() 146 outputter->output_entry(outfile, filename, entry, in dump_section() 155 dump_eltorito(FILE *iso, const char *filename, FILE *outfile, in dump_eltorito() argument 186 outputter->output_image(outfile, filename, bvd); in dump_eltorito() 191 outputter->output_entry(outfile, filename, in dump_eltorito() 204 outfile, filename, outputter); in dump_eltorito() 227 FILE *outfile, *iso; in main() local 230 outfile = stdout; in main() 251 outfile = stdout; in main() [all …]
|
| /src/usr.bin/asa/tests/ |
| H A D | asa_test.sh | 22 printf "%s\n%s\n" "$a" "$b" >outfile 23 atf_check_asa infile outfile 32 printf "%s\n\n%s\n" "$a" "$b" >outfile 33 atf_check_asa infile outfile 42 printf "\f%s\n\f%s\n" "$a" "$b" >outfile 43 atf_check_asa infile outfile 52 printf "%s\r%s\n" "$a" "$b" >outfile 53 atf_check_asa infile outfile 62 printf "%s\r%s\n" "$a" "$b" >outfile 63 atf_check_asa infile outfile [all …]
|
| /src/usr.bin/rpcgen/ |
| H A D | rpc_main.c | 137 checkfiles(cmd.infile, cmd.outfile); in main() 143 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile); in main() 145 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile, in main() 148 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile); in main() 151 cmd.outfile, cmd.mflag, cmd.nflag); in main() 153 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile); in main() 156 cmd.outfile); in main() 159 cmd.outfile); in main() 229 open_output(const char *infile, const char *outfile) in open_output() argument 232 if (outfile == NULL) { in open_output() [all …]
|
| /src/usr.bin/ctags/ |
| H A D | ctags.c | 80 static const char *outfile = "tags"; /* output file */ in main() local 109 outfile = optarg; in main() 134 if (strcmp(outfile, "-") == 0) in main() 135 outfile = "/dev/stdout"; in main() 162 if ((oldf = fopen(outfile, "r")) == NULL) { in main() 167 err(1, "opening %s", outfile); in main() 175 if (unlink(outfile)) in main() 176 err(1, "unlinking %s", outfile); in main() 177 if ((outf = fopen(outfile, "w")) == NULL) in main() 178 err(1, "recreating %s", outfile); in main() [all …]
|
| /src/contrib/unifdef/tests/ |
| H A D | overperms.sh | 1 cp if1.c outfile.c 2 chmod 640 outfile.c 3 ls -l outfile.c | cut -d' ' -f1 1>&2 4 unifdef -DFOO=1 -DFOOB=42 -UBAR -m outfile.c 8 (*) ls -l outfile.c | cut -d' ' -f1 1>&2 ;; 10 cat outfile.c 11 rm outfile.c
|
| /src/usr.bin/bintrans/ |
| H A D | uudecode.c | 60 static const char *infile, *outfile; variable 113 outfile = optarg; /* set the output filename */ in main_decode() 164 outfile = "/dev/stdout"; in decode() 262 outfile = q; in decode2() 265 if (pflag || strcmp(outfile, "/dev/stdout") == 0) in decode2() 269 if (lstat(outfile, &st) == 0) { in decode2() 271 warnc(EEXIST, "%s: %s", infile, outfile); in decode2() 278 if (unlink(outfile) == 0 || errno == ENOENT) in decode2() 280 warn("%s: unlink %s", infile, outfile); in decode2() 283 warnc(EISDIR, "%s: %s", infile, outfile); in decode2() [all …]
|
| /src/contrib/libdiff/test/ |
| H A D | expect019.diff | 27 int diff_context, int ignore_whitespace, FILE *outfile) 46 - fprintf(outfile, "blob - %s%s\n", idstr1, 47 + n = fprintf(outfile, "blob - %s%s\n", idstr1, 49 - fprintf(outfile, "blob + %s%s\n", idstr2, 61 + n = fprintf(outfile, "blob + %s%s\n", idstr2, 80 if (outfile) { 85 GOT_DIFF_OUTPUT_UNIDIFF, diff_context, outfile); 94 - a->diff_context, a->ignore_whitespace, a->outfile); 98 + a->ignore_whitespace, a->outfile); 106 int ignore_whitespace, FILE *outfile) [all …]
|
| /src/contrib/less/ |
| H A D | lesskey.c | 107 constant char *outfile = NULL; variable 183 outfile = NULL; in parse_args() 206 outfile = &arg[8]; in parse_args() 208 outfile = &arg[9]; in parse_args() 220 outfile = &argv[0][2]; in parse_args() 222 if (*outfile == '\0') in parse_args() 226 outfile = *(++argv); in parse_args() 328 if (outfile == NULL) in main() 329 outfile = getenv("LESSKEY"); in main() 330 if (outfile == NULL) in main() [all …]
|
| /src/crypto/krb5/src/lib/krb5/error_tables/ |
| H A D | Makefile.in | 30 $(AWK) -f $(ETDIR)/et_h.awk outfile=asn1_err.h asn1_err.et 31 $(AWK) -f $(ETDIR)/et_h.awk outfile=kdb5_err.h kdb5_err.et 32 $(AWK) -f $(ETDIR)/et_h.awk outfile=krb5_err.h krb5_err.et 33 $(AWK) -f $(ETDIR)/et_h.awk outfile=k5e1_err.h k5e1_err.et 34 $(AWK) -f $(ETDIR)/et_h.awk outfile=kv5m_err.h kv5m_err.et 35 $(AWK) -f $(ETDIR)/et_h.awk outfile=krb524_err.h krb524_err.et 36 $(AWK) -f $(ETDIR)/et_c.awk outfile=asn1_err.c asn1_err.et 37 $(AWK) -f $(ETDIR)/et_c.awk outfile=kdb5_err.c kdb5_err.et 38 $(AWK) -f $(ETDIR)/et_c.awk outfile=krb5_err.c krb5_err.et 39 $(AWK) -f $(ETDIR)/et_c.awk outfile=k5e1_err.c k5e1_err.et [all …]
|
| /src/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 …]
|
| /src/crypto/openssl/test/recipes/ |
| H A D | 15-test_genec.t | 214 my $outfile = "ecgen.${curvename}.${paramenc}." . lc $outform; 221 '-out', $outfile])); 234 my $outfile = "ecgen.${curvename}.${paramenc}." . lc $outform; 242 '-out', $outfile, 277 my $outfile = "ecgen.${curvename}.${paramenc}." . lc $outform; 284 '-out', $outfile])); 297 my $outfile = "ecgen.${curvename}.${paramenc}." . lc $outform; 304 '-out', $outfile]));
|
| /src/contrib/expat/tests/ |
| H A D | xmltest.sh | 87 $XMLWF -p -N -d "$OUTPUT$reldir" "$file" > outfile || return $? 88 read outdata < outfile 91 $DIFF "$OUTPUT$reldir$file" "out/$file" > outfile 92 if [ -s outfile ] ; then 93 cp outfile "$OUTPUT$reldir$file.diff" 137 rm -f outfile 146 rm outfile
|
| /src/usr.bin/sed/ |
| H A D | main.c | 88 FILE *outfile; /* Current output file */ variable 332 outfile = stdout; in mf_fgets() 367 if (outfile != NULL && outfile != stdout) in mf_fgets() 368 if (fclose(outfile) != 0) { in mf_fgets() 373 outfile = NULL; in mf_fgets() 419 if (outfile != NULL && outfile != stdout) in mf_fgets() 420 fclose(outfile); in mf_fgets() 421 if ((outfile = fopen(tmpfname, "w")) == NULL) in mf_fgets() 423 fchown(fileno(outfile), sb.st_uid, sb.st_gid); in mf_fgets() 424 fchmod(fileno(outfile), sb.st_mode & ALLPERMS); in mf_fgets() [all …]
|
| H A D | process.c | 88 fwrite(ps, 1, psl, outfile); \ 89 if (psanl) fputc('\n', outfile); \ 136 (void)fprintf(outfile, "%s", cp->t); in process() 168 (void)fprintf(outfile, "%s", cp->t); in process() 271 (void)fprintf(outfile, "%lu\n", linenum); in process() 557 outfile); in flush_appends() 571 (void)fwrite(buf, sizeof(char), count, outfile); in flush_appends() 575 if (ferror(outfile)) in flush_appends() 592 if (outfile != stdout) in lputs() 619 fprintf(outfile, "\\\n"); in lputs() [all …]
|
| /src/usr.bin/gzip/ |
| H A D | gzip.c | 265 static int check_outfile(const char *outfile); 1141 check_outfile(const char *outfile) in check_outfile() argument 1146 if (lflag == 0 && stat(outfile, &sb) == 0) { in check_outfile() 1148 unlink(outfile); in check_outfile() 1153 "overwrite (y or n)? " , outfile); in check_outfile() 1159 unlink(outfile); in check_outfile() 1161 maybe_warnx("%s already exists -- skipping", outfile); in check_outfile() 1258 file_compress(char *file, char *outfile, size_t outsize) in file_compress() argument 1304 if ((size_t)snprintf(outfile, outsize, "%s%s", in file_compress() 1306 memcpy(outfile + outsize - suffixes[0].ziplen - 1, in file_compress() [all …]
|
| /src/crypto/krb5/src/util/ |
| H A D | ktemplate.pm | 13 my $outfile; 20 if (defined $outfile) { 23 $outfile = substr($arg, 2); 54 if (defined $outfile) { 55 open OUTFILE, ">$outfile" || die;
|
| /src/tools/tools/netrate/tcpp/ |
| H A D | runit.pl | 18 $outfile = $date."_".$kernel.".csv"; 19 unlink($outfile); 20 open(OUTFILE, ">".$outfile) || die $outfile; 47 "$outfile $prefix)'");
|