Lines Matching refs:fprintf
230 fprintf(hfile, "#define %s %d\n", nodename[i], i); in output()
233 fprintf(hfile, "struct %s {\n", sp->tag); in output()
235 fprintf(hfile, " %s;\n", fp->decl); in output()
240 fprintf(hfile, " int type;\n"); in output()
242 fprintf(hfile, " struct %s %s;\n", sp->tag, sp->tag); in output()
283 fprintf(cfile, "static const short nodesize[%d] = {\n", ntypes); in outsizes()
285 fprintf(cfile, " SHELL_ALIGN(sizeof (struct %s)),\n", in outsizes()
288 fprintf(cfile, "};\n"); in outsizes()
314 fprintf(cfile, "\tcase %s:\n", nodename[i]); in outfunc()
322 fprintf(cfile, "calcsize(n->%s.%s);\n", in outfunc()
326 fprintf(cfile, "new->%s.%s = copynode(n->%s.%s);\n", in outfunc()
333 fprintf(cfile, "sizenodelist(n->%s.%s);\n", in outfunc()
337 fprintf(cfile, "new->%s.%s = copynodelist(n->%s.%s);\n", in outfunc()
344 fprintf(cfile, "funcstringsize += strlen(n->%s.%s) + 1;\n", in outfunc()
348 fprintf(cfile, "new->%s.%s = nodesavestr(n->%s.%s);\n", in outfunc()
356 fprintf(cfile, "new->%s.%s = n->%s.%s;\n", in outfunc()
384 fprintf(cfile, "\tcase %s:\n", nodename[i]); in outencode()
387 fprintf(cfile, "writenode(n, sizeof(struct %s), nodesize[n->type]);\n", sp->tag); in outencode()
393 fprintf(cfile, "encodenode(n->%s.%s);\n", sp->tag, fp->name); in outencode()
397 fprintf(cfile, "encodenodelist(n->%s.%s);\n", sp->tag, fp->name); in outencode()
401 fprintf(cfile, "encodestring(n->%s.%s);\n", sp->tag, fp->name); in outencode()
431 fprintf(cfile, "\tcase %s:\n", nodename[i]); in outdecode()
438 fprintf(cfile, "decodenode(&n->%s.%s);\n", sp->tag, fp->name); in outdecode()
442 fprintf(cfile, "decodenodelist(&n->%s.%s);\n", sp->tag, fp->name); in outdecode()
446 fprintf(cfile, "n->%s.%s = decodestring();\n", sp->tag, fp->name); in outdecode()
525 (void) fprintf(stderr, "line %d: ", linno); in error()