/src/common/dist/zlib/contrib/iostream3/ |
test.cc | 13 gzofstream outf; local in function:main 17 outf.open("test1.txt.gz"); 18 outf << "The quick brown fox sidestepped the lazy canine\n" 20 outf.close(); 32 outf.rdbuf()->pubsetbuf(0,0); 33 outf.open("test2.txt.gz"); 34 outf << setcompression(Z_NO_COMPRESSION) 37 outf.close();
|
/src/games/monop/ |
execute.c | 245 FILE *outf; local in function:save 266 outf = fopen(buf, "w"); 267 if (outf == NULL) { 275 fprintf(outf, "NetBSD monop format v%d\n", CUR_FORMAT_VERSION); 276 fprintf(outf, "time %s", ctime(&t)); /* ctime includes a \n */ 277 fprintf(outf, "numplayers %d\n", num_play); 278 fprintf(outf, "currentplayer %d\n", player); 279 fprintf(outf, "doubles %d\n", num_doub); 283 fprintf(outf, "player %d {\n", i); 284 fprintf(outf, " name %s\n", name_list[i]) [all...] |
/src/games/mille/ |
mille.c | 63 outf = fopen("q", "w"); 64 setbuf(outf, NULL); 157 if (outf) 158 fflush(outf);
|
varpush.c | 90 if ((outf = fopen(buf, "w")) == NULL) { 95 setbuf(outf, NULL);
|
move.c | 122 fprintf(outf, "DOMOVE: Draw %s\n", C_name[*Topcard]); 135 fprintf(outf, "DOMOVE: Draw %s\n", C_name[*Topcard]); 189 fprintf(outf, "CHECK_GO: can play %s (%d), ", C_name[card], card); 190 fprintf(outf, "is_safety(card) = %d, ", is_safety(card)); 191 fprintf(outf, "canplay(pp, op, card) = %d\n", canplay(pp, op, card)); 198 fprintf(outf, "CHECK_GO: cannot play %s\n", 228 fprintf(outf, "PLAYCARD: Card = %s\n", C_name[card]); 445 if (!Debug && outf == NULL) { 473 if ((outf = fopen(buf, "w")) == NULL) 475 setbuf(outf, NULL) [all...] |
comp.c | 125 fprintf(outf, "CALCMOVE: cango = %d, canstop = %d, safe = %d\n", 135 fprintf(outf, 156 fprintf(outf, 186 fprintf(outf, "CALCMOVE: switch(\"%s\")\n",
|
extern.c | 167 FILE *outf; variable in typeref:typename:FILE *
|
mille.h | 225 extern FILE *outf;
|
/src/games/fortune/strfile/ |
strfile.c | 156 FILE *inf, *outf; local in function:main 173 if ((outf = fopen(Outfile, "w")) == NULL) 176 (void) fseek(outf, sizeof Tbl, SEEK_SET); 187 add_offset(outf, ftell(inf)); 197 add_offset(outf, pos); 244 (void) fseek(outf, (off_t) 0, SEEK_SET); 250 (void) fwrite((char *) &Tbl, sizeof Tbl, 1, outf); 253 fwrite_be_offt(Seekpts[i], outf); 255 fflush(outf); 256 if (ferror(outf)) [all...] |
/src/usr.bin/ctags/ |
ctags.c | 68 FILE *outf; /* ioptr for tags file */ variable in typeref:typename:FILE * 217 if (!(outf = fopen(outfile, aflag ? "a" : "w"))) 220 (void)fflush(outf); 221 if (ferror(outf)) 223 (void)fclose(outf);
|
ctags.h | 69 extern FILE *outf; /* ioptr for current output file */
|
print.c | 117 fprintf(outf, "%s\t%s\t%c^%s%c\n",
|
/src/usr.bin/msgs/ |
msgs.c | 631 FILE *outf; local in function:prmesg 644 outf = popen(cmdbuf, "w"); 645 if (!outf) 646 outf = stdout; 648 setbuf(outf, NULL); 651 outf = stdout; 654 putc('\n', outf); 657 fputs(inbuf, outf); 658 if (ferror(outf)) { 659 clearerr(outf); [all...] |
/src/usr.sbin/lockstat/ |
main.c | 172 const char *nlistf, *outf; local in function:main 180 outf = NULL; 235 outf = optarg; 258 if (outf) { 259 fd = open(outf, O_WRONLY | O_CREAT | O_TRUNC, 0600); 261 err(EXIT_FAILURE, "opening %s", outf);
|
/src/common/dist/zlib/contrib/blast/ |
blast.c | 440 local int outf(void *how, unsigned char *buf, unsigned len) function in typeref:typename:local int 453 ret = blast(inf, stdin, outf, stdout, &left, NULL);
|
/src/bin/pax/ |
ar_io.c | 1638 FILE *outf; local in function:ar_summary 1641 outf = stdout; 1643 outf = stderr; 1664 (void)fprintf(outf, "%s: %s", argv0, buf); 1692 (void)fprintf(outf, "%s: %s", argv0, buf);
|
/src/usr.bin/fgen/ |
fgen.l | 80 static int outf = 1; /* stdout */ 1005 outf = 1; /* stdout */ 1059 if ((outf = open(outfile, O_WRONLY|O_CREAT|O_TRUNC, 0666)) == -1) 1062 if (write(outf, outbuf, outpos) != outpos) { 1064 close(outf); 1068 close(outf);
|
/src/usr.bin/crunch/crunchgen/ |
crunchgen.c | 557 static void output_strlst(FILE *outf, strlst_t *lst); 1114 output_strlst(FILE *outf, strlst_t *lst) 1117 fprintf(outf, " %s", lst->str); 1118 fprintf(outf, "\n");
|