Home
last modified time | relevance | path

Searched refs:bg (Results 1 – 25 of 143) sorted by relevance

123456

/freebsd-14.2/contrib/ncurses/ncurses/base/
H A Dlib_dft_fgbg.c67 NCURSES_SP_NAME(assume_default_colors) (NCURSES_SP_DCLx int fg, int bg) in NCURSES_SP_NAME()
71 T((T_CALLED("assume_default_colors(%p,%d,%d)"), (void *) SP_PARM, fg, bg)); in NCURSES_SP_NAME()
74 code = CallDriver_2(SP_PARM, td_defaultcolors, fg, bg); in NCURSES_SP_NAME()
78 SP_PARM->_default_color = isDefaultColor(fg) || isDefaultColor(bg); in NCURSES_SP_NAME()
81 SP_PARM->_default_bg = isDefaultColor(bg) ? COLOR_DEFAULT : bg; in NCURSES_SP_NAME()
88 (short)bg); in NCURSES_SP_NAME()
100 assume_default_colors(int fg, int bg) in assume_default_colors() argument
102 return NCURSES_SP_NAME(assume_default_colors) (CURRENT_SCREEN, fg, bg); in assume_default_colors()
H A Dnew_pair.c139 ? (p->bg - q->bg) in compare_data()
144 _nc_find_color_pair(SCREEN *sp, int fg, int bg) in _nc_find_color_pair() argument
150 find.bg = bg; in _nc_find_color_pair()
207 (last->fg != next->fg || last->bg != next->bg)) { in _nc_reset_color_pair()
264 NCURSES_SP_NAME(alloc_pair) (NCURSES_SP_DCLx int fg, int bg) in NCURSES_SP_NAME()
268 T((T_CALLED("alloc_pair(%d,%d)"), fg, bg)); in NCURSES_SP_NAME()
271 } else if ((pair = _nc_find_color_pair(SP_PARM, fg, bg)) < 0) { in NCURSES_SP_NAME()
320 if (_nc_init_pair(SP_PARM, pair, fg, bg) == ERR) in NCURSES_SP_NAME()
327 NCURSES_SP_NAME(find_pair) (NCURSES_SP_DCLx int fg, int bg) in NCURSES_SP_NAME()
331 T((T_CALLED("find_pair(%d,%d)"), fg, bg)); in NCURSES_SP_NAME()
[all …]
H A Dlib_color.c938 int bg; in _nc_pair_content() local
946 if (isDefaultColor(bg)) in _nc_pair_content()
947 bg = -1; in _nc_pair_content()
953 *b = bg; in _nc_pair_content()
958 (int) fg, (int) bg)); in _nc_pair_content()
998 int bg = COLOR_DEFAULT; in NCURSES_SP_NAME()
1049 if (isDefaultColor(bg)) in NCURSES_SP_NAME()
1055 fg = bg; in NCURSES_SP_NAME()
1056 bg = xx; in NCURSES_SP_NAME()
1060 fg, bg)); in NCURSES_SP_NAME()
[all …]
/freebsd-14.2/sys/dev/syscons/
H A Dscterm-sc.c51 u_short bg; /* background color */ member
459 tcp->cur_color.bg = ansi_col[n - 40]; in scterm_scan_esc()
464 tcp->cur_color.bg = tcp->std_color.bg; in scterm_scan_esc()
497 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
511 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
616 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc()
631 tcp->rev_color.bg = tcp->param[0] & 0x0f; in scterm_scan_esc()
720 vi->mv_norm.back = tcp->std_color.bg; in scterm_ioctl()
722 vi->mv_rev.back = tcp->rev_color.bg; in scterm_ioctl()
744 tcp->dflt_std_color.bg = (color >> 4) & 0x0f; in scterm_default_attr()
[all …]
/freebsd-14.2/contrib/ncurses/ncurses/
H A Dnew_pair.h95 int bg; member
104 #define MakeColorPair(target,f,b) target.fg = f, target.bg = b
105 #define isSamePair(a,b) ((a).fg == (b).fg && (a).bg == (b).bg)
107 #define BACK_OF(c) (c).bg
/freebsd-14.2/contrib/expat/doc/
H A Dok.min.css2 …bg-0:#fff;--ok-bg-1:#f0f0f0;--ok-bg-2:#ccc;--ok-b-0:1px solid #cbcbcb;--ok-b-1:1px solid #848484;-…
/freebsd-14.2/contrib/libxo/tests/core/saved/
H A Dtest_10.H.out1 …bg-blue">green</div><div class="title color-fg-red color-bg-green">red</div><div class="title colo…
H A Dtest_10.HP.out3 <div class="title color-fg-green color-bg-blue">green</div>
4 <div class="title color-fg-red color-bg-green">red</div>
5 <div class="title color-fg-yellow color-bg-red">yellow</div>
6 <div class="title color-bg-yellow">default</div>
16 <div class="text effect-underline effect-inverse color-fg-inverse color-bg-inverse"> </div>
84 <div class="data effect-inverse color-fg-inverse color-bg-inverse" data-tag="in-stock">54</div>
116 <div class="data effect-inverse color-fg-inverse color-bg-inverse" data-tag="in-stock">4</div>
148 <div class="data effect-inverse color-fg-inverse color-bg-inverse" data-tag="in-stock">2</div>
235 <div class="label effect-bold color-fg-white color-bg-blue">Total sold</div>
236 <div class="text effect-bold color-fg-white color-bg-blue">: </div>
[all …]
/freebsd-14.2/share/examples/ppp/
H A Dppp.linkup.span-isp.working7 !bg ppp -background vpn1 vpn
10 !bg ppp -background vpn2 vpn
13 !bg ppp -background vpn3 vpn
H A Dppp.linkup.span-isp7 !bg ppp -background vpn1 vpn
10 !bg ppp -background vpn2 vpn
13 !bg ppp -background vpnN vpn
H A Dppp.linkdown.span-isp.working7 !bg pppctl /var/run/ppp/vpn link 1 close
10 !bg pppctl /var/run/ppp/vpn link 2 close
13 !bg pppctl /var/run/ppp/vpn link 3 close
H A Dppp.linkdown.span-isp7 !bg pppctl /var/run/ppp/vpn link 1 close
10 !bg pppctl /var/run/ppp/vpn link 2 close
13 !bg pppctl /var/run/ppp/vpn link N close
H A Dppp.linkup.sample24 !bg /usr/X11R6/bin/auplay /etc/ppp/linkup.au
37 # NOTE: It's vital that you use ``!bg'' rather than ``!'' if the program
45 !bg /etc/ppp/ppp.etherup.pmdemand
53 !bg sh -c "sleep 240; pppctl -p mypassword 3000 set timeout 60"
/freebsd-14.2/contrib/less/
H A Dscreen.c120 #define SET_BG_COLOR(bg) _setbkcolor(bg) argument
121 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); } argument
133 #define SET_BG_COLOR(bg) textbackground(bg) argument
134 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); } argument
170 #define MAKEATTR(fg,bg) ((WORD)((fg)|((bg)<<4))) argument
2499 int bg; in parse_color() local
2564 int bg; in tput_color() local
2577 if (bg >= 0) in tput_color()
2583 if (bg >= 0) in tput_color()
2629 int bg; in win_set_color() local
[all …]
H A Doutput.c100 static int fg, fgi, bg, bgi; in win_flush() local
122 if (fg == 0 && bg == 0) in win_flush()
126 bg = nm_bg_color & 7; in win_flush()
157 bg = nm_bg_color & 7; in win_flush()
207 bg = nm_bg_color & 7; in win_flush()
272 bg = screen_color[code - 40]; in win_flush()
276 bg = nm_bg_color & 7; in win_flush()
295 f = bg | bgi; in win_flush()
300 b = bg | bgi; in win_flush()
/freebsd-14.2/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c137 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) in ofwfb_bitblt_bitmap() argument
163 bgc = sc->fb_cmap[bg]; in ofwfb_bitblt_bitmap()
168 bg = ofw_colors[bg]; in ofwfb_bitblt_bitmap()
186 ch1.l = ch2.l = (bg << 24) | (bg << 16) | in ofwfb_bitblt_bitmap()
187 (bg << 8) | bg; in ofwfb_bitblt_bitmap()
232 b & 0x80 ? fg : bg; in ofwfb_bitblt_bitmap()
265 term_color_t fg, bg; in ofwfb_bitblt_text() local
281 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg); in ofwfb_bitblt_text()
285 x, y, fg, bg); in ofwfb_bitblt_text()
/freebsd-14.2/sys/dev/vt/hw/fb/
H A Dvt_fb.c283 bgc = info->fb_cmap[bg]; in vt_fb_bitblt_bitmap()
390 term_color_t fg, bg; in vt_fb_bitblt_text() local
407 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg); in vt_fb_bitblt_text()
415 vd->vd_drawnbg && (vd->vd_drawnbg[z] == bg)) in vt_fb_bitblt_text()
420 x, y, fg, bg); in vt_fb_bitblt_text()
427 vd->vd_drawnbg[z] = bg; in vt_fb_bitblt_text()
515 int bg, err; in vt_fb_init() local
541 if (TUNABLE_INT_FETCH("teken.bg_color", &bg) != 0) { in vt_fb_init()
542 if (bg == TC_WHITE) in vt_fb_init()
543 bg |= TC_LIGHT; in vt_fb_init()
[all …]
/freebsd-14.2/contrib/googletest/docs/_sass/
H A Dmain.scss108 background-color: $bg-gray;
135 background-color: $bg-yellow-light;
136 border-color: $bg-yellow;
141 background-color: $bg-blue-light;
160 background-color: $bg-green-light;
/freebsd-14.2/sys/powerpc/ofw/
H A Dofw_syscons.c812 u_char *p, fg, bg; in ofwfb_putc8() local
827 bg = ofwfb_background(a); in ofwfb_putc8()
836 ch1.l = ch2.l = (bg << 24) | (bg << 16) | (bg << 8) | bg; in ofwfb_putc8()
867 uint32_t *addr, fg, bg; in ofwfb_putc32() local
879 bg = ofwfb_pix32(sc, ofwfb_background(a)); in ofwfb_putc32()
884 *(addr + j) = bg; in ofwfb_putc32()
934 u_char fg, bg; in ofwfb_putm8() local
942 bg = ofwfb_background(SC_NORM_ATTR); in ofwfb_putm8()
954 addr[j] = (addr[j] == fg) ? bg : fg; in ofwfb_putm8()
969 uint32_t fg, bg; in ofwfb_putm32() local
[all …]
/freebsd-14.2/sys/kern/
H A Dsubr_terminal.c168 int fg, bg; in terminal_init() local
175 fg = bg = -1; in terminal_init()
177 TUNABLE_INT_FETCH("teken.bg_color", &bg); in terminal_init()
183 if (bg != -1) { in terminal_init()
184 default_message.ta_bgcolor = bg; in terminal_init()
185 kernel_message.ta_bgcolor = bg; in terminal_init()
448 int fg, bg; in termtty_ioctl() local
462 teken_get_defattr_cons25(&tm->tm_emulator, &fg, &bg); in termtty_ioctl()
464 vi->mv_norm.back = bg; in termtty_ioctl()
466 vi->mv_rev.fore = bg; in termtty_ioctl()
/freebsd-14.2/sys/dev/vt/hw/vga/
H A Dvt_vga.c505 term_color_t fg, term_color_t bg, in vga_bitblt_pixels_block_2colors() argument
521 vga_setbg(vd, bg); in vga_bitblt_pixels_block_2colors()
621 term_color_t fg, bg; in vga_bitblt_one_text_pixels_block() local
672 used_colors_list[bg] |= 0x2; in vga_bitblt_one_text_pixels_block()
707 0, 0, vf->vf_height, fg, bg, 0); in vga_bitblt_one_text_pixels_block()
872 term_color_t fg, bg; in vga_bitblt_text_txtmode() local
889 &fg, &bg); in vga_bitblt_text_txtmode()
909 cons_to_vga_colors[bg] << 4 | in vga_bitblt_text_txtmode()
920 vd->vd_drawnbg[z] = bg; in vga_bitblt_text_txtmode()
991 j - y1, 0, 1, fg, bg, 0); in vga_bitblt_bitmap()
[all …]
/freebsd-14.2/contrib/tcsh/
H A Dtw.color.c252 makecolor(char **c, int fg, int bg, Str *v) in makecolor() argument
257 fg & ~TCSH_BOLD, (10 + bg) & ~TCSH_BOLD, ANSI_BOLD_OFF); in makecolor()
260 fg & ~TCSH_BOLD, (10 + bg) & ~TCSH_BOLD); in makecolor()
300 int fg, bg; in parseLSCOLORS() local
306 bg = color(*v++); in parseLSCOLORS()
307 if (bg == -1) in parseLSCOLORS()
309 makecolor(&c, fg, bg, &variables[map[i]].color); in parseLSCOLORS()
/freebsd-14.2/contrib/dialog/
H A Drc.c274 result->bg = -1; in str_to_attr()
323 || UNKNOWN_COLOR == (result->bg = from_color_name(tokens[1])) in str_to_attr()
488 && dlg_color_table[i].bg == dlg_color_table[j].bg in dlg_create_rc()
501 fprintf(rc_file, ",%s", to_color_name(dlg_color_table[i].bg)); in dlg_create_rc()
642 dlg_color_table[i].bg = temp.bg; in dlg_parse_rc()
/freebsd-14.2/contrib/ncurses/ncurses/tinfo/
H A Dtinfo_driver.c333 sp->_default_bg = isDefaultColor(bg) ? COLOR_DEFAULT : bg; in drv_defaultcolors()
340 (short)bg); in drv_defaultcolors()
832 int bg = COLOR_DEFAULT; in drv_do_color() local
848 _nc_pair_content(SP_PARM, pair, &fg, &bg); in drv_do_color()
884 if (isDefaultColor(bg)) in drv_do_color()
885 bg = default_bg(sp); in drv_do_color()
890 fg = bg; in drv_do_color()
891 bg = xx; in drv_do_color()
895 fg, bg)); in drv_do_color()
900 if (!isDefaultColor(bg)) { in drv_do_color()
[all …]
/freebsd-14.2/contrib/dialog/po/
H A Dbg.po4 # Ognyan Kulev <[email protected].bg>, 2004.
13 "Last-Translator: Ognyan Kulev <[email protected].bg>\n"
15 "Language: bg\n"

123456