Home | History | Annotate | Download | only in hpc

Lines Matching defs:ofp

12 FILE *ofp;
22 ofp = stdout;
46 fprintf(ofp, "static u_char %s%dx%d_data[] = {\n",
64 fprintf(ofp, " /* code %d */\n", code);
67 fprintf(ofp, " ");
70 fprintf(ofp, "0x%02x,", (buf[k] & 0xff));
73 fprintf(ofp, " /* ");
77 fprintf(ofp, " */\n");
79 fprintf(ofp, "\n");
88 fprintf(ofp, "};\n");
90 fprintf(ofp, "struct wsdisplay_font %s%dx%d = {\n",
92 fprintf(ofp, " \"%s\",\t\t\t/* typeface name */\n", fontname);
93 fprintf(ofp, " 0x%02x,\t\t\t/* firstchar */\n", code_min);
94 fprintf(ofp, " %d,\t\t\t/* numchars */\n", code_max - code_min + 1);
95 fprintf(ofp, " WSDISPLAY_FONTENC_ISO,\t/* encoding */\n");
96 fprintf(ofp, " %d,\t\t\t\t/* width */\n", width);
97 fprintf(ofp, " %d,\t\t\t\t/* height */\n", height);
98 fprintf(ofp, " %d,\t\t\t\t/* stride */\n", width_in_bytes);
99 fprintf(ofp, " WSDISPLAY_FONTENC_L2R,\t/* bit order */\n");
100 fprintf(ofp, " WSDISPLAY_FONTENC_L2R,\t/* byte order */\n");
101 fprintf(ofp, " %s%dx%d_data\t\t/* data */\n",
103 fprintf(ofp, "};\n");
133 fprintf(ofp, "static u_int32_t %s%dx%d_%d_pix[] = {\n",
142 fprintf(ofp, " 0x%08x, /* ", d);
146 fprintf(ofp, " */\n");
148 fprintf(ofp, "};\n");
149 fprintf(ofp, "static struct raster %s%dx%d_%d = {",
151 fprintf(ofp, " %d, %d, 1, 1, %s%dx%d_%d_pix, 0 };\n",
162 fprintf(ofp, "struct raster_font %s%dx%d = {\n",
164 fprintf(ofp, " %d, %d, %d, ", width, height, ascent);
165 fprintf(ofp, "RASFONT_FIXEDWIDTH|RASFONT_NOVERTICALMOVEMENT,\n");
166 fprintf(ofp, " {\n");
168 fprintf(ofp, " { &%s%dx%d_%d, ",
170 fprintf(ofp, "%d, %d, %d, %d },\n", 0, -ascent, width, 0);
172 fprintf(ofp, " },\n");
173 fprintf(ofp, "#ifdef COLORFONT_CACHE\n");
174 fprintf(ofp, " (struct raster_fontcache*) -1\n");
175 fprintf(ofp, "#endif /*COLORFONT_CACHE*/\n");
176 fprintf(ofp, "};\n");