Lines Matching refs:fout

77 		f_print(fout, "\n");  in print_datadef()
109 f_print(fout, "\n"); in print_funcdef()
145 f_print(fout, "extern bool_t xdr_%s();\n", name); in print_xdr_func_def()
147 f_print(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n", name, in print_xdr_func_def()
175 f_print(fout, "struct %s {\n", name); in pargdef()
178 f_print(fout, "};\n"); in pargdef()
179 f_print(fout, "typedef struct %s %s;\n", name, name); in pargdef()
181 f_print(fout, "\n"); in pargdef()
193 f_print(fout, "struct %s {\n", name); in pstructdef()
196 f_print(fout, "};\n"); in pstructdef()
197 f_print(fout, "typedef struct %s %s;\n", name, name); in pstructdef()
207 f_print(fout, "struct %s {\n", name); in puniondef()
210 f_print(fout, "\tbool_t %s;\n", decl->name); in puniondef()
212 f_print(fout, "\t%s %s;\n", decl->type, decl->name); in puniondef()
213 f_print(fout, "\tunion {\n"); in puniondef()
221 f_print(fout, "\t} %s_u;\n", name); in puniondef()
222 f_print(fout, "};\n"); in puniondef()
223 f_print(fout, "typedef struct %s %s;\n", name, name); in puniondef()
229 f_print(fout, "#define\t%s %s\n", name, num); in pdefine()
239 f_print(fout, "#define\t%s\t%s\n", name, num); in puldefine()
267 f_print(fout, "extern int "); in pfreeprocdef()
270 f_print(fout, "_freeresult(SVCXPRT *, xdrproc_t, caddr_t);\n"); in pfreeprocdef()
272 f_print(fout, "_freeresult();\n"); in pfreeprocdef()
288 f_print(fout, in pprogramdef()
291 f_print(fout, in pprogramdef()
309 f_print(fout, "%s", ext); in pprogramdef()
313 f_print(fout, "%s", ext); in pprogramdef()
321 f_print(fout, "\n#if defined(__STDC__)" in pprogramdef()
325 f_print(fout, "\n#else /* K&R C */\n"); in pprogramdef()
336 f_print(fout, "%s", ext); in pprogramdef()
338 f_print(fout, "%s", ext); in pprogramdef()
344 f_print(fout, "#endif /* K&R C */\n"); in pprogramdef()
356 f_print(fout, "bool_t "); in pprocdef()
358 f_print(fout, "enum clnt_stat "); in pprocdef()
361 f_print(fout, "* "); in pprocdef()
374 f_print(fout, "();\n"); in pprocdef()
384 f_print(fout, "("); in parglist()
393 f_print(fout, "*"); in parglist()
395 f_print(fout, ", "); in parglist()
401 f_print(fout, "*, "); in parglist()
404 f_print(fout, "%s);\n", addargtype); in parglist()
415 f_print(fout, "enum %s {\n", name); in penumdef()
417 f_print(fout, "\t%s", l->name); in penumdef()
419 f_print(fout, " = %s", l->assignment); in penumdef()
424 f_print(fout, " = %d", count++); in penumdef()
426 f_print(fout, " = %s + %d", last, count++); in penumdef()
429 f_print(fout, ",\n"); in penumdef()
431 f_print(fout, "\n"); in penumdef()
433 f_print(fout, "};\n"); in penumdef()
434 f_print(fout, "typedef enum %s %s;\n", name, name); in penumdef()
460 f_print(fout, "typedef "); in ptypedef()
463 f_print(fout, "struct {\n"); in ptypedef()
464 f_print(fout, "\tu_int %s_len;\n", name); in ptypedef()
465 f_print(fout, "\t%s%s *%s_val;\n", prefix, old, name); in ptypedef()
466 f_print(fout, "} %s", name); in ptypedef()
469 f_print(fout, "%s%s *%s", prefix, old, name); in ptypedef()
472 f_print(fout, "%s%s %s[%s]", prefix, old, name, in ptypedef()
476 f_print(fout, "%s%s %s", prefix, old, name); in ptypedef()
479 f_print(fout, ";\n"); in ptypedef()
492 tabify(fout, tab); in pdeclaration()
494 f_print(fout, "struct "); in pdeclaration()
496 f_print(fout, "char *%s", dec->name); in pdeclaration()
513 f_print(fout, "%s%s %s", prefix, type, dec->name); in pdeclaration()
516 f_print(fout, "%s%s %s[%s]", prefix, type, dec->name, in pdeclaration()
520 f_print(fout, "%s%s *%s", prefix, type, dec->name); in pdeclaration()
523 f_print(fout, "struct {\n"); in pdeclaration()
524 tabify(fout, tab); in pdeclaration()
525 f_print(fout, "\tu_int %s_len;\n", dec->name); in pdeclaration()
526 tabify(fout, tab); in pdeclaration()
527 f_print(fout, in pdeclaration()
529 tabify(fout, tab); in pdeclaration()
530 f_print(fout, "} %s", dec->name); in pdeclaration()
535 f_print(fout, separator); in pdeclaration()