/openbsd-current/usr.bin/rpcgen/ |
H A D | rpc_svcout.c | 71 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 D | rpc_sample.c | 88 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 D | rpc_hout.c | 72 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 D | rpc_clntout.c | 57 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 D | rpc_tblout.c | 68 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 D | rpc_cout.c | 136 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 D | rpc_main.c | 241 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 D | rpc_util.c | 61 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 D | rpc_util.h | 59 extern FILE *fout;
|
/openbsd-current/gnu/usr.bin/cvs/src/ |
H A D | create_adm.c | 36 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 D | entries.c | 648 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 D | root.c | 143 FILE *fout; local 161 fout = open_file (tmp, "w+"); 162 if (fprintf (fout, "%s\n", rootdir) < 0) 164 if (fclose (fout) == EOF)
|
H A D | rcs.c | 5019 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 D | enqueue.c | 178 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 D | vms-hdr.c | 284 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 D | vms-hdr.c | 211 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 D | output.c | 95 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 D | names.c | 210 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 D | ftp.c | 870 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 D | exclock.c | 338 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 D | ANSI.py | 178 fout = open ('log', 'a') 179 fout.write (fsm.input_symbol + ',' + fsm.current_state + '\n') 180 fout.close()
|
/openbsd-current/lib/libedit/ |
H A D | el.c | 58 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 D | ftpd.c | 1190 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...] |