| /src/external/bsd/tmux/dist/ |
| grid-view.c | 66 grid_view_clear_history(struct grid *gd, u_int bg) 79 grid_view_clear(gd, 0, 0, gd->sx, gd->sy, bg); 86 grid_scroll_history(gd, bg); 89 grid_view_clear(gd, 0, 0, gd->sx, gd->sy - last, bg); 96 u_int bg) 101 grid_clear(gd, px, py, nx, ny, bg); 107 u_int bg) 112 grid_scroll_history(gd, bg); 116 grid_scroll_history_region(gd, rupper, rlower, bg); 121 grid_move_lines(gd, rupper, rupper + 1, rlower - rupper, bg); [all...] |
| screen-write.c | 44 u_int bg; member in struct:screen_write_citem 194 if (ttyctx->defaults.bg == 8) 195 ttyctx->defaults.bg = ttyctx->palette->bg; 261 ctx->bg = 8; 1050 screen_write_insertcharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg) 1072 ttyctx.bg = bg; 1074 grid_view_insert_cells(s->grid, s->cx, s->cy, nx, bg); 1083 screen_write_deletecharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg) [all...] |
| grid.c | 70 gce->data.bg = gc->bg & 0xff; 71 if (gc->bg & COLOUR_FLAG_256) 89 if ((gc->fg & COLOUR_FLAG_RGB) || (gc->bg & COLOUR_FLAG_RGB)) 139 gee->bg = gc->bg; 203 grid_clear_cell(struct grid *gd, u_int px, u_int py, u_int bg) 210 if (bg != 8) { 211 if (bg & COLOUR_FLAG_RGB) { 214 gee->bg = bg [all...] |
| tty.c | 117 tty->fg = tty->bg = -1; 1075 tty_fake_bce(const struct tty *tty, const struct grid_cell *gc, u_int bg) 1079 if (!COLOUR_DEFAULT(bg) || !COLOUR_DEFAULT(gc->bg)) 1166 u_int px, u_int nx, u_int bg) 1179 if (c->overlay_check == NULL && !tty_fake_bce(tty, defaults, bg)) { 1218 u_int px, u_int nx, u_int bg) 1226 tty_clear_line(tty, &ctx->defaults, ry, x, rx, bg); 1294 u_int ny, u_int px, u_int nx, u_int bg) 1307 if (c->overlay_check == NULL && !tty_fake_bce(tty, defaults, bg)) { [all...] |
| style.c | 55 * Parse an embedded style of the form "fg=colour,bg=colour,bright,...". Note 89 sy->gc.bg = base->bg; 205 sy->gc.bg = value; 207 sy->gc.bg = base->bg; 335 if (gc->bg != 8) { 337 colour_tostring(gc->bg)); 381 if (sy->gc.bg != 8) 382 gc->bg = sy->gc.bg [all...] |
| /src/usr.bin/locate/bigram/ |
| locate.bigram.c | 98 struct bigram *bg; local 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 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 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 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 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 298 uint32_t bg, xstamp[3]; local [all...] |
| rasops2.c | 127 uint32_t bg, fg; local 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 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 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 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 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 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 | 122 * For the cursor the fg/bg indices are bit inverted, so 650 uint32_t fg = fg0, bg = bg0; local 653 bg >= sizeof(rasops_isgray))) 658 bg &= 0xff; 671 bg = WS_DEFAULT_BG; 673 bg = WSCOL_BLACK; 682 fg = bg; 683 bg = swap; 691 if (rasops_isgray[bg]) 694 *attr = (bg << 16) | (fg << 24) | flg 704 uint32_t fg = fg0, bg = bg0; local 1053 uint32_t bg, *rp, *hp; local 1210 uint32_t bg, *rp, *hp; local [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| Process.h | 197 static const char *OutputColor(char c, bool bold, bool bg); 200 static const char *OutputBold(bool bg);
|
| /src/sys/arch/luna68k/dev/ |
| omrasops.c | 84 uint8_t bg; member in struct:__anon1558::__anon1559::__anon1560 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 568 uint8_t fg, bg; local 609 uint8_t fg, bg; local 1213 uint8_t bg; local [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 400 rasops_unpack_attr(attr, &fg, &bg, NULL); 411 ri->ri_font->fontheight, RR_CLEAR, 0xff ^ bg) != 0) 420 int fg, bg; local 424 rasops_unpack_attr(attr, &fg, &bg, NULL) [all...] |
| /src/external/bsd/less/dist/ |
| output.c | 102 static int fg, fgi, bg, bgi; local 124 if (fg == 0 && bg == 0) 128 bg = nm_bg_color & 7; 159 bg = nm_bg_color & 7; 209 bg = nm_bg_color & 7; 274 bg = screen_color[code - 40]; 277 case 49: /* default bg */ 278 bg = nm_bg_color & 7; 297 f = bg | bgi; 302 b = bg | bgi [all...] |
| screen.c | 122 #define SET_BG_COLOR(bg) _setbkcolor(bg) 123 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); } 135 #define SET_BG_COLOR(bg) textbackground(bg) 136 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); } 172 #define MAKEATTR(fg,bg) ((WORD)((fg)|((bg)<<4)) 2512 int bg; local 2577 int bg; local 2642 int bg; local [all...] |
| /src/sys/dev/ic/ |
| ct65550.c | 198 uint32_t bg, fg, ul; local 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 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 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 724 int fg, bg, uc; local [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...] |