Lines Matching refs:fout

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