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

12

/freebsd-10-stable/usr.bin/rpcgen/
H A Drpc_sample.c87 f_print(fout, "\n\nvoid\n");
89 f_print(fout, "(char *host)\n{\n");
90 f_print(fout, "\tCLIENT *clnt;\n");
94 f_print(fout, "\t");
96 f_print(fout, "enum clnt_stat retval_%d;\n\t", ++i);
98 f_print(fout, "result_%d;\n", i);
101 f_print(fout, " *result_%d;\n",++i);
105 f_print(fout, "\t");
110 f_print(fout, "char * "); /* cannot have "void" type */
111 f_print(fout, " ");
[all...]
H A Drpc_svcout.c78 f_print(fout, "\t\txdr_%s = (xdrproc_t) xdr_%s;\n",
85 f_print(fout, "static ");
87 f_print(fout, "*");
100 f_print(fout, "%s int _rpcpmstart;", var_type);
101 f_print(fout, "\t\t/* Started by a port monitor ? */\n");
103 f_print(fout, "%s int _rpcfdtype;", var_type);
104 f_print(fout, "\n\t\t /* Whether Stream or \
109 f_print(fout, " /* States a server can be in \
111 f_print(fout, "#define\t_IDLE 0\n");
112 f_print(fout, "#defin
[all...]
H A Drpc_clntout.c66 f_print(fout,
68 f_print(fout, "static struct timeval TIMEOUT = { %d, 0 };\n",
86 f_print(fout, "\n");
89 f_print(fout, "*\n");
93 f_print(fout, "enum clnt_stat \n");
98 f_print(fout, "{\n");
101 f_print(fout, "}\n");
123 f_print(fout, "(");
128 f_print(fout, "*argp, ");
130 f_print(fout, "*
[all...]
H A Drpc_hout.c73 f_print(fout, "\n");
109 f_print(fout, "\n");
145 f_print(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n", name,
176 f_print(fout, "struct %s {\n", name);
182 f_print(fout, "};\n");
183 f_print(fout, "typedef struct %s %s;\n",
186 f_print(fout, "\n");
198 f_print(fout, "struct %s {\n", name);
202 f_print(fout, "};\n");
203 f_print(fout, "typede
[all...]
H A Drpc_tblout.c76 f_print(fout, "\n");
100 f_print(fout, tbl_hdr, progvers);
106 fputs(null_entry, fout);
111 f_print(fout,
120 f_print(fout, "\n\t(char *(*)())RPCGEN_ACTION(");
127 f_print( fout, "_"); /* calls internal func */
130 f_print(fout, "),\n");
144 fputs(tbl_end, fout);
145 f_print(fout, tbl_nproc, progvers, progvers, progvers);
156 len = fprintf(fout, "\txdr
[all...]
H A Drpc_cout.c130 f_print(fout, "\n");
131 f_print(fout, "bool_t\n");
132 f_print(fout, "xdr_%s(", procname);
133 f_print(fout, "XDR *xdrs, ");
134 f_print(fout, "%s ", procname);
136 f_print(fout, "*");
137 f_print(fout, "objp)\n{\n\n");
152 f_print(fout, "\tregister long *buf;\n\n");
164 f_print(fout, "\treturn (TRUE);\n");
165 f_print(fout, "}\
[all...]
H A Drpc_main.c249 fout = stdout;
257 fout = fopen(outfile, "w");
258 if (fout == NULL) {
270 f_print(fout, "/*\n");
271 f_print(fout, " * Please do not edit this file.\n");
272 f_print(fout, " * It was generated using rpcgen.\n");
273 f_print(fout, " */\n\n");
408 f_print(fout, "#include \"%s\"\n", include);
412 f_print(fout, "#include <rpc/rpc.h>\n");
413 tell = ftell(fout);
[all...]
H A Drpc_util.c65 FILE *fout; /* file pointer of current output */ variable
173 f_print(fout, "enum ");
175 f_print(fout, "struct ");
179 f_print(fout, "bool_t ");
181 f_print(fout, "char *");
183 f_print(fout, "%s ", follow ? fixtype(type) : type);
240 f_print(fout, "%s_%s_svc", locase(pname), vnum);
246 f_print(fout, "%s_%s", locase(pname), vnum);
H A Drpc_util.h117 extern FILE *fout;
/freebsd-10-stable/gnu/usr.bin/rcs/lib/
H A Drcsgen.c463 register FILE *fout; local
468 if (!(fout = frewrite)) {
471 fout = fopenSafer(makedirtemp(0), FOPEN_WB);
475 fout = fdopen(fo, FOPEN_WB);
478 if (!(frewrite = fout))
486 aputc_(*Khead, fout)
487 aprintf(fout, "%s\t%s;\n", Khead + 1, Head?Head->num:"");
489 aprintf(fout, "%s\t%s;\n", Kbranch, Dbranch);
491 aputs(Kaccess, fout);
494 aprintf(fout, "\
635 register FILE *fout; local
[all...]
H A Drcssyn.c543 * Copy a clean version of the command to fout (if nonnull).
551 register FILE *fout; local
558 fout = foutfile;
571 if (fout)
572 aprintf(fout, "%c%c", SDELIM, c);
634 if (fout) {
635 aprintf(fout, "%s\n", buf);
H A Drcslex.c403 register FILE *fout; local
408 fout = foutptr;
425 if (fout)
426 aputc_(c, fout)
708 register FILE *fout; local
711 fout = stdout;
728 aputc_(c,fout)
/freebsd-10-stable/crypto/heimdal/lib/asn1/
H A Dasn1_gen.c52 FILE *f, *fout; local
68 fout = fopen(fnout, "w");
69 if (fout == NULL)
122 if (fwrite(p + sizeof(p) - sz , sz, 1, fout) != 1)
135 if (fwrite(pdata, datalen, 1, fout) != 1)
144 fclose(fout);
/freebsd-10-stable/usr.bin/mail/
H A Dnames.c287 FILE *fout, *fin; local
316 (fout = Fdopen(fd, "a")) == NULL) {
326 (void)Fclose(fout);
330 fprintf(fout, "From %s %s", myname, date);
331 puthead(hp, fout,
334 (void)putc(c, fout);
336 fprintf(fout, "\n");
337 (void)fflush(fout);
338 if (ferror(fout)) {
341 (void)Fclose(fout);
[all...]
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c900 FILE *fout = NULL, *din = NULL; local
1011 fout = stdout;
1014 fout = popen (local + 1, "w");
1015 if (fout == NULL) {
1021 fout = fopen (local, lmode);
1022 if (fout == NULL) {
1029 fstat (fileno (fout), &st) >= 0 ? &st : NULL);
1039 lseek (fileno (fout), restart_point, SEEK_SET) < 0) {
1042 (*closefunc) (fout);
1047 if ((d = write (fileno (fout), bu
[all...]
/freebsd-10-stable/contrib/less/
H A Dcmdbuf.c1548 FILE *fout; member in struct:save_ctx
1565 write_mlist(ctx->mlist, ctx->fout);
1568 write_mlist_header(ctx->mlist, ctx->fout);
1573 fprintf(ctx->fout, "\"%s\n", string);
1580 write_mlist_header(&mlist_search, ctx->fout);
1581 write_mlist(&mlist_search, ctx->fout);
1586 write_mlist_header(&mlist_shell, ctx->fout);
1587 write_mlist(&mlist_shell, ctx->fout);
1643 FILE *fout = NULL; local
1652 fout
[all...]
/freebsd-10-stable/contrib/sendmail/src/
H A Dsfsasl.c353 ** fout -- the sm_io file encrypted data to be written to
362 ** The arguments "fin" and "fout" are replaced with the new
367 sfdcsasl(fin, fout, conn, tmo)
369 SM_FILE_T **fout;
396 info.fp = *fout;
409 sm_io_setinfo(*fout, SM_IO_WHAT_TIMEOUT, &tmo);
412 *fout = newout;
947 ** fout -- data output source being replaced
955 ** The arguments "fin" and "fout" are replaced with the new
957 ** The original "fin" and "fout" ar
[all...]
/freebsd-10-stable/contrib/tnftp/src/
H A Dftp.c892 FILE *volatile fout; local
911 fout = NULL;
1010 fout = stdout;
1015 fout = popen(local + 1, "w");
1016 if (fout == NULL) {
1024 fout = fopen(local, lmode);
1025 if (fout == NULL) {
1032 if (fstat(fileno(fout), &st) != -1 && !S_ISREG(st.st_mode)) {
1051 lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
1055 c = copy_bytes(fileno(din), fileno(fout), bu
[all...]
H A Dfetch.c508 FILE *volatile fout; local
517 fin = fout = NULL;
1107 fout = stdout;
1110 fout = popen(savefile + 1, "w");
1111 if (fout == NULL) {
1118 if (fout == NULL) {
1136 fout = fopen(savefile, "a");
1138 fout = fopen(savefile, "w");
1139 if (fout == NULL) {
1231 if (fwrite(xferbuf, sizeof(char), flen, fout)
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/
H A DEditline.h62 FILE *fout,
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/
H A DEditline.cpp28 FILE *fout,
55 m_editline = ::el_init(prog, fin, fout, ferr);
60 m_editline = ::el_init("lldb-tmp", fin, fout, ferr);
25 Editline(const char *prog, const char *prompt, FILE *fin, FILE *fout, FILE *ferr) argument
/freebsd-10-stable/contrib/opie/
H A Dopieftpd.c728 FILE *fout, *din; local
738 fout = fopen(name, mode);
740 if (fout == NULL) {
751 if ((c = getc(fout)) == EOF) {
760 if (fseek(fout, 0L, SEEK_CUR /* L_INCR */ ) < 0) {
765 if (lseek(fileno(fout), restart_point, SEEK_SET /* L_SET */ ) < 0) {
773 if (receive_data(din, fout) == 0) {
784 (*closefunc) (fout);
/freebsd-10-stable/sys/gnu/dts/arm/
H A Dzynq-zc706.dts84 factory-fout = <156250000>;
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c1103 FILE *fout, *din; local
1121 fout = fopen(name, mode);
1123 if (fout == NULL) {
1137 if ((c=getc(fout)) == EOF) {
1149 if (fseek(fout, 0L, SEEK_CUR) < 0) {
1153 } else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
1162 if (receive_data(din, fout) == 0) {
1163 if((*closefunc)(fout) < 0)
1173 (*closefunc)(fout);
/freebsd-10-stable/lib/libedit/
H A Del.c60 el_init(const char *prog, FILE *fin, FILE *fout, FILE *ferr) argument
71 el->el_outfile = fout;

Completed in 219 milliseconds

12