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

/openbsd-current/usr.bin/rpcgen/
H A Drpc_svcout.c71 fprintf(fout, "\t\txdr_%s = (xdrproc_t) xdr_%s;\n",
74 fprintf(fout, "\t\txdr_%s = xdr_%s;\n", rname,
82 fprintf(fout, "static ");
84 fprintf(fout, "*");
99 fprintf(fout, "%s int _rpcpmstart;", var_type);
100 fprintf(fout, "\t\t/* Started by a port monitor ? */\n");
101 fprintf(fout, "%s int _rpcfdtype;", var_type);
102 fprintf(fout, "\t\t/* Whether Stream or Datagram ? */\n");
104 fprintf(fout, "%s int _rpcsvcdirty;", var_type);
105 fprintf(fout, "\
[all...]
H A Drpc_sample.c88 fprintf(fout, "\n\nvoid\n");
91 fprintf(fout,"(char *host)\n{\n");
93 fprintf(fout, "(host)\nchar *host;\n{\n");
94 fprintf(fout, "\tCLIENT *clnt;\n");
98 fprintf(fout, "\t");
100 fprintf(fout, " *result_%d;\n",++i);
103 fprintf(fout, "\t");
108 fprintf(fout, "char *"); /* cannot have "void" type */
109 fprintf(fout, " ");
111 fprintf(fout, "_ar
[all...]
H A Drpc_hout.c72 fprintf(fout, "\n");
109 fprintf(fout, "\n");
123 fprintf(fout,"#ifdef __cplusplus\n");
124 fprintf(fout, "extern \"C\" bool_t xdr_%s(XDR *, %s %s);\n",
126 fprintf(fout,"#elif defined(__STDC__)\n");
127 fprintf(fout, "extern bool_t xdr_%s(XDR *, %s %s);\n",
129 fprintf(fout,"#else /* Old Style C */\n");
130 fprintf(fout, "bool_t xdr_%s();\n", name);
131 fprintf(fout,"#endif /* Old Style C */\n\n");
162 fprintf(fout, "struc
[all...]
H A Drpc_clntout.c57 fprintf(fout,
59 fprintf(fout, "static struct timeval TIMEOUT = { %d, 0 };\n",
78 fprintf(fout, "\n");
80 fprintf(fout, "*\n");
83 fprintf(fout, "{\n");
85 fprintf(fout, "}\n");
106 fprintf(fout, "(");
109 fprintf(fout, "*argp, %s%s)\n", addargtype, addargname);
111 fprintf(fout, "(argp, %s)\n", addargname);
112 fprintf(fout, "\
[all...]
H A Drpc_tblout.c68 fprintf(fout, "\n");
92 fprintf(fout, tbl_hdr, progvers);
98 fprintf(fout, null_entry);
103 fprintf(fout,
114 fprintf(fout, "\n\t(char *(*)())RPCGEN_ACTION(");
121 fprintf(fout, "_"); /* calls internal func */
124 fprintf(fout, "),\n");
138 fprintf(fout, tbl_end);
139 fprintf(fout, tbl_nproc, progvers, progvers, progvers);
150 len = fprintf(fout, "\txdr
[all...]
H A Drpc_cout.c136 fprintf(fout, "\n");
137 fprintf(fout, "bool_t\n");
139 fprintf(fout, "xdr_%s(", procname);
140 fprintf(fout, "XDR *xdrs, ");
141 fprintf(fout, "%s ", procname);
143 fprintf(fout, "*");
144 fprintf(fout, "objp)\n{\n");
146 fprintf(fout, "xdr_%s(xdrs, objp)\n", procname);
147 fprintf(fout, "\tXDR *xdrs;\n");
148 fprintf(fout, "\
[all...]
H A Drpc_main.c241 fout = stdout;
249 fout = fopen(outfile, "w");
250 if (fout == NULL) {
262 fprintf(fout, "/*\n");
263 fprintf(fout, " * Please do not edit this file.\n");
264 fprintf(fout, " * It was generated using rpcgen.\n");
265 fprintf(fout, " */\n\n");
393 fprintf(fout, "#include \"%s\"\n", include);
397 fprintf(fout, "#include <rpc/rpc.h>\n");
398 tell = ftell(fout);
[all...]
H A Drpc_util.c61 FILE *fout; /* file pointer of current output */ variable
181 fprintf(fout, "enum ");
183 fprintf(fout, "struct ");
187 fprintf(fout, "bool_t ");
189 fprintf(fout, "char *");
191 fprintf(fout, "%s ", follow ? fixtype(type) : type);
248 fprintf(fout, "%s_%s_svc", locase(pname), vnum);
256 fprintf(fout, "%s_%s", locase(pname), vnum);
H A Drpc_util.h59 extern FILE *fout;
/openbsd-current/gnu/usr.bin/cvs/src/
H A Dcreate_adm.c36 FILE *fout; local
92 fout = CVS_FOPEN (tmp, "w+");
93 if (fout == NULL)
132 if (fprintf (fout, "%s\n", cp) < 0)
139 if (fclose (fout) == EOF)
152 fout = CVS_FOPEN (tmp, "w+");
153 if (fout == NULL)
160 if (fclose (fout) == EOF)
H A Dentries.c648 FILE *fout; local
664 fout = open_file (tmp, "w+");
669 if (fprintf (fout, "N%s\n", tag) < 0)
674 if (fprintf (fout, "T%s\n", tag) < 0)
680 if (fprintf (fout, "D%s\n", date) < 0)
683 if (fclose (fout) == EOF)
H A Droot.c143 FILE *fout; local
161 fout = open_file (tmp, "w+");
162 if (fprintf (fout, "%s\n", rootdir) < 0)
164 if (fclose (fout) == EOF)
H A Drcs.c5019 FILE *fout;
5066 fout = rcs_internal_lockfile (rcs->path);
5067 RCS_putadmin (rcs, fout);
5068 RCS_putdtree (rcs, rcs->head, fout);
5069 RCS_putdesc (rcs, fout);
5070 rcs->delta_pos = ftell (fout);
5073 putdeltatext (fout, dtext);
5074 rcs_internal_unlockfile (fout, rcs->path);
7971 RCS_copydeltas (rcs, fin, rcsbufin, fout, newdtext, insertpt)
7975 FILE *fout;
5017 FILE *fout; local
8349 FILE *fin, *fout; local
[all...]
/openbsd-current/usr.sbin/smtpd/
H A Denqueue.c178 FILE *fp = NULL, *fout; local
303 fout = fdopen(msg.fd, "a+");
304 if (fout == NULL)
313 if (!get_responses(fout, 1))
316 if (!send_line(fout, verbose, "EHLO localhost\r\n"))
318 if (!get_responses(fout, 1))
324 if (!send_line(fout, verbose, "MAIL FROM:<%s> %s%s %s%s\r\n",
331 if (!get_responses(fout, 1))
335 if (!send_line(fout, verbose, "RCPT TO:<%s> %s%s\r\n",
340 if (!get_responses(fout,
558 parse_message(FILE *fin, int get_from, int tflag, FILE *fout) argument
[all...]
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dvms-hdr.c284 char *fname, *fout, *fptr; local
289 fout = strrchr (fname, ']');
290 if (fout == 0)
291 fout = strchr (fname, ':');
292 if (fout != 0)
293 fout++;
295 fout = fname;
304 fptr = fout;
310 || ((fptr - fout) > 31))
313 _bfd_vms_output_counted (abfd, fout);
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dvms-hdr.c211 char *fname, *fout, *fptr; local
216 fout = strrchr (fname, ']');
217 if (fout == 0)
218 fout = strchr (fname, ':');
219 if (fout != 0)
220 fout++;
222 fout = fname;
230 fptr = fout;
236 || ((fptr - fout) > 31))
239 _bfd_vms_output_counted (abfd, fout);
[all...]
/openbsd-current/usr.sbin/rpki-client/
H A Doutput.c95 FILE *fout; local
100 fout = output_createtmp(outputs[i].name);
101 if (fout == NULL) {
106 if ((*outputs[i].fn)(fout, v, b, a, p, st) != 0) {
108 fclose(fout);
113 if (output_finish(fout) != 0) {
/openbsd-current/usr.bin/mail/
H A Dnames.c210 FILE *fout, *fin; local
241 (fout = Fdopen(fd, "a")) == NULL) {
251 (void)Fclose(fout);
254 fprintf(fout, "From %s %s", myname, date);
255 puthead(hp, fout, GTO|GSUBJECT|GCC|GNL);
257 (void)putc(c, fout);
259 (void)putc('\n', fout);
260 (void)fflush(fout);
261 if (ferror(fout))
263 (void)Fclose(fout);
[all...]
/openbsd-current/usr.bin/ftp/
H A Dftp.c870 FILE * volatile fout, * volatile din; local
883 fout = NULL;
1009 fout = stdout;
1013 fout = popen(local + 1, "w");
1014 if (fout == NULL) {
1023 fout = fopen(local, lmode);
1024 if (fout == NULL) {
1030 if (fstat(fileno(fout), &st) == -1 || st.st_blksize == 0)
1054 lseek(fileno(fout), restart_point, SEEK_SET) == -1) {
1059 (*closefunc)(fout);
[all...]
/openbsd-current/sys/arch/armv7/exynos/
H A Dexclock.c338 uint32_t m, p, s = 0, mask, fout; local
371 fout = (m + k / 65536) * (freq / (p * (1 << s)));
375 fout = (m + k / 1024) * (freq / (p * (1 << s)));
378 fout = m * (freq / (p * (1 << s)));
381 return fout;
/openbsd-current/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A DANSI.py178 fout = open ('log', 'a')
179 fout.write (fsm.input_symbol + ',' + fsm.current_state + '\n')
180 fout.close()
/openbsd-current/lib/libedit/
H A Del.c58 el_init(const char *prog, FILE *fin, FILE *fout, FILE *ferr) argument
66 el->el_outfile = fout;
70 el->el_outfd = fileno(fout);
/openbsd-current/libexec/ftpd/
H A Dftpd.c1190 FILE *fout, *din; local
1207 fout = fdopen(fd, mode);
1209 fout = fopen(name, mode);
1212 if (fout == NULL) {
1226 if ((c = getc(fout)) == EOF) {
1227 if (ferror(fout)) {
1241 if (fseek(fout, 0, SEEK_CUR) == -1) {
1245 } else if (lseek(fileno(fout), restart_point, SEEK_SET) == -1) {
1253 if (receive_data(din, fout) == 0) {
1265 (*closefunc)(fout);
[all...]

Completed in 342 milliseconds