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

1 2 3 4 5 6 7

  /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/crypto/external/bsd/netpgp/dist/src/lib/
ssh2pgp.c 147 getbignum(bufgap_t *bg, char *buf, const char *header)
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...]
  /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...]
  /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/external/mit/expat/dist/doc/
ok.min.css 2 /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--ok-sans:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue","Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--ok-mono:SFMono-Regular,Menlo,Monaco,Consolas,"Ubuntu Mono","Liberation Mono","Courier New",Courier,monospace;--ok-fw-0:400;--ok-fw-1:600;--ok-fw-2:700;--ok-fw-3:700;--ok-fs-0:2.5rem;--ok-fs-1:2rem;--ok-fs-2:1.5rem;--ok-fs-3:1.25rem;--ok-fs-4:1rem;--ok-fs-5:0.75rem;--ok-br:0.25rem;--ok-s-0:0;--ok-s-1:0.25rem;--ok-s-2:0.5rem;--ok-s-3:1rem;--ok-s-4:1.5rem;--ok-s-5:2rem;--ok-s-6:2.5rem;--ok-lh-body:1.5;--ok-lh-heading:1.25;--ok-t-hl:#ffcf30;--ok-accent-0:#3e67fa;--ok-accent-1:#4788ff;--ok-tc-accent:#3173de;--ok-tc-code:#c23a30;--ok-tc-0:#000;--ok-tc-1:#747474;--ok-tc-2:#848484;--ok-bg-0:#fff;--ok-bg-1:#f0f0f0;--ok-bg-2:#ccc;--ok-b-0:1px solid #cbcbcb;--ok-b-1:1px solid #848484;--ok-down-0:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='8' viewBox='0 0 12 8' width='24' fill='none'%3E%3Cpath d='M6 6l4-4h1v1-1L6 7 1 2h1l4 4z' fill='%23747474'/%3E%3C/svg%3E");--ok-down-1:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='8' viewBox='0 0 12 8' width='24' fill='none'%3E%3Cpath d='M6 6l4-4h1v1-1L6 7 1 2h1l4 4z' fill='%23848484'/%3E%3C/svg%3E")}@media (prefers-color-scheme:dark){:root{--ok-tc-accent:#5c9aff;--ok-tc-code:#ed5853;--ok-tc-0:#fff;--ok-tc-1:#ababab;--ok-tc-2:#929292;--ok-bg-0:#000;--ok-bg-1:#212121;--ok-bg-2:#3e3e3e;--ok-b-0:1px solid #747474;--ok-b-1:1px solid #929292;--ok-down-0:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='8' viewBox='0 0 12 8' width='24' fill='none'%3E%3Cpath d='M6 6l4-4h1v1-1L6 7 1 2h1l4 4z' fill='%23ababab'/%3E%3C/svg%3E");--ok-down-1:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='8' viewBox='0 0 12 8' width='24' fill='none'%3E%3Cpath d='M6 6l4-4h1v1-1L6 7 1 2h1l4 4z' fill='%23929292'/%3E%3C/svg%3E")}}*,:after,:before{box-sizing:border-box}*{margin:0;padding:0}html{font-family:var(--ok-sans);line-sizing:normal;line-height:var(--ok-lh-body);font-weight:var(--ok-fw-0);color:var(--ok-tc-0);background-color:var(--ok-bg-0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%;text-rendering:optimizeLegibility;scroll-behavior:smooth}@supports (font-variation-settings:normal){html{font-family:Inter var,var(--ok-sans)}}button,input,optgroup,select,textarea{font-family:inherit;line-height:var(--ok-lh-body)}[role=button],button{cursor:pointer}audio,canvas,embed,iframe,img,input,object,select,svg,textarea,video{display:block}img,video{max-width:100%;height:auto}body{padding:var(--ok-s-3);max-width:80ch;margin:auto}article{padding-bottom:var(--ok-s-6)}h1{font-size:var(--ok-fs-0);margin:0}h2{font-size:var(--ok-fs-1)}h3{font-size:var(--ok-fs-2)}h4{font-size:var(--ok-fs-3)}h5{font-size:var(--ok-fs-4)}h6{font-size:var(--ok-fs-5);text-transform:uppercase;font-weight:var(--ok-fw-1)}h1,h2,h3,h4,h5,h6{line-height:var(--ok-lh-heading);font-weight:var(--ok-fw-3);margin-top:var(--ok-s-6);margin-bottom:var(--ok-s-3)}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*,hr+*{margin-top:0}p{font-size:var(--ok-fs-4)}small{font-size:var(--ok-fs-5)}b,dt,strong{font-weight:var(--ok-fw-2)}address,article,aside,audio,blockquote,button,canvas,dd,details,dialog,div,dl,embed,fieldset,figcaption,figure,footer,form,header,hgroup,hr,iframe,img,input,main,nav,object,ol,p,pre,section,select,summary,svg,table,textarea,ul,video{margin-bottom:var(--ok-s-4)}address:last-child,article:last-child,aside:last-child,blockquote:last-child,dd:last-child,details:last-child,dialog:last-child,div:last-child,dl:last-child,dt:last-child,fieldset:last-child,figcaption:last-child,figure:last-child,footer:last-child,form:last-child,h1:last-child,h2:last-child,h3:last-child,h4:last-child,h5:last-child,h6:last-child,header:last-child,hgroup:last-child,hr:last-child,input[type=checkbox],input[type=radio],main:last-child,nav:last-child,ol:last-child,p:last-child,pre:last-child,section:last-child,table:last-child,ul:last-child{margin-bottom:0}fieldset{padding:var(--ok-s-3);border:var(--ok-b-0);border-radius:var(--ok-br)}legend{font-weight:var(--ok-fw-1);text-transform:uppercase;font-size:var(--ok-fs-5)}input,select{padding:var(--ok-s-2);background:var(--ok-bg-0);border:var(--ok-b-0);border-radius:var(--ok-br);color:var(--ok-tc-0);min-width:25ch}input:disabled,select:disabled,textarea:disabled{color:var(--ok-tc-2)}input::placeholder,textarea::placeholder{color:var(--ok-tc-2)}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:var(--ok-tc-2)}input::-moz-placeholder,textarea::-moz-placeholder{color:var(--ok-tc-2)}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--ok-tc-2)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--ok-tc-2)}input::-webkit-clear-button,input::-webkit-inner-spin-button,input::-webkit-search-cancel-button,input::-webkit-search-results-button{display:none}input::-ms-clear,input::-ms-reveal{display:none}input:disabled,textarea:disabled{background-color:var(--ok-bg-1)}input[type=search]{-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=file]{max-width:300px}input[type=number]{-moz-appearance:textfield}input[type=checkbox],input[type=radio]{display:inline;min-width:auto}input[type=color]{height:2.5rem}input[type=date],input[type=datetime-local],input[type=month],input[type=time],input[type=week]{height:2.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative}input[type=date]:before,input[type=datetime-local]:before,input[type=month]:before,input[type=time]:before,input[type=week]:before{position:absolute;right:0;top:0;background-image:var(--ok-down-0);background-repeat:no-repeat;background-position:right .2em top 50%;background-size:2em auto;width:2.5rem;height:calc(2.5rem - 2px);content:""}input[type=date]:disabled:before,input[type=datetime-local]:disabled:before,input[type=month]:disabled:before,input[type=time]:disabled:before,input[type=week]:disabled:before{background-image:var(--ok-down-1)}input::-webkit-calendar-picker-indicator{position:absolute;top:0;right:0;background-color:transparent;cursor:pointer;padding:0;width:2.5rem;height:calc(2.5rem - 2px);content:"";opacity:0}input[type=range]{overflow:visible;line-height:inherit;font-family:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;outline:none;cursor:pointer;padding:0;vertical-align:middle;border:none;min-height:2rem;background-color:transparent}input[type=range]::-webkit-slider-runnable-track{cursor:pointer;-webkit-appearance:none;border-radius:var(--ok-br);border:var(--ok-b-0);background-color:var(--ok-bg-1);background-image:linear-gradient(var(--ok-bg-1),var(--ok-bg-1));width:100%;height:.5rem;color:t (…)
    [all...]
  /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/external/gpl3/gdb.old/dist/gdb/
mingw-hdep.c 289 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;
  /src/external/gpl3/gdb.old/dist/gdb/tui/
tui-io.c 191 int bg; member in struct:color_pair
195 return fg < o.fg || (fg == o.fg && bg < o.bg);
272 get_color_pair (int fg, int bg)
274 color_pair c = { fg, bg };
285 init_pair (next, fg, bg);
307 const ui_file_style::color &bg = style.get_background (); local
308 if (!fg.is_none () || !bg.is_none ())
311 if (get_color (fg, &fgi) && get_color (bg, &bgi))
377 the terminal is fg=BLACK, and bg=WHITE, and the style want
394 ui_file_style::color bg = style.get_background (); local
    [all...]

Completed in 34 milliseconds

1 2 3 4 5 6 7