HomeSort by: relevance | last modified time | path
    Searched refs:fontwidth (Results 1 - 25 of 111) sorted by relevancy

1 2 3 4 5

  /src/sys/dev/wsfont/
wsfont.h 39 #define FONT_IS_ALPHA(f) ((f)->fontwidth <= (f)->stride)
wsfont.c 447 cb(f->name, f->fontwidth, f->fontheight, f->stride);
476 newdata = malloc(newstride * font->fontwidth * font->numchars,
488 (n * newstride * font->fontwidth);
490 for (w = 0; w < font->fontwidth; w++) {
503 ((font->fontwidth - 1 - w) *
526 newfont->fontwidth = font->fontheight;
527 newfont->fontheight = font->fontwidth;
569 ncookie = wsfont_find(font->name, font->fontwidth, font->fontheight,
634 if (font->fontwidth != width)
637 if (font->fontwidth > width)
    [all...]
wsfontdev.c 87 DPRINTF("%s %dx%d\n", f->name, f->fontwidth, f->fontheight);
91 fd.fd_width = f->fontwidth;
  /src/sys/arch/hp300/dev/
diofb.c 220 fb->wsd.fontwidth = ri->ri_font->fontwidth;
364 int fontwidth = fb->wsd.fontwidth; local in function:diofb_copycols
366 n *= fontwidth;
367 src *= fontwidth;
368 dst *= fontwidth;
398 int fontwidth = fb->wsd.fontwidth; local in function:diofb_erasecols
402 snum = num * fontwidth;
445 int fontwidth = fb->wsd.fontwidth; local in function:diofb_do_cursor
    [all...]
  /src/usr.sbin/wsfontload/
wsfontload.c 148 f.fontwidth = DEFWIDTH;
167 if (sscanf(optarg, "%d", &f.fontwidth) != 1)
235 f.stride = (f.fontwidth + 7) / 8;
259 f.fontwidth = le32toh(foo);
292 printf("fontwidth: %d\n", f.fontwidth);
  /src/sys/arch/vax/vsa/
lcg.c 207 lcgaddr[((col) * lcg_font.fontwidth) + ((row) * lcg_font.fontheight * lcg_xsize) + \
497 for (dot = 0; dot < lcg_font.fontwidth; dot++)
524 for (dot = 0; dot < lcg_font.fontwidth; dot++)
584 LCG_FB_ADDR + (row * lcg_onerow) + (col * lcg_font.fontwidth),
585 lcg_font.fontwidth, lcg_font.fontheight, dot_fg, dot_bg);
589 for (int j = 0; j < lcg_font.fontwidth; j++) {
596 for (i = 0; i < lcg_font.fontwidth; i++)
621 &LCG_ADDR(row,srccol, i, 0), ncols * lcg_font.fontwidth);
624 blkcpy(LCG_FB_ADDR + (row * lcg_onerow) + (srccol * lcg_font.fontwidth),
625 LCG_FB_ADDR + (row * lcg_onerow) + (dstcol * lcg_font.fontwidth),
    [all...]
spx.c 318 ((col) * spx_font.fontwidth + \
708 LO(col * spx_font.fontwidth + CUR_XBIAS));
710 HI(col * spx_font.fontwidth + CUR_XBIAS));
752 SPX_REG(SPX_XSTART) = (col * spx_font.fontwidth) << 16;
754 SPX_REG(SPX_XEND) = ((col + 1) * spx_font.fontwidth) << 16;
760 SPX_REG(SPX_DSTPIX) = temp + LINEAR(col * spx_font.fontwidth,
763 + (c * spx_font.fontheight * spx_font.fontwidth);
765 SPX_REG(SPX_STRIDE) = (spx_font.fontwidth << 16) | spx_xsize;
792 SPXg_REG(SPX_XSTART) = (col * spx_font.fontwidth) << 16;
796 SPXg_REG(SPX_XEND) = ((col + 1) * spx_font.fontwidth) << 16
    [all...]
smg.c 402 smg_stdscreen.fontwidth = ri->ri_font->fontwidth;
658 startx = ri->ri_font->fontwidth * startcol;
666 width = ri->ri_font->fontwidth + align;
736 startx = ri->ri_font->fontwidth * col;
741 width = ri->ri_font->fontwidth + align;
958 n *= ri->ri_font->fontwidth;
959 src *= ri->ri_font->fontwidth;
960 dst *= ri->ri_font->fontwidth;
975 num *= ri->ri_font->fontwidth;
    [all...]
gpx.c 532 dx = col * font->fontwidth + ri->ri_xorigin;
561 ss->ss_adder->fast_dest_dx = font->fontwidth;
567 ss->ss_adder->source_1_dx = font->fontwidth;
572 gpx_fillrect(ss, dx, dy + font->fontheight - 2, font->fontwidth,
585 sx = ri->ri_xorigin + src * font->fontwidth;
586 dx = ri->ri_xorigin + dst * font->fontwidth;
587 w = cnt * font->fontwidth;
602 x = ri->ri_xorigin + col * font->fontwidth;
603 dx = cnt * font->fontwidth;
649 x = ri->ri_ccol * ri->ri_font->fontwidth + ri->ri_xorigin
    [all...]
  /src/sys/dev/rasops/
rasops4.c 84 if ((ri->ri_font->fontwidth & 1) != 0) {
90 switch (ri->ri_font->fontwidth) {
rasops2.c 85 if ((ri->ri_font->fontwidth & 3) != 0) {
96 switch (ri->ri_font->fontwidth) {
rasops1.c 67 if ((ri->ri_font->fontwidth & 7) != 0) {
73 switch (ri->ri_font->fontwidth) {
117 width = font->fontwidth;
rasops_bitops.h 79 col *= ri->ri_font->fontwidth << PIXEL_SHIFT;
80 num *= ri->ri_font->fontwidth << PIXEL_SHIFT;
156 col = ri->ri_ccol * ri->ri_font->fontwidth << PIXEL_SHIFT;
159 width = ri->ri_font->fontwidth << PIXEL_SHIFT;
258 width = ri->ri_font->fontwidth << PIXEL_SHIFT;
rasops.c 353 ri->ri_optfont.fontwidth = ri->ri_font->fontwidth;
359 if (ri->ri_font->fontwidth > 32 || ri->ri_font->fontwidth < 4) {
360 aprint_error("%s: fontwidth assumptions botched", __func__);
408 ri->ri_emuwidth = ri->ri_font->fontwidth * wantcols;
423 ri->ri_rows = ri->ri_emuwidth / ri->ri_font->fontwidth;
428 ri->ri_cols = ri->ri_emuwidth / ri->ri_font->fontwidth;
436 ri->ri_xscale = (ri->ri_font->fontwidth * bpp) >> 3;
1085 * fontwidth = 8 and bpp = 1. So we take care of it
    [all...]
rasops15.c 94 switch (ri->ri_font->fontwidth) {
rasops32.c 95 switch (ri->ri_font->fontwidth) {
rasops8.c 93 switch (ri->ri_font->fontwidth) {
  /src/sys/dev/pci/
wcfb.c 519 sc->sc_width / ri->ri_font->fontwidth);
552 sc->sc_stride + ri->ri_xorigin + col * ri->ri_font->fontwidth;
561 memcpy(to0, from, ri->ri_font->fontwidth);
562 memcpy(to1, from, ri->ri_font->fontwidth);
627 sc->sc_stride + ri->ri_xorigin + dstcol * ri->ri_font->fontwidth;
636 memcpy(to0, from, ri->ri_font->fontwidth * ncols);
637 memcpy(to1, from, ri->ri_font->fontwidth * ncols);
651 sc->sc_stride + ri->ri_xorigin + startcol * ri->ri_font->fontwidth;
661 ri->ri_font->fontwidth * ncols);
663 ri->ri_font->fontwidth * ncols)
    [all...]
  /src/sys/arch/sgimips/gio/
light.c 136 .fontwidth = 8,
404 x = col * font->fontwidth;
412 rex_write(dc, REX_PAGE0_SET, REX_P0REG_XENDI, x + font->fontwidth - 1);
425 /* XXX assumes font->fontwidth == 8 */
440 from_x = srccol * font->fontwidth;
442 to_x = dstcol * font->fontwidth;
444 width = ncols * font->fontwidth;
458 from_x = startcol * font->fontwidth;
460 to_x = from_x + (ncols * font->fontwidth) - 1;
newport.c 111 .fontwidth = 8,
666 ri->ri_width / ri->ri_font->fontwidth);
701 dc->dc_xres / ri->ri_font->fontwidth);
726 wi = ri->ri_font->fontwidth;
759 int x = col * font->fontwidth + ri->ri_xorigin;
781 (x + font->fontwidth - 1) << REX3_XYENDI_XSHIFT);
818 xs = ri->ri_xorigin + ri->ri_font->fontwidth * srccol;
819 xd = ri->ri_xorigin + ri->ri_font->fontwidth * dstcol;
821 width = ri->ri_font->fontwidth * ncols;
836 startcol * font->fontwidth + ri->ri_xorigin, /* x1 *
    [all...]
grtwo.c 138 .fontwidth = 8,
567 col * dc->dc_fontdata->fontwidth);
606 int x = col * font->fontwidth;
621 bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DRAWCHAR, font->fontwidth);
651 srccol * font->fontwidth, /* x1 */
653 dstcol * font->fontwidth, /* x2 */
655 ncols * font->fontwidth, /* dx */
667 startcol * font->fontwidth, /* x1 */
669 (startcol * font->fontwidth) + ncols * font->fontwidth, /* x2 *
    [all...]
  /src/sys/arch/evbmips/gdium/
gdium_genfb.c 92 ri->ri_width / ri->ri_font->fontwidth);
  /src/sys/arch/usermode/dev/
vncfb.c 143 .fontwidth = 8,
306 sc->sc_width / ri->ri_font->fontwidth);
336 x = ri->ri_xorigin + (col * ri->ri_font->fontwidth);
338 w = ri->ri_font->fontwidth;
358 x = ri->ri_xorigin + (srccol * ri->ri_font->fontwidth);
359 w = (dstcol - srccol) * ri->ri_font->fontwidth;
362 x = ri->ri_xorigin + (dstcol * ri->ri_font->fontwidth);
363 w = (srccol - dstcol) * ri->ri_font->fontwidth;
382 x = ri->ri_xorigin + (startcol * ri->ri_font->fontwidth);
383 w = ncols * ri->ri_font->fontwidth;
    [all...]
  /src/sys/arch/amiga/dev/
mntva.c 285 sc->sc_width / ri->ri_font->fontwidth);
447 xs = ri->ri_xorigin + ri->ri_font->fontwidth * srccol;
448 xd = ri->ri_xorigin + ri->ri_font->fontwidth * dstcol;
450 w = ri->ri_font->fontwidth * ncols;
470 x = ri->ri_xorigin + ri->ri_font->fontwidth * startcol;
472 w = ri->ri_font->fontwidth * ncols;
555 wi = ri->ri_font->fontwidth;
amidisplaycc.c 189 #define ADCC_SCREEN(name, width, height, depth, fontwidth, fontheight) \
193 width / fontwidth, \
195 &amidisplaycc_emulops, fontwidth, fontheight, \
208 /* name, width, height, depth, fontwidth==8, fontheight */
303 int fontwidth; member in struct:amidisplaycc_screen
462 amidisplaycc_screentab[0].wsdescr.fontwidth;
1257 int fontwidth; local in function:amidisplaycc_alloc_screen
1276 fontwidth = screenp->fontwidth;
1284 dimension.width = screenp->ncols * fontwidth;
    [all...]

Completed in 26 milliseconds

1 2 3 4 5