HomeSort by: relevance | last modified time | path
    Searched defs:bg (Results 1 - 25 of 54) sorted by relevancy

1 2 3

  /src/sys/dev/rasops/
rasops15.c 134 uint32_t bg, fg; local in function:rasops15_makestamp
139 bg = ATTR_BG(ri, attr) & 0xffff;
144 stamp[i] = (i & 16 ? fg : bg);
145 stamp[i] |= (i & 8 ? fg : bg) << 16;
146 stamp[i + 1] = (i & 4 ? fg : bg);
147 stamp[i + 1] |= (i & 2 ? fg : bg) << 16;
149 stamp[i] = (i & 8 ? fg : bg);
150 stamp[i] |= (i & 16 ? fg : bg) << 16;
151 stamp[i + 1] = (i & 2 ? fg : bg);
152 stamp[i + 1] |= (i & 4 ? fg : bg) << 16
    [all...]
rasops1_putchar_width.h 67 uint32_t bg, fg; local in function:NAME
93 bg = ATTR_BG(ri, attr);
96 /* If fg and bg match this becomes a space character */
97 if (uc == ' ' || __predict_false(fg == bg)) {
99 *rp = bg;
101 *hp = bg;
112 if (bg)
rasops2.c 127 uint32_t bg, fg; local in function:rasops2_makestamp
132 bg = ATTR_BG(ri, attr) & 3;
143 stamp[i] = (i & 8 ? fg : bg);
144 stamp[i] |= (i & 4 ? fg : bg) << 2;
145 stamp[i] |= (i & 2 ? fg : bg) << 4;
146 stamp[i] |= (i & 1 ? fg : bg) << 6;
149 stamp[i] = (i & 1 ? fg : bg);
150 stamp[i] |= (i & 2 ? fg : bg) << 2;
151 stamp[i] |= (i & 4 ? fg : bg) << 4;
152 stamp[i] |= (i & 8 ? fg : bg) << 6
    [all...]
rasops32.c 134 uint32_t fg, bg; local in function:rasops32_makestamp
140 bg = ATTR_BG(ri, attr);
144 stamp[i + 0] = i & 32 ? fg : bg;
145 stamp[i + 1] = i & 16 ? fg : bg;
146 stamp[i + 2] = i & 8 ? fg : bg;
147 stamp[i + 3] = i & 4 ? fg : bg;
rasops4.c 121 uint32_t bg, fg; local in function:rasops4_makestamp
126 bg = ATTR_BG(ri, attr) & 0xf;
137 stamp[i] = (i & 1 ? fg : bg) << 12;
138 stamp[i] |= (i & 2 ? fg : bg) << 8;
139 stamp[i] |= (i & 4 ? fg : bg) << 4;
140 stamp[i] |= (i & 8 ? fg : bg) << 0;
143 stamp[i] = (i & 1 ? fg : bg) << 0;
144 stamp[i] |= (i & 2 ? fg : bg) << 4;
145 stamp[i] |= (i & 4 ? fg : bg) << 8;
146 stamp[i] |= (i & 8 ? fg : bg) << 12
    [all...]
rasops8.c 133 uint32_t bg, fg; local in function:rasops8_makestamp
138 bg = ATTR_BG(ri, attr) & 0xff;
149 stamp[i] = (i & 8 ? fg : bg);
150 stamp[i] |= (i & 4 ? fg : bg) << 8;
151 stamp[i] |= (i & 2 ? fg : bg) << 16;
152 stamp[i] |= (i & 1 ? fg : bg) << 24;
155 stamp[i] = (i & 1 ? fg : bg);
156 stamp[i] |= (i & 2 ? fg : bg) << 8;
157 stamp[i] |= (i & 4 ? fg : bg) << 16;
158 stamp[i] |= (i & 8 ? fg : bg) << 24
    [all...]
rasops1-4_putchar.h 92 uint32_t bg, fg, lbg, rbg, clr[2], lmask, rmask, tmp; local in function:NAME
123 bg = ATTR_BG(ri, attr);
126 /* If fg and bg match this becomes a space character */
127 if (uc == ' ' || __predict_false(fg == bg)) {
141 bg &= rmask;
143 tmp = (*rp & lmask) | bg;
152 clr[0] = bg & COLOR_MASK;
209 lbg = bg & ~lmask;
210 rbg = bg & ~rmask;
221 *bp++ = bg;
    [all...]
rasops1.c 97 uint32_t bg, fg, lbg, rbg, fb, lmask, rmask, tmp, tmp0, tmp1; local in function:rasops1_putchar
128 bg = ATTR_BG(ri, attr);
131 /* If fg and bg match this becomes a space character */
132 if (uc == ' ' || __predict_false(fg == bg)) {
146 bg &= rmask;
148 tmp = (*rp & lmask) | bg;
160 if (bg)
199 lbg = bg & ~lmask;
200 rbg = bg & ~rmask;
223 if (bg)
    [all...]
rasops24.c 166 uint32_t bg, fg, c1, c2, c3, c4; local in function:rasops24_makestamp
171 bg = ATTR_BG(ri, attr) & 0xffffff;
176 c1 = i & 32 ? fg : bg;
177 c2 = i & 16 ? fg : bg;
178 c3 = i & 8 ? fg : bg;
179 c4 = i & 4 ? fg : bg;
181 c1 = i & 8 ? fg : bg;
182 c2 = i & 4 ? fg : bg;
183 c3 = i & 16 ? fg : bg;
184 c4 = i & 32 ? fg : bg;
215 uint32_t bg, xstamp[3]; local in function:rasops24_eraserows
298 uint32_t bg, xstamp[3]; local in function:rasops24_erasecols
    [all...]
rasops_bitops.h 57 uint32_t bg, lbg, rbg, lmask, rmask, tmp; local in function:NAME
89 bg = ATTR_BG(ri, attr);
93 bg &= ~lmask;
96 tmp = (*rp & lmask) | bg;
115 lbg = bg & ~lmask;
116 rbg = bg & ~rmask;
127 *dp++ = bg;
rasops.c 120 * For the cursor the fg/bg indices are bit inverted, so
615 uint32_t fg = fg0, bg = bg0; local in function:rasops_allocattr_color
618 bg >= sizeof(rasops_isgray)))
623 bg &= 7;
636 bg = WS_DEFAULT_BG;
638 bg = WSCOL_BLACK;
647 fg = bg;
648 bg = swap;
656 if (rasops_isgray[bg])
659 *attr = (bg << 16) | (fg << 24) | flg
669 uint32_t fg = fg0, bg = bg0; local in function:rasops_allocattr_mono
992 uint32_t bg, *rp, *hp; local in function:rasops_eraserows
1149 uint32_t bg, *rp, *hp; local in function:rasops_erasecols
    [all...]
  /src/usr.bin/locate/bigram/
locate.bigram.c 98 struct bigram *bg; local in function:main
132 bg = bigrams;
133 for (i = 0; i < 128 && bg->count > 0; i++, bg++) {
134 if (bg->b1 != '\0')
135 fputc(bg->b1, stdout);
136 if (bg->b2 != '\0')
137 fputc(bg->b2, stdout);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_nv04_fbcon.c 88 uint32_t bg; local in function:nv04_fbcon_imageblit
103 bg = ((uint32_t *) info->pseudo_palette)[image->bg_color];
106 bg = image->bg_color;
113 OUT_RING(chan, bg);
  /src/sys/arch/hp300/dev/
diofb.c 336 diofb_allocattr(void *cookie, int fg, int bg, int flg, long *attr)
344 bg = WSCOL_BLACK;
350 fg = bg;
351 bg = swap;
354 *attr = (bg << 16) | (fg << 24) | (flg & WSATTR_UNDERLINE);
396 int fg, bg; local in function:diofb_erasecols
400 rasops_unpack_attr(attr, &fg, &bg, NULL);
411 ri->ri_font->fontheight, RR_CLEAR, 0xff ^ bg) != 0)
420 int fg, bg; local in function:diofb_eraserows
424 rasops_unpack_attr(attr, &fg, &bg, NULL)
    [all...]
  /src/sys/arch/amiga/dev/
