| /NextBSD/contrib/ncurses/ncurses/base/ |
| HD | lib_dft_fgbg.c | 66 NCURSES_SP_NAME(assume_default_colors) (NCURSES_SP_DCLx int fg, int bg) in NCURSES_SP_NAME() 70 T((T_CALLED("assume_default_colors(%p,%d,%d)"), (void *) SP_PARM, fg, bg)); in NCURSES_SP_NAME() 73 code = CallDriver_2(sp, defaultcolors, fg, bg); in NCURSES_SP_NAME() 77 SP_PARM->_default_color = isDefaultColor(fg) || isDefaultColor(bg); in NCURSES_SP_NAME() 80 SP_PARM->_default_bg = isDefaultColor(bg) ? COLOR_DEFAULT : (bg & C_MASK); in NCURSES_SP_NAME() 85 init_pair(0, (short) fg, (short) bg); in NCURSES_SP_NAME() 96 assume_default_colors(int fg, int bg) in assume_default_colors() argument 98 return NCURSES_SP_NAME(assume_default_colors) (CURRENT_SCREEN, fg, bg); in assume_default_colors()
|
| HD | lib_color.c | 188 set_background_color(NCURSES_SP_DCLx int bg, NCURSES_SP_OUTC outc) in set_background_color() argument 191 CallDriver_3(SP_PARM, color, FALSE, bg, outc); in set_background_color() 196 TPARM_1(set_a_background, bg), in set_background_color() 201 TPARM_1(set_background, toggled_colors(bg)), in set_background_color() 775 NCURSES_COLOR_T bg = (NCURSES_COLOR_T) BACK_OF(SP_PARM->_color_pairs[pair]); in NCURSES_SP_NAME() local 780 if (bg == COLOR_DEFAULT) in NCURSES_SP_NAME() 781 bg = -1; in NCURSES_SP_NAME() 787 *b = bg; in NCURSES_SP_NAME() 792 (int) fg, (int) bg)); in NCURSES_SP_NAME() 817 NCURSES_COLOR_T bg = COLOR_DEFAULT; in NCURSES_SP_NAME() [all …]
|
| /NextBSD/contrib/less/ |
| HD | output.c | 129 unsigned char fg, bg; in flush() local 187 bg = nm_bg_color; in flush() 222 bg = nm_bg_color; in flush() 240 fg = (bg & 7) | 8; in flush() 263 bg = (bg & 8) | (screen_color[code - 40]); in flush() 266 bg = nm_bg_color; in flush() 283 bg |= BACKGROUND_INTENSITY; in flush() 286 bg = bo_bg_color; in flush() 293 bg = so_bg_color; in flush() 297 bg = ul_bg_color; in flush() [all …]
|
| /NextBSD/contrib/dialog/ |
| HD | rc.c | 184 attr_to_str(char *str, int fg, int bg, int hl) in attr_to_str() argument 195 for (i = 0; bg != color_names[i].value; i++) ; in attr_to_str() 212 str_to_attr(char *str, int *fg, int *bg, int *hl) in str_to_attr() argument 222 *bg = dlg_color_table[i].bg; in str_to_attr() 272 *bg = color_names[j].value; in str_to_attr() 448 && dlg_color_table[i].bg == dlg_color_table[j].bg in dlg_create_rc() 462 dlg_color_table[i].bg, in dlg_create_rc() 589 int bg = 0; in dlg_parse_rc() local 591 if (str_to_attr(value, &fg, &bg, &hl) == -1) { in dlg_parse_rc() 598 dlg_color_table[i].bg = bg; in dlg_parse_rc()
|
| /NextBSD/sys/dev/vt/hw/ofwfb/ |
| HD | ofwfb.c | 116 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) in ofwfb_bitblt_bitmap() argument 141 bgc = sc->fb_cmap[bg]; in ofwfb_bitblt_bitmap() 146 bg = ofw_colors[bg]; in ofwfb_bitblt_bitmap() 164 ch1.l = ch2.l = (bg << 24) | (bg << 16) | in ofwfb_bitblt_bitmap() 165 (bg << 8) | bg; in ofwfb_bitblt_bitmap() 210 b & 0x80 ? fg : bg; in ofwfb_bitblt_bitmap() 233 term_color_t fg, bg; in ofwfb_bitblt_text() local 249 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg); in ofwfb_bitblt_text() 253 x, y, fg, bg); in ofwfb_bitblt_text()
|
| /NextBSD/sys/pc98/cbus/ |
| HD | scterm-sck.c | 53 u_short bg; /* background color */ member 329 tcp->dflt_std_color.bg = (SC_NORM_ATTR >> 4) & 0x0f; in scterm_init() 331 tcp->dflt_rev_color.bg = (SC_NORM_REV_ATTR >> 4) & 0x0f; in scterm_init() 700 tcp->cur_color.bg = ansi_col[n - 40]; in scterm_scan_esc() 705 tcp->cur_color.bg = tcp->std_color.bg; in scterm_scan_esc() 738 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc() 752 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc() 757 tcp->rev_color.bg = ansi_col[tcp->param[1] & 0x0f]; in scterm_scan_esc() 766 tcp->rev_color.bg = (tcp->param[1] >> 4) & 0x0f; in scterm_scan_esc() 858 tcp->cur_color.bg = tcp->std_color.bg in scterm_scan_esc() [all …]
|
| /NextBSD/contrib/libxo/tests/core/saved/ |
| HD | test_10.HP.out | 3 <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> 13 …<div class="data effect-bold effect-underline effect-inverse color-fg-inverse color-bg-inverse" da… 14 …<div class="text effect-bold effect-underline effect-inverse color-fg-inverse color-bg-inverse"> <… 15 …<div class="data effect-underline effect-inverse color-fg-inverse color-bg-inverse" data-tag="data… 16 <div class="text effect-underline effect-inverse color-fg-inverse color-bg-inverse"> </div> 25 …<div class="title effect-underline effect-inverse color-fg-inverse color-bg-inverse"> On Order<… 38 …<div class="data effect-inverse color-fg-inverse color-bg-inverse" data-tag="in-stock"> … [all …]
|
| HD | test_10.H.out | 1 …bg-blue">green</div><div class="title color-fg-red color-bg-green">red</div><div class="title colo…
|
| HD | test_10.HIPx.out | 3 <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> 13 …<div class="data effect-bold effect-underline effect-inverse color-fg-inverse color-bg-inverse" da… 14 …<div class="text effect-bold effect-underline effect-inverse color-fg-inverse color-bg-inverse"> <… 15 …<div class="data effect-underline effect-inverse color-fg-inverse color-bg-inverse" data-tag="data… 16 <div class="text effect-underline effect-inverse color-fg-inverse color-bg-inverse"> </div> 25 …<div class="title effect-underline effect-inverse color-fg-inverse color-bg-inverse"> On Order<… 38 …<div class="data effect-inverse color-fg-inverse color-bg-inverse" data-tag="in-stock" data-xpath=… [all …]
|
| /NextBSD/sys/dev/syscons/ |
| HD | scterm-teken.c | 326 teken_color_t fg, bg; in scteken_revattr() local 346 for (bg = 0; bg < TC_NCOLORS; bg++) { in scteken_revattr() 347 if ((fgcolors_normal[fg] | bgcolors[bg]) == color) { in scteken_revattr() 349 a->ta_bgcolor = bg; in scteken_revattr() 353 if ((fgcolors_bold[fg] | bgcolors[bg]) == color) { in scteken_revattr() 355 a->ta_bgcolor = bg; in scteken_revattr() 367 teken_color_t fg, bg; in scteken_attr() local 371 bg = teken_256to8(a->ta_fgcolor); in scteken_attr() 374 bg = teken_256to8(a->ta_bgcolor); in scteken_attr() 380 attr |= bgcolors[bg]; in scteken_attr()
|
| /NextBSD/share/examples/ppp/ |
| HD | ppp.linkup.span-isp | 8 !bg ppp -background vpn1 vpn 11 !bg ppp -background vpn2 vpn 14 !bg ppp -background vpnN vpn
|
| HD | ppp.linkup.span-isp.working | 8 !bg ppp -background vpn1 vpn 11 !bg ppp -background vpn2 vpn 14 !bg ppp -background vpn3 vpn
|
| HD | ppp.linkdown.span-isp.working | 8 !bg pppctl /var/run/ppp/vpn link 1 close 11 !bg pppctl /var/run/ppp/vpn link 2 close 14 !bg pppctl /var/run/ppp/vpn link 3 close
|
| HD | ppp.linkdown.span-isp | 8 !bg pppctl /var/run/ppp/vpn link 1 close 11 !bg pppctl /var/run/ppp/vpn link 2 close 14 !bg pppctl /var/run/ppp/vpn link N close
|
| HD | ppp.linkup.sample | 25 !bg /usr/X11R6/bin/auplay /etc/ppp/linkup.au 38 # NOTE: It's vital that you use ``!bg'' rather than ``!'' if the program 46 !bg /etc/ppp/ppp.etherup.pmdemand 54 !bg sh -c "sleep 240; pppctl -p mypassword 3000 set timeout 60"
|
| /NextBSD/sys/powerpc/ofw/ |
| HD | ofw_syscons.c | 811 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 …]
|
| /NextBSD/contrib/ncurses/ncurses/tinfo/ |
| HD | tinfo_driver.c | 237 drv_defaultcolors(TERMINAL_CONTROL_BLOCK * TCB, int fg, int bg) in drv_defaultcolors() argument 247 sp->_default_color = isDefaultColor(fg) || isDefaultColor(bg); in drv_defaultcolors() 252 sp->_default_bg = isDefaultColor(bg) ? COLOR_DEFAULT : (bg & C_MASK); in drv_defaultcolors() 259 (short)bg); in drv_defaultcolors() 742 NCURSES_COLOR_T bg = COLOR_DEFAULT; in drv_do_color() local 761 &bg); in drv_do_color() 772 || (isDefaultColor(bg) && !isDefaultColor(old_bg))) { in drv_do_color() 800 if (isDefaultColor(bg)) in drv_do_color() 801 bg = (NCURSES_COLOR_T) default_bg(sp); in drv_do_color() 806 fg = bg; in drv_do_color() [all …]
|
| /NextBSD/sys/dev/vt/hw/vga/ |
| HD | vt_vga.c | 425 term_color_t fg, term_color_t bg, int overwrite) in vga_copy_bitmap_portion() argument 485 pattern_ncolors[(dst_y + i) * 16 + bg] |= (~pattern & mask); in vga_copy_bitmap_portion() 491 term_color_t fg, term_color_t bg, in vga_bitblt_pixels_block_2colors() argument 507 vga_setbg(vd, bg); in vga_bitblt_pixels_block_2colors() 606 term_color_t fg, bg; in vga_bitblt_one_text_pixels_block() local 651 vt_determine_colors(c, VTBUF_ISCURSOR(vb, row, col), &fg, &bg); in vga_bitblt_one_text_pixels_block() 654 if ((used_colors_list[bg] & 0x2) != 0x2) in vga_bitblt_one_text_pixels_block() 657 used_colors_list[bg] |= 0x2; in vga_bitblt_one_text_pixels_block() 692 0, 0, vf->vf_height, fg, bg, 0); in vga_bitblt_one_text_pixels_block() 760 vga_bitblt_pixels_block_2colors(vd, pattern_2colors, fg, bg, in vga_bitblt_one_text_pixels_block() [all …]
|
| /NextBSD/sys/boot/powerpc/ps3/ |
| HD | ps3cons.c | 113 uint32_t fg, bg; in ps3cons_putchar() local 119 bg = BG_COLOR; in ps3cons_putchar() 149 *(addr + j) = bg; in ps3cons_putchar()
|
| /NextBSD/sys/dev/fb/ |
| HD | creator_vt.c | 184 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) in creatorfb_bitblt_bitmap() argument 193 bgc = sc->fb.fb_cmap[bg]; in creatorfb_bitblt_bitmap() 230 term_color_t fg, bg; in creatorfb_bitblt_text() local 246 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg); in creatorfb_bitblt_text() 250 x, y, fg, bg); in creatorfb_bitblt_text()
|
| /NextBSD/contrib/dialog/po/ |
| HD | bg.po | 4 # Ognyan Kulev <ogi@fmi.uni-sofia.bg>, 2004. 13 "Last-Translator: Ognyan Kulev <ogi@fmi.uni-sofia.bg>\n" 15 "Language: bg\n"
|
| /NextBSD/usr.bin/locate/code/ |
| HD | locate.code.c | 259 bgindex(char *bg) /* Return location of bg in bigrams or -1. */ in bgindex() argument 263 bg0 = bg[0]; in bgindex() 264 bg1 = bg[1]; in bgindex()
|
| /NextBSD/contrib/llvm/include/llvm/Support/ |
| HD | Process.h | 170 static const char *OutputColor(char c, bool bold, bool bg); 173 static const char *OutputBold(bool bg);
|
| /NextBSD/tools/tools/vt/keymaps/ |
| HD | LANG.map | 2 bg bg ISO8859-5
|
| /NextBSD/crypto/openssl/crypto/pkcs12/ |
| HD | pkcs12.h | 160 # define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type) argument 161 # define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type) argument
|