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

1 2 3 4

  /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/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...]
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...]
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...]
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...]
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)
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;
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...]
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/sys/arch/luna68k/dev/
omrasops.c 84 uint8_t bg; member in struct:__anon1395deb30108::__anon1395deb3020a::__anon1395deb30308
227 om_set_rowattr(int row, uint8_t fg, uint8_t bg)
230 if (rowattr[row].fg == fg && rowattr[row].bg == bg)
235 if (rowattr[row].fg == rowattr[row].bg) {
237 if (rowattr[row].fg != fg && rowattr[row].bg != bg) {
243 rowattr[row].bg = bg;
251 om_reset_rowattr(int row, uint8_t bg)
456 uint8_t fg, bg; local in function:om_putchar
568 uint8_t fg, bg; local in function:om_erasecols
609 uint8_t fg, bg; local in function:om_eraserows
1213 uint8_t bg; local in function:om4_copyrows
    [all...]
  /src/usr.bin/locate/code/
locate.code.c 190 bgindex(char *bg) /* Return location of bg in bigrams or -1. */
194 bg0 = bg[0];
195 bg1 = bg[1];
  /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/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/rcons/
rcons_subr.c 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
478 rcons_setcolor(struct rconsole *rc, int fg, int bg)
485 if (bg > WSCOL_WHITE || bg < 0)
489 flg = bg;
490 bg = fg;
497 flg = bg;
498 bg = fg;
507 rc->rc_bgcolor = bg;
509 rc->rc_ops->allocattr(rc->rc_cookie, fg, bg, flg, &rc->rc_attr)
    [all...]
  /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/dev/pci/
voodoofb.c 366 uint32_t bg, fg, ul; local in function:voodoofb_attach
537 rasops_unpack_attr(defattr, &fg, &bg, &ul);
538 sc->sc_bg = ri->ri_devcmap[bg];
766 int fg, bg, uc, i; local in function:voodoofb_putchar
774 bg = (u_char)ri->ri_devcmap[(attr >> 16) & 0xf];
779 voodoofb_rectfill(sc, x, y, wi, he, bg);
784 voodoofb_setup_mono(sc, x, y, wi, he, fg, bg);
801 uint32_t bg, latch = 0, bg8, fg8, pixel, save_offset = 0; local in function:voodoofb_putchar_aa
814 bg = ri->ri_devcmap[(attr >> 16) & 0xf];
818 voodoofb_rectfill(sc, x, y, wi, he, bg);
956 int32_t x, y, width, height, fg, bg, ul; local in function:voodoofb_erasecols
993 int32_t x, y, width, height, fg, bg, ul; local in function:voodoofb_eraserows
    [all...]
r128fb.c 839 uint32_t fg, bg; local in function:r128fb_putchar
851 bg = ri->ri_devcmap[(attr >> 16) & 0xf];
857 r128fb_rectfill(sc, x, y, wi, he, bg);
882 R128_DP_SRC_BKGD_CLR, bg);
938 uint32_t bg, latch = 0, bg8, fg8, pixel; local in function:r128fb_putchar_aa
953 bg = ri->ri_devcmap[(attr >> 16) & 0xf];
957 r128fb_rectfill(sc, x, y, wi, he, bg);
1073 int32_t x, y, width, height, fg, bg, ul; local in function:r128fb_erasecols
1080 rasops_unpack_attr(fillattr, &fg, &bg, &ul);
1082 r128fb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
1110 int32_t x, y, width, height, fg, bg, ul; local in function:r128fb_eraserows
    [all...]
  /src/sys/dev/pci/voyager/
voyagerfb.c 933 int fg, bg; local in function:voyagerfb_putchar_mono
946 bg = ri->ri_devcmap[(attr >> 16) & 0x0f];
951 voyagerfb_rectfill(sc, x, y, wi, he, bg);
966 bus_space_write_4(sc->sc_memt, sc->sc_regh, SM502_BACKGROUND, bg);
991 int fg, bg; local in function:voyagerfb_putchar_aa32
1008 bg = ri->ri_devcmap[(attr >> 16) & 0x0f];
1013 voyagerfb_rectfill(sc, x, y, wi, he, bg);
1039 rb = (bg >> 16) & 0xff;
1041 gb = (bg >> 8) & 0xff;
1043 bb = bg & 0xff
1081 int bg; local in function:voyagerfb_putchar_aa8
1209 int32_t x, y, width, height, fg, bg, ul; local in function:voyagerfb_erasecols
1263 int32_t x, y, width, height, fg, bg, ul; local in function:voyagerfb_eraserows
    [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]);
  /src/sys/arch/sgimips/gio/
light.c 153 #define LIGHT_ATTR_ENCODE(fg, bg) (((fg << 8) & 0xff00) | (bg * 0x00ff))
501 light_allocattr(void *c, int fg, int bg, int flags, long *attr)
509 bg = WSCOL_BLACK;
517 fg = bg;
518 bg = tmp;
521 *attr = LIGHT_ATTR_ENCODE(fg, bg);
  /src/sys/dev/sbus/
tcx.c 890 volatile uint64_t bg = 0x30000000ffffffffLL; local in function:tcx_clearscreen
895 bg |= (spc64 << 32);
899 sc->sc_rstip[i] = bg;
985 volatile uint64_t bg, fg, temp, mask; local in function:tcx_putchar
1003 bg = 0x3000000000000000LL |
1006 bg |= mask;
1016 sc->sc_rstip[addr] = bg;
1034 sc->sc_rstip[addr] = bg;
1059 bg = 0x3000000000000000LL |
1062 bgr = bg | maskr
    [all...]
  /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;

Completed in 140 milliseconds

1 2 3 4