mntva.c 413 int x, y, wi, he, fg, bg, ul; local in function:mntva_eraserows
420 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
423 ri->ri_height, ri->ri_devcmap[bg]);
429 mntva_rectfill(sc, x, y, wi, he, ri->ri_devcmap[bg]);
463 int x, y, w, h, fg, bg, ul; local in function:mntva_erasecols
474 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
475 mntva_rectfill(sc, x, y, w, h, ri->ri_devcmap[bg & 0xf]);
zz9k_fb.c 600 int x, y, w, h, fg, bg, ul; local in function:zzfb_eraserows
607 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
608 zzfb_rectfill(sc, x, y, w, h, ri->ri_devcmap[bg]);
636 int x, y, w, h, fg, bg, ul; local in function:zzfb_erasecols
643 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
644 zzfb_rectfill(sc, x, y, w, h, ri->ri_devcmap[bg & 0xf]);
  /src/bin/ksh/
c_ksh.c 1123 int bg = strcmp(*wp, "bg") == 0; local in function:c_fgbg
1135 rv = j_resume(*wp, bg);
1137 rv = j_resume("%%", bg);
1141 return (bg || Flag(FPOSIX)) ? 0 : rv;
1462 {"+bg", c_fgbg},
  /src/sys/arch/playstation2/ee/
