/freebsd-11-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_dft_fgbg.c | 66 NCURSES_SP_NAME(assume_default_colors) (NCURSES_SP_DCLx int fg, int bg) argument 70 T((T_CALLED("assume_default_colors(%p,%d,%d)"), (void *) SP_PARM, fg, bg)); 73 code = CallDriver_2(sp, defaultcolors, fg, bg); 77 SP_PARM->_default_color = isDefaultColor(fg) || isDefaultColor(bg); 80 SP_PARM->_default_bg = isDefaultColor(bg) ? COLOR_DEFAULT : (bg & C_MASK); 85 init_pair(0, (short) fg, (short) bg); 96 assume_default_colors(int fg, int bg) argument 98 return NCURSES_SP_NAME(assume_default_colors) (CURRENT_SCREEN, fg, bg);
|
H A D | lib_color.c | 188 set_background_color(NCURSES_SP_DCLx int bg, NCURSES_SP_OUTC outc) argument 191 CallDriver_3(SP_PARM, color, FALSE, bg, outc); 196 TPARM_1(set_a_background, bg), 201 TPARM_1(set_background, toggled_colors(bg)), 556 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)", 775 NCURSES_COLOR_T bg = (NCURSES_COLOR_T) BACK_OF(SP_PARM->_color_pairs[pair]); local 780 if (bg == COLOR_DEFAULT) 781 bg = -1; 787 *b = bg; 792 (int) fg, (int) bg)); [all...] |
H A D | lib_set_term.c | 423 int fg, bg; local 425 int count = sscanf(env, "%d%c%d%c", &fg, &sep1, &bg, &sep2); 429 sp->_default_bg = ((bg >= 0 && bg < MaxColors) ? bg : C_MASK); 432 ("from environment assumed fg=%d, bg=%d", 451 TR(TRACE_CHARPUT | TRACE_MOVE, ("decoded fg=%d, bg=%d",
|
/freebsd-11-stable/sys/teken/ |
H A D | teken_subr_compat.h | 58 teken_get_defattr_cons25(teken_t *t, int *fg, int *bg) argument 64 *bg = cons25_revcolors[teken_256to8(t->t_defattr.ta_bgcolor)];
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Process.h | 189 static const char *OutputColor(char c, bool bold, bool bg); 192 static const char *OutputBold(bool bg);
|
/freebsd-11-stable/contrib/less/ |
H A D | output.c | 101 static int fg, fgi, bg, bgi; local 123 if (fg == 0 && bg == 0) 127 bg = nm_bg_color & 7; 158 bg = nm_bg_color & 7; 208 bg = nm_bg_color & 7; 273 bg = screen_color[code - 40]; 276 case 49: /* default bg */ 277 bg = nm_bg_color & 7; 296 f = bg | bgi; 301 b = bg | bg [all...] |
H A D | screen.c | 112 #define SET_BG_COLOR(bg) _setbkcolor(bg) 113 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); } 125 #define SET_BG_COLOR(bg) textbackground(bg) 126 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); } 158 #define MAKEATTR(fg,bg) ((WORD)((fg)|((bg)<< 2469 int bg; local 2543 int bg; local 2622 int bg; local [all...] |
H A D | optfunc.c | 551 int fg, bg; local 567 if (parse_color(s, &fg, &bg) == CT_NULL) 576 if (bg == CV_NOCHANGE) 577 bg = nm_bg_color; 582 *bg_color = bg;
|
/freebsd-11-stable/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 116 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) 141 bgc = sc->fb_cmap[bg]; 146 bg = ofw_colors[bg]; 164 ch1.l = ch2.l = (bg << 24) | (bg << 16) | 165 (bg << 8) | bg; 210 b & 0x80 ? fg : bg; 233 term_color_t fg, bg; local 113 ofwfb_bitblt_bitmap(struct vt_device *vd, const struct vt_window *vw, const uint8_t *pattern, const uint8_t *mask, unsigned int width, unsigned int height, unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) argument [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | scterm-sck.c | 54 u_short bg; /* background color */ member in struct:__anon8381 330 tcp->dflt_std_color.bg = (SC_NORM_ATTR >> 4) & 0x0f; 332 tcp->dflt_rev_color.bg = (SC_NORM_REV_ATTR >> 4) & 0x0f; 697 case 40: case 41: /* set ansi bg color */ 701 tcp->cur_color.bg = ansi_col[n - 40]; 704 case 49: /* restore bg color back to normal */ 706 tcp->cur_color.bg = tcp->std_color.bg; 739 tcp->cur_color.bg = tcp->std_color.bg [all...] |
/freebsd-11-stable/usr.bin/locate/code/ |
H A D | locate.code.c | 259 bgindex(char *bg) /* Return location of bg in bigrams or -1. */ argument 263 bg0 = bg[0]; 264 bg1 = bg[1];
|
/freebsd-11-stable/lib/libdpv/ |
H A D | status.c | 54 dlg_color_table[SCREEN_ATTR].bg) | A_BOLD; 90 /* Print text in screen bg, button active fg, and bold */
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | tw.color.c | 138 ANSI_BG_BLACK = 40, /* bg black */ 139 ANSI_BG_RED = 41, /* bg red */ 140 ANSI_BG_GREEN = 42, /* bg green */ 141 ANSI_BG_YELLOW = 43, /* bg yellow */ 142 ANSI_BG_BLUE = 44, /* bg blue */ 143 ANSI_BG_MAGENTA = 45, /* bg magenta */ 144 ANSI_BG_CYAN = 46, /* bg cyan */ 145 ANSI_BG_WHITE = 47, /* bg white */ 146 ANSI_BG_DEFAULT = 49, /* bg default (black) */ 252 makecolor(char **c, int fg, int bg, St argument 298 int fg, bg; local [all...] |
/freebsd-11-stable/sys/dev/fb/ |
H A D | creator_vt.c | 184 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) 193 bgc = sc->fb.fb_cmap[bg]; 230 term_color_t fg, bg; local 246 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg); 250 x, y, fg, bg); 181 creatorfb_bitblt_bitmap(struct vt_device *vd, const struct vt_window *vw, const uint8_t *pattern, const uint8_t *mask, unsigned int width, unsigned int height, unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) argument
|
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | tinfo_driver.c | 237 drv_defaultcolors(TERMINAL_CONTROL_BLOCK * TCB, int fg, int bg) argument 247 sp->_default_color = isDefaultColor(fg) || isDefaultColor(bg); 252 sp->_default_bg = isDefaultColor(bg) ? COLOR_DEFAULT : (bg & C_MASK); 259 (short)bg); 687 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)", 742 NCURSES_COLOR_T bg = COLOR_DEFAULT; local 761 &bg); 772 || (isDefaultColor(bg) && !isDefaultColor(old_bg))) { 800 if (isDefaultColor(bg)) [all...] |
/freebsd-11-stable/sys/powerpc/ofw/ |
H A D | ofw_syscons.c | 811 u_char *p, fg, bg; local 827 bg = ofwfb_background(a); 836 ch1.l = ch2.l = (bg << 24) | (bg << 16) | (bg << 8) | bg; 867 uint32_t *addr, fg, bg; local 879 bg = ofwfb_pix32(sc, ofwfb_background(a)); 884 *(addr + j) = bg; 934 u_char fg, bg; local 969 uint32_t fg, bg; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/pkcs12/ |
H A D | pkcs12.h | 160 # define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type) 161 # define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
|
/freebsd-11-stable/contrib/ncurses/ncurses/trace/ |
H A D | lib_traceatr.c | 154 NCURSES_COLOR_T fg, bg; local 156 if (pair_content(pairnum, &fg, &bg) == OK) { 161 COLOR_OF(bg));
|
/freebsd-11-stable/sys/dev/vt/hw/fb/ |
H A D | vt_fb.c | 260 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) 270 bgc = info->fb_cmap[bg]; 331 term_color_t fg, bg; local 347 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg); 351 x, y, fg, bg); 257 vt_fb_bitblt_bitmap(struct vt_device *vd, const struct vt_window *vw, const uint8_t *pattern, const uint8_t *mask, unsigned int width, unsigned int height, unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) argument
|
/freebsd-11-stable/sys/dev/vt/hw/vga/ |
H A D | vt_vga.c | 350 /* The bg color was trashed by the reads. */ 433 term_color_t fg, term_color_t bg, int overwrite) 493 pattern_ncolors[(dst_y + i) * 16 + bg] |= (~pattern & mask); 499 term_color_t fg, term_color_t bg, 515 vga_setbg(vd, bg); 614 term_color_t fg, bg; local 659 vt_determine_colors(c, VTBUF_ISCURSOR(vb, row, col), &fg, &bg); 662 if ((used_colors_list[bg] & 0x2) != 0x2) 665 used_colors_list[bg] |= 0x2; 700 0, 0, vf->vf_height, fg, bg, 429 vga_copy_bitmap_portion(uint8_t *pattern_2colors, uint8_t *pattern_ncolors, const uint8_t *src, const uint8_t *src_mask, unsigned int src_width, unsigned int src_x, unsigned int dst_x, unsigned int x_count, unsigned int src_y, unsigned int dst_y, unsigned int y_count, term_color_t fg, term_color_t bg, int overwrite) argument 498 vga_bitblt_pixels_block_2colors(struct vt_device *vd, const uint8_t *masks, term_color_t fg, term_color_t bg, unsigned int x, unsigned int y, unsigned int height) argument 865 term_color_t fg, bg; local 914 vga_bitblt_bitmap(struct vt_device *vd, const struct vt_window *vw, const uint8_t *pattern, const uint8_t *mask, unsigned int width, unsigned int height, unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) argument [all...] |
/freebsd-11-stable/sys/dev/syscons/ |
H A D | scterm-teken.c | 346 teken_color_t fg, bg; local 350 bg = a->ta_fgcolor; 353 bg = a->ta_bgcolor; 357 if (bg >= 16) 358 bg = teken_256to16(bg); 360 ((te_to_sc_color[bg & 7] | (bg & 8)) << 4);
|
/freebsd-11-stable/tools/tools/net80211/wlanwds/ |
H A D | wlanwds.c | 109 int s, c, logmask, bg = 1; local 116 bg = 0; 155 if (bg && daemon(0, 0) < 0)
|
/freebsd-11-stable/stand/pc98/libpc98/ |
H A D | vidconsole.c | 62 void write_char(int c, int fg, int bg); 63 void scroll_up(int rows, int fg, int bg); 193 *(crtat + 0x1000) = at2pc98(fg, bg); 320 * clear the window. fg and bg are attributes for the new lines
|
/freebsd-11-stable/release/picobsd/tinyware/oinit/ |
H A D | oinit.c | 421 int bg=0; local 426 bg++; 429 } else bg=0; 469 if(bg) { 471 printf("do_command(%s): failed to run bg: %s\n",
|
/freebsd-11-stable/sys/kern/ |
H A D | subr_terminal.c | 141 /* Fudge bg brightness as TF_BLINK (shifted). */ 421 int fg, bg; local 435 teken_get_defattr_cons25(&tm->tm_emulator, &fg, &bg); 437 vi->mv_norm.back = bg; 439 vi->mv_rev.fore = bg;
|