Searched refs:bg (Results 1 - 25 of 149) sorted by relevance

123456

/netbsd-current/external/bsd/tmux/dist/
H A Dgrid-view.c66 grid_view_clear_history(struct grid *gd, u_int bg) argument
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);
95 grid_view_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, u_int bg) argument
106 grid_view_scroll_region_up(struct grid *gd, u_int rupper, u_int rlower, u_int bg) argument
127 grid_view_scroll_region_down(struct grid *gd, u_int rupper, u_int rlower, u_int bg) argument
138 grid_view_insert_lines(struct grid *gd, u_int py, u_int ny, u_int bg) argument
151 grid_view_insert_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny, u_int bg) argument
167 grid_view_delete_lines(struct grid *gd, u_int py, u_int ny, u_int bg) argument
181 grid_view_delete_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny, u_int bg) argument
197 grid_view_insert_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg) argument
214 grid_view_delete_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg) argument
[all...]
H A Dscreen-write.c45 u_int bg; member in struct:screen_write_citem
189 if (ttyctx->defaults.bg == 8)
190 ttyctx->defaults.bg = ttyctx->palette->bg;
256 ctx->bg = 8;
1005 screen_write_insertcharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg) argument
1022 ttyctx.bg = bg;
1024 grid_view_insert_cells(s->grid, s->cx, s->cy, nx, bg);
1033 screen_write_deletecharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg) argument
1061 screen_write_clearcharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg) argument
1089 screen_write_insertline(struct screen_write_ctx *ctx, u_int ny, u_int bg) argument
1136 screen_write_deleteline(struct screen_write_ctx *ctx, u_int ny, u_int bg) argument
1182 screen_write_clearline(struct screen_write_ctx *ctx, u_int bg) argument
1206 screen_write_clearendofline(struct screen_write_ctx *ctx, u_int bg) argument
1238 screen_write_clearstartofline(struct screen_write_ctx *ctx, u_int bg) argument
1291 screen_write_reverseindex(struct screen_write_ctx *ctx, u_int bg) argument
1334 screen_write_linefeed(struct screen_write_ctx *ctx, int wrapped, u_int bg) argument
1362 screen_write_scrollup(struct screen_write_ctx *ctx, u_int lines, u_int bg) argument
1387 screen_write_scrolldown(struct screen_write_ctx *ctx, u_int lines, u_int bg) argument
1419 screen_write_clearendofscreen(struct screen_write_ctx *ctx, u_int bg) argument
1449 screen_write_clearstartofscreen(struct screen_write_ctx *ctx, u_int bg) argument
1472 screen_write_clearscreen(struct screen_write_ctx *ctx, u_int bg) argument
1613 screen_write_collect_scroll(struct screen_write_ctx *ctx, u_int bg) argument
[all...]
H A Dstyle.c46 * Parse an embedded style of the form "fg=colour,bg=colour,bright,...". Note
79 sy->gc.bg = base->bg;
160 sy->gc.bg = value;
162 sy->gc.bg = base->bg;
259 if (gc->bg != 8) {
261 colour_tostring(gc->bg));
291 if (sy->gc.bg != 8)
292 gc->bg
[all...]
H A Dgrid.c70 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))
132 gee->bg = gc->bg;
195 grid_clear_cell(struct grid *gd, u_int px, u_int py, u_int bg) argument
202 if (bg != 8) {
203 if (bg & COLOUR_FLAG_RGB) {
206 gee->bg
391 grid_scroll_history(struct grid *gd, u_int bg) argument
420 grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg) argument
453 grid_expand_line(struct grid *gd, u_int py, u_int sx, u_int bg) argument
477 grid_empty_line(struct grid *gd, u_int py, u_int bg) argument
599 grid_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, u_int bg) argument
639 grid_clear_lines(struct grid *gd, u_int py, u_int ny, u_int bg) argument
661 grid_move_lines(struct grid *gd, u_int dy, u_int py, u_int ny, u_int bg) argument
703 grid_move_cells(struct grid *gd, u_int dx, u_int px, u_int py, u_int nx, u_int bg) argument
[all...]
H A Dtty.c1003 tty_fake_bce(const struct tty *tty, const struct grid_cell *gc, u_int bg) argument
1007 if (!COLOUR_DEFAULT(bg) || !COLOUR_DEFAULT(gc->bg))
1094 u_int px, u_int nx, u_int bg)
1107 if (c->overlay_check == NULL && !tty_fake_bce(tty, defaults, bg)) {
1146 u_int px, u_int nx, u_int bg)
1154 tty_clear_line(tty, &ctx->defaults, ry, x, rx, bg);
1222 u_int ny, u_int px, u_int nx, u_int bg)
1235 if (c->overlay_check == NULL && !tty_fake_bce(tty, defaults, bg)) {
1251 if ((tty->term->flags & TERM_DECFRA) && !COLOUR_DEFAULT(bg)) {
1093 tty_clear_line(struct tty *tty, const struct grid_cell *defaults, u_int py, u_int px, u_int nx, u_int bg) argument
1145 tty_clear_pane_line(struct tty *tty, const struct tty_ctx *ctx, u_int py, u_int px, u_int nx, u_int bg) argument
1221 tty_clear_area(struct tty *tty, const struct grid_cell *defaults, u_int py, u_int ny, u_int px, u_int nx, u_int bg) argument
1293 tty_clear_pane_area(struct tty *tty, const struct tty_ctx *ctx, u_int py, u_int ny, u_int px, u_int nx, u_int bg) argument
2925 tty_default_attributes(struct tty *tty, const struct grid_cell *defaults, struct colour_palette *palette, u_int bg) argument
[all...]
/netbsd-current/usr.bin/locate/bigram/
H A Dlocate.bigram.c98 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);
/netbsd-current/crypto/external/bsd/netpgp/dist/src/lib/
H A Dssh2pgp.c147 getbignum(bufgap_t *bg, char *buf, const char *header) argument
152 (void) bufgap_getbin(bg, &len, sizeof(len));
154 (void) bufgap_seek(bg, sizeof(len), BGFromHere, BGByte);
155 (void) bufgap_getbin(bg, buf, len);
160 (void) bufgap_seek(bg, len, BGFromHere, BGByte);
166 putbignum(bufgap_t *bg, BIGNUM *bignum)
171 (void) bufgap_insert(bg, &len, sizeof(len));
172 (void) bufgap_insert(bg, buf, len);
177 (void) bufgap_seek(bg, len, BGFromHere, BGByte);
209 bufgap_t bg; local
[all...]
/netbsd-current/sys/dev/rasops/
H A Drasops8.c133 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) << 2
[all...]
H A Drasops15.c134 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) << 1
[all...]
H A Drasops4.c121 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) << 1
[all...]
H A Drasops24.c166 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...]
H A Drasops2.c127 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) <<
[all...]
H A Drasops32.c134 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;
H A Drasops1_putchar_width.h67 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)
H A Drasops1-4_putchar.h92 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...]
H A Drasops1.c97 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...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DProcess.h197 static const char *OutputColor(char c, bool bold, bool bg);
200 static const char *OutputBold(bool bg);
/netbsd-current/sys/arch/luna68k/dev/
H A Domrasops.c84 uint8_t bg; member in struct:__anon51::__anon52::__anon53
227 om_set_rowattr(int row, uint8_t fg, uint8_t bg) argument
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) argument
428 om_fgbg2rop(uint8_t fg, uint8_t bg) argument
456 uint8_t fg, bg; local
568 uint8_t fg, bg; local
609 uint8_t fg, bg; local
1213 uint8_t bg; local
1685 om_allocattr(void *cookie, int fg, int bg, int flags, long *attrp) argument
1751 om_unpack_attr(long attr, uint8_t *fg, uint8_t *bg, int *underline) argument
[all...]
/netbsd-current/usr.bin/locate/code/
H A Dlocate.code.c190 bgindex(char *bg) /* Return location of bg in bigrams or -1. */ argument
194 bg0 = bg[0];
195 bg1 = bg[1];
/netbsd-current/sys/arch/hp300/dev/
H A Ddiofb.c336 diofb_allocattr(void *cookie, int fg, int bg, int flg, long *attr) argument
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, NUL
[all...]
/netbsd-current/external/bsd/less/dist/
H A Doutput.c102 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 | bg
[all...]
H A Dscreen.c122 #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)<<
2512 int bg; local
2577 int bg; local
2642 int bg; local
3000 WIN32setcolors(int fg, int bg) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dmingw-hdep.c289 const ui_file_style::color &bg = style.get_background (); local
297 if (bg.is_none ())
299 else if (bg.is_basic ())
300 bgcolor = bg_color[bg.get_value () & 15];
302 bgcolor = rgb_to_16colors (bg) << 4;
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dmingw-hdep.c290 const ui_file_style::color &bg = style.get_background (); local
298 if (bg.is_none ())
300 else if (bg.is_basic ())
301 bgcolor = bg_color[bg.get_value () & 15];
303 bgcolor = rgb_to_16colors (bg) << 4;
/netbsd-current/external/gpl3/gdb.old/dist/gdb/tui/
H A Dtui-io.c188 int bg; member in struct:color_pair
192 return fg < o.fg || (fg == o.fg && bg < o.bg);
269 get_color_pair (int fg, int bg) argument
271 color_pair c = { fg, bg };
282 init_pair (next, fg, bg);
304 const ui_file_style::color &bg = style.get_background (); local
305 if (!fg.is_none () || !bg.is_none ())
308 if (get_color (fg, &fgi) && get_color (bg, &bgi))
371 the terminal is fg=BLACK, and bg
388 ui_file_style::color bg = style.get_background (); local
[all...]

Completed in 176 milliseconds

123456