Lines Matching refs:f_print

79 		f_print(fout, "\n");
116 f_print(fout, "\n");
134 f_print(fout, "#ifdef __cplusplus\n");
135 f_print(fout, "extern \"C\" bool_t xdr_%s(XDR *, %s%s);\n",
138 f_print(fout, "#elif __STDC__\n");
139 f_print(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n",
142 f_print(fout, "#else /* Old Style C */\n");
143 f_print(fout, "bool_t xdr_%s();\n", name);
144 f_print(fout, "#endif /* Old Style C */\n\n");
175 f_print(fout, "struct %s {\n", name);
180 f_print(fout, "};\n");
181 f_print(fout, "typedef struct %s %s;\n", name, name);
183 f_print(fout, "\n");
197 f_print(fout, "struct %s {\n", name);
201 f_print(fout, "};\n");
202 f_print(fout, "typedef struct %s %s;\n", name, name);
213 f_print(fout, "struct %s {\n", name);
216 f_print(fout, "\tbool_t %s;\n", decl->name);
218 f_print(fout, "\t%s %s;\n", decl->type, decl->name);
220 f_print(fout, "\tunion {\n");
229 f_print(fout, "\t} %s_u;\n", name);
230 f_print(fout, "};\n");
231 f_print(fout, "typedef struct %s %s;\n", name, name);
239 f_print(fout, "#define %s %s\n", name, num);
247 f_print(fout, "#define %s %s\n", name, num);
287 f_print(fout, "extern struct rpcgen_table %s_%s_table[];\n",
289 f_print(fout, "extern %s_%s_nproc;\n",
299 f_print(fout, "\n#ifdef __cplusplus\n");
303 f_print(fout, "\n#elif __STDC__\n");
306 f_print(fout, "\n#else /* Old Style C */\n");
315 f_print(fout, "%s", ext);
317 f_print(fout, "%s", ext);
323 f_print(fout, "#endif /* Old Style C */\n");
339 f_print(fout, "bool_t ");
341 f_print(fout, "enum clnt_stat ");
344 f_print(fout, "*");
355 f_print(fout, "(");
363 f_print(fout, "*");
364 f_print(fout, ", ");
369 f_print(fout, "char");
373 f_print(fout, "*");
374 f_print(fout, ", ");
376 f_print(fout, "%s);\n", addargtype);
379 f_print(fout, "();\n");
393 f_print(fout, "enum %s {\n", name);
395 f_print(fout, "%s\t%s", first, l->name);
397 f_print(fout, " = %s", l->assignment);
402 f_print(fout, " = %d", count++);
404 f_print(fout, " = %s + %d", last, count++);
409 f_print(fout, "\n};\n");
410 f_print(fout, "typedef enum %s %s;\n", name, name);
439 f_print(fout, "typedef ");
442 f_print(fout, "struct {\n");
443 f_print(fout, "\tu_int %s_len;\n", name);
444 f_print(fout, "\t%s%s *%s_val;\n", prefix, old, name);
445 f_print(fout, "} %s", name);
448 f_print(fout, "%s%s *%s", prefix, old, name);
451 f_print(fout, "%s%s %s[%s]", prefix, old, name,
455 f_print(fout, "%s%s %s", prefix, old, name);
458 f_print(fout, ";\n");
478 f_print(fout, "struct ");
481 f_print(fout, "char *%s", dec->name);
498 f_print(fout, "%s%s %s", prefix, type, dec->name);
501 f_print(fout, "%s%s %s[%s]", prefix, type, dec->name,
505 f_print(fout, "%s%s *%s", prefix, type, dec->name);
508 f_print(fout, "struct {\n");
510 f_print(fout, "\tu_int %s_len;\n", dec->name);
512 f_print(fout, "\t%s%s *%s_val;\n", prefix, type, dec->name);
514 f_print(fout, "} %s", dec->name);
518 f_print(fout, "%s", separator);