/netbsd-current/usr.bin/rpcgen/ |
H A D | rpc_svcout.c | 82 f_print(fout, "\t\txdr_%s = (xdrproc_t)xdr_%s;\n", rname, 89 f_print(fout, "static "); 92 f_print(fout, "*"); 105 f_print(fout, "%sint _rpcpmstart;", var_type); 106 f_print(fout, "\t\t/* Started by a port monitor ? */\n"); 107 f_print(fout, "%sint _rpcfdtype;", var_type); 108 f_print(fout, "\t\t/* Whether Stream or Datagram ? */\n"); 110 f_print(fout, "%sint _rpcsvcdirty;", var_type); 111 f_print(fout, "\t/* Still serving ? */\n"); 121 f_print(fout, "\ [all...] |
H A D | rpc_sample.c | 94 f_print(fout, "\n\nvoid\n"); 96 f_print(fout, "(char *host)\n{\n"); 97 f_print(fout, "\tCLIENT *clnt;\n"); 102 f_print(fout, "\t"); 104 f_print(fout, "char "); /* cannot have "void" 109 f_print(fout, "_arg;\n"); 113 f_print(fout, "\t"); 116 f_print(fout, "_%s;\n", l->decl.name); 122 f_print(fout, "\t"); 124 f_print(fout, "cha [all...] |
H A D | rpc_hout.c | 80 f_print(fout, "\n"); 109 f_print(fout, "\n"); 133 f_print(fout, "\n"); 155 f_print(fout, "bool_t xdr_%s(XDR *, %s%s);\n", name, 185 f_print(fout, "struct %s {\n", name); 190 f_print(fout, "};\n"); 191 f_print(fout, "typedef struct %s %s;\n", name, name); 221 f_print(fout, "struct %s {\n", name); 225 f_print(fout, "};\n"); 226 f_print(fout, "typede [all...] |
H A D | rpc_tblout.c | 80 f_print(fout, "\n"); 104 f_print(fout, tbl_hdr, progvers); 110 f_print(fout, null_entry); 114 f_print(fout, "\n"); 117 f_print(fout, 128 f_print(fout, "\t(char *(*)())RPCGEN_ACTION("); 135 f_print(fout, "_"); /* calls internal func */ 138 f_print(fout, "),\n"); 153 f_print(fout, tbl_end); 154 f_print(fout, tbl_npro [all...] |
H A D | rpc_clntout.c | 71 f_print(fout, 73 f_print(fout, "static struct timeval TIMEOUT = { %d, 0 };\n", 91 f_print(fout, "\n"); 93 f_print(fout, "enum clnt_stat\n"); 96 f_print(fout, "*\n"); 100 f_print(fout, "{\n"); 102 f_print(fout, "}\n"); 122 f_print(fout, "("); 124 f_print(fout, "*argp, "); 127 f_print(fout, "cha [all...] |
H A D | rpc_cout.c | 147 f_print(fout, "\n"); 148 f_print(fout, "bool_t\n"); 149 f_print(fout, "xdr_%s(", procname); 150 f_print(fout, "XDR *xdrs, "); 151 f_print(fout, "%s ", procname); 153 f_print(fout, "*"); 154 f_print(fout, "objp)\n{\n"); 174 f_print(fout, "\treturn (TRUE);\n"); 175 f_print(fout, "}\n"); 194 tabify(fout, inden [all...] |
H A D | rpc_main.c | 299 fout = stdout; 305 fout = fopen(outfile, "w"); 306 if (fout == NULL) { 316 f_print(fout, "/*\n"); 317 f_print(fout, " * Please do not edit this file.\n"); 318 f_print(fout, " * It was generated using rpcgen.\n"); 319 f_print(fout, " */\n\n"); 453 f_print(fout, "#include \"%s\"\n", include); 457 f_print(fout, "#include <rpc/rpc.h>\n"); 458 tell = ftell(fout); [all...] |
H A D | rpc_util.c | 72 FILE *fout; /* file pointer of current output */ variable 180 f_print(fout, "enum "); 182 f_print(fout, "struct "); 186 f_print(fout, "bool_t "); 189 f_print(fout, "char *"); 191 f_print(fout, "%s ", follow ? fixtype(type) : type); 246 f_print(fout, "%s_%s_svc", locase(pname), vnum); 252 f_print(fout, "%s_%s", locase(pname), vnum);
|
/netbsd-current/external/lgpl3/mpfr/dist/tests/ |
H A D | tfprintf.c | 68 check (FILE *fout, const char *fmt, mpfr_ptr x) argument 70 if (mpfr_fprintf (fout, fmt, x) == -1) 72 mpfr_printf ("Error in mpfr_fprintf(fout, \"%s\", %Re)\n", 76 fputc ('\n', fout); 80 check_vfprintf (FILE *fout, const char *fmt, ...) argument 85 if (mpfr_vfprintf (fout, fmt, ap) == -1) 87 mpfr_printf ("Error in mpfr_vfprintf(fout, \"%s\", ...)\n", fmt); 94 fputc ('\n', fout); 98 check_special (FILE *fout) argument 105 check (fout, " 144 check_mixed(FILE *fout) argument 293 check_random(FILE *fout, int nb_tests) argument 387 bug_20090316(FILE *fout) argument 403 FILE *fout; local [all...] |
H A D | tout_str.c | 29 FILE *fout; variable 40 fprintf (fout, "%1.19e base %d %s:\n ", d, base, mpfr_print_rnd_mode (rnd)); 41 mpfr_out_str (fout, base, (base == 2) ? prec : 0, x, rnd); 42 fputc ('\n', fout); 55 n = mpfr_out_str (fout, 10, 0, x, MPFR_RNDN); 56 fputc ('\n', fout); 65 n = mpfr_out_str (fout, 10, 0, x, MPFR_RNDN); 66 fputc ('\n', fout); 75 n = mpfr_out_str (fout, 10, 0, x, MPFR_RNDN); 76 fputc ('\n', fout); [all...] |
H A D | tvalist.c | 65 test (FILE *fout, const char *fmt, ...) argument 70 mpfr_vfprintf (fout, fmt, ap);
|
/netbsd-current/external/gpl2/rcs/dist/src/ |
H A D | rcsgen.c | 467 register FILE *fout; local 472 if (!(fout = frewrite)) { 475 fout = fopenSafer(makedirtemp(0), FOPEN_WB); 479 fout = fdopen(fo, FOPEN_WB); 482 if (!(frewrite = fout)) 490 aputc_(*Khead, fout) 491 aprintf(fout, "%s\t%s;\n", Khead + 1, Head?Head->num:""); 493 aprintf(fout, "%s\t%s;\n", Kbranch, Dbranch); 495 aputs(Kaccess, fout); 498 aprintf(fout, "\ 639 register FILE *fout; local [all...] |
/netbsd-current/external/mit/libcbor/dist/oss-fuzz/ |
H A D | cbor_load_fuzzer.cc | 14 FILE* fout; member in struct:State 16 State() : fout(fopen("/dev/null", "r")) { 27 cbor_describe(item, kState.fout);
|
/netbsd-current/external/gpl2/xcvs/dist/src/ |
H A D | create_adm.c | 38 FILE *fout; local 95 fout = CVS_FOPEN (tmp, "w+"); 96 if (fout == NULL) 131 if (fprintf (fout, "%s\n", cp) < 0) 138 if (fclose (fout) == EOF) 151 fout = CVS_FOPEN (tmp, "w+"); 152 if (fout == NULL) 159 if (fclose (fout) == EOF)
|
/netbsd-current/usr.bin/base64/ |
H A D | base64.c | 63 putoutput(FILE *fout, uint8_t out[4], size_t len, size_t wrap, size_t *pos) argument 70 if (fputc(B64[out[i]], fout) == EOF) 73 if (fputc('\n', fout) == EOF) 79 if (fputc('=', fout) == EOF) 82 if (fputc('\n', fout) == EOF) 101 b64_encode(FILE *fout, FILE *fin, size_t wrap) argument 111 if ((e = putoutput(fout, out, ilen, wrap, &pos)) != 0) 117 if ((e = putoutput(fout, out, ilen, wrap, &pos)) != 0) 122 if (fputc('\n', fout) == EOF) 129 b64_decode(FILE *fout, FIL argument 222 doit(FILE *fout, FILE *fin, bool decode, bool ignore, size_t wrap) argument [all...] |
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/asn1/ |
H A D | asn1_gen.c | 54 FILE *f, *fout; local 70 fout = fopen(fnout, "w"); 71 if (fout == NULL) 124 if (fwrite(p + sizeof(p) - sz , sz, 1, fout) != 1) 137 if (fwrite(pdata, datalen, 1, fout) != 1) 146 fclose(fout);
|
/netbsd-current/usr.bin/mail/ |
H A D | names.c | 253 FILE *fout, *fin; local 292 (fout = Fdopen(fd, "aef")) == NULL) { 304 (void)Fclose(fout); 307 (void)fprintf(fout, "From %s %s", myname, date); 309 (void)puthead(hp, fout, GTO|GSUBJECT|GCC|GMISC|GMIME|GNL); 311 (void)puthead(hp, fout, GTO|GSUBJECT|GCC|GMISC|GNL); 314 (void)putc(c, fout); 316 (void)putc('\n', fout); 317 (void)fflush(fout); 318 if (ferror(fout)) { [all...] |
/netbsd-current/sys/dev/pci/ |
H A D | tdvfbvar.h | 43 int fout; member in struct:tdvfb_dac_timing
|
/netbsd-current/external/bsd/pkg_install/dist/lib/ |
H A D | var.c | 192 FILE *fout; local 233 if ((fout=fdopen(fd, "w")) == NULL) { 249 fprintf(fout, "%.*s", (int)len, line); 252 var_print(fout, variable, value); 261 var_print(fout, variable, value); 263 if (fclose(fout) < 0) {
|
/netbsd-current/external/gpl3/gdb.old/dist/zlib/contrib/minizip/ |
H A D | miniunz.c | 322 FILE *fout=NULL; local 411 fout=FOPEN_FUNC(write_filename,"wb"); 413 if ((fout==NULL) && ((*popt_extract_without_path)==0) && 420 fout=FOPEN_FUNC(write_filename,"wb"); 423 if (fout==NULL) 429 if (fout!=NULL) 442 if (fwrite(buf,err,1,fout)!=1) 450 if (fout) 451 fclose(fout); 484 FILE* fout local [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/zlib/contrib/minizip/ |
H A D | miniunz.c | 322 FILE *fout=NULL; local 411 fout=FOPEN_FUNC(write_filename,"wb"); 413 if ((fout==NULL) && ((*popt_extract_without_path)==0) && 420 fout=FOPEN_FUNC(write_filename,"wb"); 423 if (fout==NULL) 429 if (fout!=NULL) 442 if (fwrite(buf,err,1,fout)!=1) 450 if (fout) 451 fclose(fout); 484 FILE* fout local [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/bfd/ |
H A D | vms-misc.c | 498 const char *fout; 501 fout = strrchr (filename, ']'); 502 if (fout == NULL) 503 fout = strchr (filename, ':'); 504 if (fout != NULL) 505 fout++; 507 fout = filename; 510 fptr = strrchr (fout, '/'); 512 fout = fptr + 1; 514 fname = strdup (fout); 496 const char *fout; local [all...] |
/netbsd-current/external/gpl3/binutils/dist/bfd/ |
H A D | vms-misc.c | 500 const char *fout; 503 fout = strrchr (filename, ']'); 504 if (fout == NULL) 505 fout = strchr (filename, ':'); 506 if (fout != NULL) 507 fout++; 509 fout = filename; 512 fptr = strrchr (fout, '/'); 514 fout = fptr + 1; 516 fname = strdup (fout); 498 const char *fout; local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/bfd/ |
H A D | vms-misc.c | 498 const char *fout; 501 fout = strrchr (filename, ']'); 502 if (fout == NULL) 503 fout = strchr (filename, ':'); 504 if (fout != NULL) 505 fout++; 507 fout = filename; 510 fptr = strrchr (fout, '/'); 512 fout = fptr + 1; 514 fname = strdup (fout); 496 const char *fout; local [all...] |
/netbsd-current/external/gpl3/gdb/dist/bfd/ |
H A D | vms-misc.c | 500 const char *fout; 503 fout = strrchr (filename, ']'); 504 if (fout == NULL) 505 fout = strchr (filename, ':'); 506 if (fout != NULL) 507 fout++; 509 fout = filename; 512 fptr = strrchr (fout, '/'); 514 fout = fptr + 1; 516 fname = strdup (fout); 498 const char *fout; local [all...] |