Home | History | Annotate | Download | only in siop

Lines Matching defs:outfp

298 FILE	*outfp;
405 outfp = fopen (outputfile, "w");
413 if (outfp) {
416 fprintf(outfp, "/*\t$NetBSD: ncr53cxxx.c,v 1.17 2022/04/21 21:31:11 andvar Exp $\t*/\n");
417 fprintf(outfp, "/*\n");
418 fprintf(outfp, " *\tDO NOT EDIT - this file is automatically generated.\n");
420 fprintf(outfp, " *\tcreated from %s on %s", sourcefile, ctime(&cur_time));
421 fprintf(outfp, " */\n");
455 if (outfp && !partial_flag) {
456 fprintf (outfp, "\nu_int32_t INSTRUCTIONS = 0x%08x;\n", ninsts);
457 fprintf (outfp, "u_int32_t PATCHES = 0x%08x;\n", npatches);
458 fprintf (outfp, "u_int32_t LABELPATCHES[] = {\n");
461 fprintf (outfp, "\t0x%08x,\n", p->offset / 4);
464 fprintf (outfp, "};\n\n");
498 if (nsymbols == 0 || outfp == NULL)
518 fprintf (outfp, "#define\t%s%s\t0x%08x\n", code, symbols[i].name,
522 fprintf (outfp, "u_int32_t %s%s_Used[] = {\n", code, symbols[i].name);
526 fprintf (outfp, "\t0x%08x,\n", p->offset / 4);
530 fprintf (outfp, "};\n\n");
684 if (outfp) {
685 fprintf (outfp, "const u_int32_t %s[] = {\n", script_name);
687 fprintf (outfp, "\t0x%08x, 0x%08x", script[i],
691 fprintf (outfp, ", 0x%08x,", script[i + 2]);
693 if ((i + 2) <= dsps / 4) fprintf (outfp, ",\t\t");
694 fprintf (outfp, "\t/* %03x - %3d */\n", i * 4, i * 4);
698 fprintf (outfp, "};\n\n");