gsfb.c 516 _gsfb_allocattr(void *cookie, int fg, int bg, int flags, long *attr)
524 bg = WS_DEFAULT_BG;
533 *attr = ATTR_BG_SET(bg) | ATTR_FG_SET(fg) | flags;
590 u_int32_t fg, bg; local in function:gsfb_font_expand_psmct32
597 bg = gsfb_ansi_psmct32[ATTR_BG_GET(attr)];
604 *buf++ = (b & 0x80) ? fg : bg;
  /src/sys/dev/ic/
ct65550.c 198 uint32_t bg, fg, ul; local in function:chipsfb_do_attach
284 rasops_unpack_attr(defattr, &fg, &bg, &ul);
285 sc->sc_bg = ri->ri_devcmap[bg];
471 int32_t x, y, width, height, fg, bg, ul; local in function:chipsfb_erasecols
478 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
480 chipsfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
508 int32_t x, y, width, height, fg, bg, ul; local in function:chipsfb_eraserows
511 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
515 ri->ri_height, ri->ri_devcmap[bg]);
522 ri->ri_devcmap[bg]);
602 uint32_t bg, latch = 0, bg8, fg8, pixel, dst, stride, size; local in function:chipsfb_putchar_aa
724 int fg, bg, uc; local in function:chipsfb_putchar
    [all...]
  /src/sys/dev/pci/
lynxfb.c 664 lynxfb_fillrect(struct lynxfb *fb, int x, int y, int w, int h, int bg)
668 DPR_WRITE(fb, DPR_FG_COLOR, ri->ri_devcmap[bg]);
713 int32_t bg, fg, ul; local in function:lynxfb_erasecols1
718 rasops_unpack_attr(attr, &fg, &bg, &ul);
721 num, f->fontheight, bg);
729 int32_t bg, fg, ul; local in function:lynxfb_eraserows1
742 rasops_unpack_attr(attr, &fg, &bg, &ul);
743 lynxfb_fillrect(fb, x, y, w, num, bg);
tdvfb.c 914 int x, y, wi, he, fg, bg, ul; local in function:tdvfb_eraserows
921 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
924 ri->ri_height, ri->ri_devcmap[bg]);
930 tdvfb_rectfill(sc, x, y, wi, he, ri->ri_devcmap[bg]);
wcfb.c 729 wcfb_rectfill(struct wcfb_softc *sc, int x, int y, int w, int h, int bg)
738 mask = 0x0f & bg;
851 uint32_t bg; local in function:wcfb_acc_putchar
857 bg = ri->ri_devcmap[(attr >> 16) & 0xf];
859 wcfb_rectfill(sc, x, y, wi, he, bg);
929 int32_t x, y, width, height, fg, bg, ul; local in function:wcfb_acc_erasecols
936 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
938 wcfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
966 int32_t x, y, width, height, fg, bg, ul; local in function:wcfb_acc_eraserows
973 rasops_unpack_attr(fillattr, &fg, &bg, &ul)
    [all...]
  /src/sys/dev/sbus/
zx.c 836 zx_fillrect(struct zx_softc *sc, int x, int y, int w, int h, uint32_t bg,
846 bus_space_write_4(sc->sc_bt, sc->sc_bhzdss0, zd_fg, bg);
922 int32_t x, y, width, height, bg; local in function:zx_erasecols
928 bg = ((uint32_t)ri->ri_devcmap[(attr >> 16) & 0xff]) << 24;
929 zx_fillrect(sc, x, y, width, height, bg, ZX_STD_ROP);
938 int32_t x, y, width, height, bg; local in function:zx_eraserows
950 bg = ((uint32_t)ri->ri_devcmap[(attr >> 16) & 0xff]) << 24;
951 zx_fillrect(sc, x, y, width, height, bg, ZX_STD_ROP);
996 uint32_t fg, bg; local in function:zx_putchar
998 rasops_unpack_attr(attr, &fg, &bg, &ul)
    [all...]
  /src/sys/arch/vax/vsa/
smg.c 971 int fg, bg; local in function:smg_erasecols
973 rasops_unpack_attr(attr, &fg, &bg, NULL);
980 bg == 0 ? RR_CLEAR : RR_SET);
  /src/usr.sbin/sysinst/
main.c 116 unsigned int bg; member in struct:__anona4da46d20108
196 clr_arg.bg=COLOR_BLUE;
246 sscanf(optarg, "%u:%u", &clr_arg.bg, &clr_arg.fg);
292 do_coloring(clr_arg.fg,clr_arg.bg);
506 (void)fprintf(stderr, "usage: sysinst [-C bg:fg] [-D"
514 "\t-C bg:fg\n\t\tuse different color scheme\n"

Completed in 27 milliseconds

1 2 3