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

12

/freebsd-11-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.c242 fout = stdout;
250 fout = fopen(outfile, "w");
251 if (fout == NULL) {
263 f_print(fout, "/*\n");
264 f_print(fout, " * Please do not edit this file.\n");
265 f_print(fout, " * It was generated using rpcgen.\n");
266 f_print(fout, " */\n\n");
391 f_print(fout, "#include \"%s\"\n", include);
395 f_print(fout, "#include <rpc/rpc.h>\n");
396 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);
/freebsd-11-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);
/freebsd-11-stable/tools/tools/locale/tools/
H A Dchangeoffset.pl10 $fout = $ARGV[1];
14 open(FOUT, ">$fout.TXT");
/freebsd-11-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-11-stable/sys/arm/nvidia/tegra124/
H A Dtegra124_clk_pll.c387 uint64_t *fout, int flags, int *stop);
695 pll_set_std(struct pll_sc *sc, uint64_t fin, uint64_t *fout, int flags, argument
712 (*fout != (((fin / m) * n) /p)))
715 *fout = ((fin / m) * n) /p;
754 *fout = ((fin / m) * n) / p;
759 plla_set_freq(struct pll_sc *sc, uint64_t fin, uint64_t *fout, int flags) argument
765 n = (*fout * p * m + fin / 2)/ fin;
767 return (pll_set_std(sc, fin, fout, flags, m, n, p));
771 pllc_set_freq(struct pll_sc *sc, uint64_t fin, uint64_t *fout, int flags) argument
777 n = (*fout *
797 plld2_set_freq(struct pll_sc *sc, uint64_t fin, uint64_t *fout, int flags) argument
866 pllrefe_set_freq(struct pll_sc *sc, uint64_t fin, uint64_t *fout, int flags) argument
878 pllx_set_freq(struct pll_sc *sc, uint64_t fin, uint64_t *fout, int flags) argument
947 tegra124_pll_set_freq(struct clknode *clknode, uint64_t fin, uint64_t *fout, int flags, int *stop) argument
[all...]
/freebsd-11-stable/sys/dev/extres/clk/
H A Dclk_div.c57 uint64_t *fout, int flag, int *stop);
125 clknode_div_set_freq(struct clknode *clk, uint64_t fin, uint64_t *fout, argument
137 divider = (_fin + *fout / 2) / *fout;
141 if ((flags & CLK_SET_ROUND_UP) && (*fout < _fout))
143 else if ((flags & CLK_SET_ROUND_DOWN) && (*fout > _fout))
177 (*fout != (_fin / divider)))
194 *fout = _fin / divider;
H A Dclk_fixed.c53 uint64_t *fout, int flags, int *stop);
98 clknode_fixed_set_freq(struct clknode *clk, uint64_t fin, uint64_t *fout, argument
107 if (*fout != sc->freq)
113 *fout = (*fout / sc->mult) * sc->div;
/freebsd-11-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-11-stable/sys/arm/allwinner/clk/
H A Daw_hdmiclk.c165 aw_hdmiclk_set_freq(struct clknode *clk, uint64_t fin, uint64_t *fout, argument
175 best_diff = (int64_t)*fout;
180 cur_diff = (int64_t)*fout - cur_freq;
188 if (best_diff == (int64_t)*fout)
199 *fout = fin / (1 << best_n) / (best_m + 1);
H A Daw_mmcclk.c165 aw_mmcclk_set_freq(struct clknode *clk, uint64_t fin, uint64_t *fout, argument
178 if (*fout <= 400000) {
183 } else if (*fout <= 25000000) {
188 } else if (*fout <= 52000000) {
208 m = ((fin / (1 << n)) / *fout) - 1;
221 *fout = fin / (1 << n) / (m + 1);
H A Daw_pll.c257 a10_pll2_set_freq(struct aw_pll_sc *sc, uint64_t fin, uint64_t *fout, argument
273 if (*fout != 24576000 && *fout != 22579200)
278 n = (*fout * pre_div * post_div * 2) / (2 * fin);
320 a10_pll3_set_freq(struct aw_pll_sc *sc, uint64_t fin, uint64_t *fout, argument
325 m = *fout / A10_PLL3_REF_FREQ;
331 *fout = m * A10_PLL3_REF_FREQ;
333 *fout *= 2;
461 a10_pll6_set_freq(struct aw_pll_sc *sc, uint64_t fin, uint64_t *fout, argument
468 if (*fout !
514 a13_pll2_set_freq(struct aw_pll_sc *sc, uint64_t fin, uint64_t *fout, int flags) argument
741 aw_pll_set_freq(struct clknode *clk, uint64_t fin, uint64_t *fout, int flags, int *stop) argument
[all...]
H A Daw_lcdclk.c293 calc_tcon_pll(uint64_t fin, uint64_t fout, uint32_t *pm, uint32_t *pn) argument
298 best = fout;
302 diff = (int64_t)fout - fcur;
313 aw_lcdclk_set_freq(struct clknode *clk, uint64_t fin, uint64_t *fout, argument
338 calc_tcon_pll(TCON_PLLREF, *fout, &m, &n);
339 calc_tcon_pll(TCON_PLLREF * 2, *fout, &m2, &n2);
384 *fout = fin / m;
H A Daw_modclk.c159 aw_modclk_set_freq(struct clknode *clk, uint64_t fin, uint64_t *fout, argument
170 best_diff = (int64_t)*fout;
184 cur_diff = (int64_t)*fout - cur_freq;
194 if (best_diff == (int64_t)*fout)
212 *fout = fin / (1 << best_n) / (best_m + 1);
/freebsd-11-stable/contrib/less/
H A Dcmdbuf.c1598 FILE *fout; member in struct:save_ctx
1615 write_mlist(ctx->mlist, ctx->fout);
1618 write_mlist_header(ctx->mlist, ctx->fout);
1626 write_mlist_header(&mlist_search, ctx->fout);
1627 write_mlist(&mlist_search, ctx->fout);
1632 write_mlist_header(&mlist_shell, ctx->fout);
1633 write_mlist(&mlist_shell, ctx->fout);
1639 fprintf(ctx->fout, "\"%s\n", string);
1698 FILE *fout = NULL; local
1707 fout
[all...]
H A Dmark.c400 save_marks(fout, hdr)
401 FILE *fout;
409 fprintf(fout, "%s\n", hdr);
422 fprintf(fout, "m %c %d %s %s\n",
/freebsd-11-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-11-stable/usr.bin/gzip/
H A Dunlz.c283 FILE *fin, *fout; member in struct:lz_decoder
300 if (fwrite(lz->obuf + lz->spos, 1, size, lz->fout) != size)
317 if (lz->fout)
318 fclose(lz->fout);
331 lz->fout = fdopen(dup(fdout), "w");
332 if (lz->fout == NULL)
582 rv = ftello(lz.fout);
614 unlz(int fin, int fout, char *pre, size_t prelen, off_t *bytes_in) argument
645 return lz_decode(fin, fout, dict_size, bytes_in);

Completed in 231 milliseconds

12