Searched refs:fout (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dheader.c49 (void) fprintf(fout, "#ident\t\"lex: %s %s\"\n",
52 (void) fprintf(fout, "#ifndef EUC\n");
53 (void) fprintf(fout, "#define EUC\n");
54 (void) fprintf(fout, "#endif\n");
55 (void) fprintf(fout, "#include <stdio.h>\n");
56 (void) fprintf(fout, "#include <stdlib.h>\n");
57 (void) fprintf(fout, "#include <inttypes.h>\n");
58 (void) fprintf(fout, "#include <widec.h>\n");
60 (void) fprintf(fout, "#define YYTEXT yytext\n");
61 (void) fprintf(fout, "#defin
[all...]
H A Dsub2.c324 (void) fprintf(fout, "blockdata\n");
325 (void) fprintf(fout, "common /Lvstop/ vstop\n");
326 (void) fprintf(fout, "define Svstop %d\n", nstates+1);
327 (void) fprintf(fout, "integer vstop(Svstop)\n");
329 (void) fprintf(fout, "int yyvstop[] = {\n0,\n");
447 (void) (ratfor ? fprintf(fout, "end\n") : fprintf(fout, "0};\n"));
838 (void) fprintf(fout, "/* actions for state %d */", s);
840 (void) putc('\n', fout);
844 fprintf(fout, "dat
[all...]
H A Dsub1.c149 if (fout)
150 (void) fflush(fout);
192 if (fout == NULL) {
194 fout = fopen(fname, "w");
196 if (fout == NULL)
199 (void) fprintf(fout, "#\n");
476 (void) fprintf(fout, "\n# line %d\n", yyline);
478 (void) fprintf(fout,
481 (void) putc(*t++, fout);
482 (void) putc(*t++, fout);
[all...]
H A Dparser.y334 if(!ratfor)(void) fprintf(fout,"# ");
335 (void) fprintf(fout,"define YYNEWLINE %d\n",ctable['\n']);
336 if(!ratfor)(void) fprintf(fout,"int yylex(){\nint nstr; extern int yyprevious;\n");
497 (void) fprintf(fout,WSFMT("%ws\n"),p);
526 if(!ratfor)(void) fprintf(fout,"# ");
527 (void) fprintf(fout,WSFMT("define %ws %d\n"),t,i);
548 else (void) fprintf(fout, WSFMT("%ws\n"),p);
604 if(ratfor)(void) fprintf(fout,"%d\n",30000+casecount);
605 else (void) fprintf(fout,"case %d:\n",casecount);
607 if(ratfor)(void) fprintf(fout,"got
[all...]
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_svcout.c79 f_print(fout, "\t\t_xdr_%s = (xdrproc_t)\n", rname);
80 f_print(fout, "\t\t xdr_%s;\n", stringfix(typename));
82 f_print(fout, "\t\t_xdr_%s = xdr_%s;\n",
90 f_print(fout, "static ");
92 f_print(fout, "*");
99 f_print(fout, "\tif (!rpc_control(RPC_SVC_MTMODE_SET, &mode)) {\n");
101 f_print(fout, "\t\texit(1);\n\t}\n");
113 f_print(fout, "%s int _rpcpmstart;", var_type);
114 f_print(fout, "\t\t/* Started by a port monitor ? */\n");
116 f_print(fout, "
[all...]
H A Drpc_sample.c88 f_print(fout, "\n\nvoid\n");
91 f_print(fout, "(char *host)\n{\n");
93 f_print(fout, "(host)\n\tchar *host;\n{\n");
94 f_print(fout, "\tCLIENT *clnt;\n");
98 f_print(fout, "\t");
100 f_print(fout, "enum clnt_stat retval_%d;\n", ++i);
102 f_print(fout, "\t");
107 f_print(fout, "void *");
108 f_print(fout, "result_%d;\n", i);
112 f_print(fout, " *result
[all...]
H A Drpc_clntout.c63 f_print(fout,
65 f_print(fout, "static struct timeval TIMEOUT = { %d, 0 };\n",
83 f_print(fout, "\n");
86 f_print(fout, "*\n");
90 f_print(fout, "enum clnt_stat \n");
95 f_print(fout, "{\n");
98 f_print(fout, "}\n");
120 f_print(fout, "(");
125 f_print(fout, "*argp, ");
129 f_print(fout, "*
[all...]
H A Drpc_tblout.c78 f_print(fout, "\n");
102 f_print(fout, tbl_hdr, progvers);
109 f_print(fout, null_entry);
111 f_print(fout, null_entry_b);
116 f_print(fout,
128 f_print(fout,
131 f_print(fout,
139 f_print(fout, "_");
142 f_print(fout, "),\n");
156 f_print(fout, tbl_en
[all...]
H A Drpc_hout.c77 f_print(fout, "\n");
109 f_print(fout, "\n");
145 f_print(fout, "extern bool_t xdr_%s();\n", name);
147 f_print(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n", name,
175 f_print(fout, "struct %s {\n", name);
178 f_print(fout, "};\n");
179 f_print(fout, "typedef struct %s %s;\n", name, name);
181 f_print(fout, "\n");
193 f_print(fout, "struct %s {\n", name);
196 f_print(fout, "};\
[all...]
H A Drpc_cout.c127 f_print(fout, "\n");
128 f_print(fout, "bool_t\n");
130 f_print(fout, "xdr_%s(", procname);
131 f_print(fout, "XDR *xdrs, ");
132 f_print(fout, "%s ", procname);
134 f_print(fout, "*");
135 f_print(fout, "objp)\n{\n\n");
137 f_print(fout, "xdr_%s(xdrs, objp)\n", procname);
138 f_print(fout, "\tXDR *xdrs;\n");
139 f_print(fout, "\
[all...]
H A Drpc_main.c252 fout = stdout;
262 fout = fopen(outfile, "w");
263 if (fout == NULL) {
275 f_print(fout, "/*\n");
276 f_print(fout, " * Please do not edit this file.\n");
277 f_print(fout, " * It was generated using rpcgen.\n");
278 f_print(fout, " */\n\n");
414 f_print(fout, "#include \"%s\"\n", include);
418 f_print(fout, "#include <rpc/rpc.h>\n");
422 f_print(fout, "\
[all...]
H A Drpc_util.c66 FILE *fout; /* file pointer of current output */ variable
168 f_print(fout, "enum ");
170 f_print(fout, "struct ");
174 f_print(fout, "bool_t ");
176 f_print(fout, "char *");
178 f_print(fout, "void ");
180 f_print(fout, "%s ", follow ? fixtype(type) : type);
231 f_print(fout, "%s_%s_svc", locase(pname), vnum);
237 f_print(fout, "%s_%s", locase(pname), vnum);
/illumos-gate/usr/src/lib/libcurses/screen/
H A D_newterm.c49 newterm(char *type, FILE *fout, FILE *fin) argument
51 return (newscreen(type, 0, 0, 0, fout, fin));
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c92 static int dumpfs(fstyp_ufs_t *h, FILE *fout, FILE *ferr);
93 static void dumplog(fstyp_ufs_t *h, FILE *fout, FILE *ferr);
94 static void dumpcg(fstyp_ufs_t *h, FILE *fout, FILE *ferr, const int c);
101 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
164 fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr) argument
168 return (dumpfs(h, fout, ferr));
302 dumpfs(fstyp_ufs_t *h, FILE *fout, FILE *ferr) argument
311 (void) fprintf(fout, "magic\t%x\tformat\t%s\ttime\t%s", fsp->fs_magic,
314 (void) fprintf(fout, "sblkno\t%d\tcblkno\t%d\tiblkno\t%d\tdblkno\t%d\n",
316 (void) fprintf(fout,
454 dumplog(fstyp_ufs_t *h, FILE *fout, FILE *ferr) argument
532 dumpcg(fstyp_ufs_t *h, FILE *fout, FILE *ferr, const int c) argument
624 pbits(FILE *fout, const void *p, const int max) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/
H A Dud_lib.c1444 print_charspec(FILE *fout, char *name, struct charspec *cspec) argument
1448 (void) fprintf(fout,
1451 (void) fprintf(fout,
1454 (void) fprintf(fout, "\n");
1459 print_dstring(FILE *fout, char *name, uint16_t cset, char *bufc, uint8_t length) argument
1465 (void) fprintf(fout,
1484 print_tstamp(FILE *fout, char *name, tstamp_t *ts) argument
1486 (void) fprintf(fout, "%s tz : %d yr : %d mo : %d da : %d "
1527 print_regid(FILE *fout, char *name, struct regid *reg, int32_t type) argument
1529 (void) fprintf(fout, "
1564 print_regid(FILE *fout, char *name, struct regid *reg) argument
1603 print_ext_ad(FILE *fout, char *name, struct extent_ad *ead) argument
1611 print_tag(FILE *fout, struct tag *tag) argument
1624 print_pvd(FILE *fout, struct pri_vol_desc *pvd) argument
1653 print_avd(FILE *fout, struct anch_vol_desc_ptr *avdp) argument
1665 print_vdp(FILE *fout, struct vol_desc_ptr *vdp) argument
1676 print_iuvd(FILE *fout, struct iuvd_desc *iuvd) argument
1698 print_part(FILE *fout, struct part_desc *pd) argument
1720 print_lvd(FILE *fout, struct log_vol_desc *lvd) argument
1745 print_usd(FILE *fout, struct unall_spc_desc *ua) argument
1765 print_lvid(FILE *fout, struct log_vol_int_desc *lvid) argument
1812 print_fsd(FILE *fout, ud_handle_t h, struct file_set_desc *fsd) argument
1845 print_phdr(FILE *fout, struct phdr_desc *ph) argument
1855 print_fid(FILE *fout, struct file_id *fid) argument
1877 print_aed(FILE *fout, struct alloc_ext_desc *aed) argument
1894 print_icb_tag(FILE *fout, struct icb_tag *itag) argument
1909 print_ie(FILE *fout, struct indirect_entry *ie) argument
1919 print_td(FILE *fout, struct term_desc *td) argument
1927 print_fe(FILE *fout, struct file_entry *fe) argument
1956 print_pmaps(FILE *fout, uint8_t *addr, int32_t count) argument
1993 print_short_ad(FILE *fout, char *name, struct short_ad *sad) argument
2001 print_long_ad(FILE *fout, char *name, struct long_ad *lad) argument
[all...]
H A Dfstyp.c57 FILE *fout, FILE *ferr);
64 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
133 fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr) argument
139 (void) fprintf(fout,
143 ret = print_vds(h, &udfs->mvds, fout, ferr);
145 ret = print_vds(h, &udfs->rvds, fout, ferr);
225 print_vds(fstyp_udfs_t *h, struct vds *v, FILE *fout, FILE *ferr) argument
265 print_avd(fout, (struct anch_vol_desc_ptr *)buf);
279 print_pvd(fout, (struct pri_vol_desc *)buf);
293 print_iuvd(fout, (struc
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c41 #define var(x) fprintf(fout, "/%s %g def\n", #x, x)
61 * fin, fout - input and output files
72 ps_include(FILE *fin, FILE *fout, int page_no, int whiteout, argument
102 * PostScript definitions are copied to *fout, followed by the
172 print(fout, PS_head);
175 print(fout, PS_setup);
176 copy(fin, fout, &prolog);
178 copy(fin, fout, &global[i]);
179 copy(fin, fout, &page);
180 copy(fin, fout,
189 print(FILE *fout, char **s) argument
196 copy(FILE *fin, FILE *fout, Section *s) argument
[all...]
/illumos-gate/usr/src/lib/libfstyp/common/
H A Dlibfstyp_module.h53 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
H A Dlibfstyp.h77 int fstyp_dump(fstyp_handle_t handle, FILE *fout, FILE *ferr);
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c136 static int dumpfs(fstyp_pcfs_t *h, FILE *fout, FILE *ferr);
143 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
202 fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr) argument
206 return (dumpfs(h, fout, ferr));
507 dumpfs(fstyp_pcfs_t *h, FILE *fout, FILE *ferr) argument
509 (void) fprintf(fout,
512 (void) fprintf(fout,
515 (void) fprintf(fout,
518 (void) fprintf(fout,
521 (void) fprintf(fout,
[all...]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dabi_index.pl391 my ($fout, $abi);
393 $fout = $fileoutput{$path};
394 if ($fout =~ /\bSPARCV9\b/) {
396 } elsif ($fout =~ /\bSPARC/) {
398 } elsif ($fout =~ /\bAMD64\b/ || $fout =~ /\bELF\s+64-bit\s+LSB\b/) {
400 } elsif ($fout =~ /\b80386\b/) {
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c207 FILE *fout, *fin; local
244 if ((fout = fdopen(fd, "a")) == NULL) {
259 fprintf(fout, "From %s %s", myname, date);
261 putc(c, fout);
263 fflush(fout);
264 if (fferror(fout))
266 fclose(fout);
303 if ((fout = fopen(fname, "a")) == NULL) {
312 fclose(fout);
318 putc(getc(fin), fout); local
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsfsasl.c352 ** fout -- the sm_io file encrypted data to be written to
361 ** The arguments "fin" and "fout" are replaced with the new
366 sfdcsasl(fin, fout, conn, tmo)
368 SM_FILE_T **fout;
395 info.fp = *fout;
408 sm_io_setinfo(*fout, SM_IO_WHAT_TIMEOUT, &tmo);
411 *fout = newout;
922 ** fout -- data output source being replaced
930 ** The arguments "fin" and "fout" are replaced with the new
932 ** The original "fin" and "fout" ar
[all...]
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/
H A Dfstyp.c81 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
145 fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr) argument
163 (void) fprintf(fout,
167 (void) fprintf(fout, "CD-ROM is in %s"
177 (void) fprintf(fout, "%s: %s\n", name, str_value);
180 (void) fprintf(fout, "%s %llu\n",
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c1051 FILE *fout, *din = 0; local
1201 fout = tmp_nlst;
1203 fout = stdout;
1206 fout = mypopen(local + 1, "w");
1207 if (fout == NULL) {
1213 fout = fopen(local, mode);
1214 if (fout == NULL) {
1227 lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
1235 d = write(fileno(fout), &buf[n], c - n);
1258 if ((d < 0) || ((c == 0) && (fsync(fileno(fout))
[all...]

Completed in 130 milliseconds

12