/freebsd-9.3-release/contrib/ncurses/ncurses/base/ |
H A D | lib_dft_fgbg.c | 54 assume_default_colors(int fg, int bg) argument 56 T((T_CALLED("assume_default_colors(%d,%d)"), fg, bg)); 64 SP->_default_color = isDefaultColor(fg) || isDefaultColor(bg); 67 SP->_default_bg = isDefaultColor(bg) ? COLOR_DEFAULT : (bg & C_MASK); 71 init_pair(0, (short) fg, (short) bg);
|
H A D | lib_color.c | 150 set_background_color(int bg, int (*outc) (int)) argument 154 tputs(TPARM_1(set_a_background, bg), 1, outc); 157 tputs(TPARM_1(set_background, toggled_colors(bg)), 1, outc); 392 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)", 503 NCURSES_COLOR_T bg = (SP->_color_pairs[pair] & C_MASK); local 508 if (bg == COLOR_DEFAULT) 509 bg = -1; 515 *b = bg; 517 TR(TRACE_ATTRS, ("...pair_content(%d,%d,%d)", pair, fg, bg)); 527 NCURSES_COLOR_T bg local [all...] |
H A D | lib_set_term.c | 363 int fg, bg; local 365 int count = sscanf(env, "%d%c%d%c", &fg, &sep1, &bg, &sep2); 369 SP->_default_bg = (bg >= 0 && bg < max_colors) ? bg : C_MASK; 372 ("from environment assumed fg=%d, bg=%d", 391 TR(TRACE_CHARPUT | TRACE_MOVE, ("decoded fg=%d, bg=%d",
|
/freebsd-9.3-release/contrib/less/ |
H A D | output.c | 129 unsigned char fg, bg; 187 bg = nm_bg_color; 222 bg = nm_bg_color; 240 fg = (bg & 7) | 8; 263 bg = (bg & 8) | (screen_color[code - 40]); 266 bg = nm_bg_color; 283 bg |= BACKGROUND_INTENSITY; 286 bg = bo_bg_color; 293 bg [all...] |
H A D | optfunc.c | 526 int fg, bg; local 536 bg = nm_bg_color; 540 bg = getnum(&s, "D", &err); 543 error("Missing bg color in -D", NULL_PARG); 550 *bg_color = bg;
|
/freebsd-9.3-release/sys/boot/powerpc/ps3/ |
H A D | ps3cons.c | 113 uint32_t fg, bg; local 119 bg = BG_COLOR; 149 *(addr + j) = bg;
|
/freebsd-9.3-release/gnu/lib/libodialog/ |
H A D | rc.c | 27 static unsigned char *attr_to_str(int fg, int bg, int hl); 28 static int str_to_attr(unsigned char *str, int *fg, int *bg, int *hl); 88 int i, l = 1, parse, fg, bg, hl; local 174 if (str_to_attr(value, &fg, &bg, &hl) == -1) { 179 ((int *) vars[i].var)[1] = bg; 205 static unsigned char *attr_to_str(int fg, int bg, int hl) argument 217 for (i = 0; bg != color_names[i].value; i++); 234 static int str_to_attr(unsigned char *str, int *fg, int *bg, int *hl) argument 250 /* skip white space before fg/bg string */ 254 part = tempstr + i; /* set 'part' to start of fg/bg strin [all...] |
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | Process.h | 246 static const char *OutputColor(char c, bool bold, bool bg); 249 static const char *OutputBold(bool bg);
|
/freebsd-9.3-release/sys/teken/ |
H A D | teken_subr_compat.h | 65 teken_get_defattr_cons25(teken_t *t, int *fg, int *bg) argument 71 *bg = cons25_revcolors[teken_256to8(t->t_defattr.ta_bgcolor)];
|
/freebsd-9.3-release/sys/pc98/cbus/ |
H A D | scterm-sck.c | 53 u_short bg; /* background color */ member in struct:__anon10262 329 tcp->dflt_std_color.bg = (SC_NORM_ATTR >> 4) & 0x0f; 331 tcp->dflt_rev_color.bg = (SC_NORM_REV_ATTR >> 4) & 0x0f; 696 case 40: case 41: /* set ansi bg color */ 700 tcp->cur_color.bg = ansi_col[n - 40]; 703 case 49: /* restore bg color back to normal */ 705 tcp->cur_color.bg = tcp->std_color.bg; 738 tcp->cur_color.bg = tcp->std_color.bg [all...] |
/freebsd-9.3-release/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-9.3-release/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-9.3-release/contrib/ncurses/ncurses/trace/ |
H A D | lib_traceatr.c | 140 short fg, bg; local 142 if (pair_content(pairnum, &fg, &bg) == OK) { 147 COLOR_OF(bg));
|
/freebsd-9.3-release/sys/dev/syscons/ |
H A D | scterm-teken.c | 325 teken_color_t fg, bg; local 345 for (bg = 0; bg < TC_NCOLORS; bg++) { 346 if ((fgcolors_normal[fg] | bgcolors[bg]) == color) { 348 a->ta_bgcolor = bg; 352 if ((fgcolors_bold[fg] | bgcolors[bg]) == color) { 354 a->ta_bgcolor = bg; 366 teken_color_t fg, bg; local 370 bg [all...] |
/freebsd-9.3-release/sys/powerpc/ofw/ |
H A D | ofw_syscons.c | 762 u_char *p, fg, bg; local 778 bg = ofwfb_background(a); 787 ch1.l = ch2.l = (bg << 24) | (bg << 16) | (bg << 8) | bg; 882 u_char fg, bg; local 890 bg = ofwfb_background(SC_NORM_ATTR); 902 addr[j] = (addr[j] == fg) ? bg : fg; 917 uint32_t fg, bg; local [all...] |
/freebsd-9.3-release/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 105 unsigned int height, term_color_t fg, term_color_t bg) 114 bgc = sc->sc_colormap[bg]; 141 b & 0x80 ? fg : bg; 103 ofwfb_bitbltchr(struct vt_device *vd, const uint8_t *src, const uint8_t *mask, int bpl, vt_axis_t top, vt_axis_t left, unsigned int width, unsigned int height, term_color_t fg, term_color_t bg) argument
|
/freebsd-9.3-release/sys/dev/vt/ |
H A D | vt.h | 284 unsigned int width, unsigned int height, term_color_t fg, term_color_t bg); 287 unsigned int width, unsigned int height, term_color_t fg, term_color_t bg); 289 vt_axis_t top, vt_axis_t left, term_color_t fg, term_color_t bg);
|
/freebsd-9.3-release/contrib/texinfo/makeinfo/ |
H A D | lang.h | 32 ba, be, bg, bh, bi, bn, bo, br, enumerator in enum:__anon4252
|
/freebsd-9.3-release/sys/kern/ |
H A D | subr_terminal.c | 385 int fg, bg; local 399 teken_get_defattr_cons25(&tm->tm_emulator, &fg, &bg); 401 vi->mv_norm.back = bg; 403 vi->mv_rev.fore = bg;
|
/freebsd-9.3-release/sys/dev/vt/hw/vga/ |
H A D | vga.c | 207 unsigned int height, term_color_t fg, term_color_t bg) 223 vga_bitblt_put(vd, ldst, bg, ~*src); 235 unsigned int height, term_color_t fg, term_color_t bg) 251 vga_bitblt_draw(vd, src, dst, shift, width, height, bg, 1); 253 vga_bitblt_draw(vd, src, dst, shift, width, height, bg, 1); 384 vt_axis_t top, vt_axis_t left, term_color_t fg, term_color_t bg) 398 attr = bg << 4 | fg; 205 vga_bitbltchr(struct vt_device *vd, const uint8_t *src, const uint8_t *mask, int bpl, vt_axis_t top, vt_axis_t left, unsigned int width, unsigned int height, term_color_t fg, term_color_t bg) argument 233 vga_maskbitbltchr(struct vt_device *vd, const uint8_t *src, const uint8_t *mask, int bpl, vt_axis_t top, vt_axis_t left, unsigned int width, unsigned int height, term_color_t fg, term_color_t bg) argument 383 vga_putchar(struct vt_device *vd, term_char_t c, vt_axis_t top, vt_axis_t left, term_color_t fg, term_color_t bg) argument
|
/freebsd-9.3-release/contrib/dialog/ |
H A D | util.c | 389 dlg_color_table[i].bg); 401 dlg_color_table[i].bg); 450 short fg, bg; local 454 if (pair_content((short) pair, &fg, &bg) != ERR 456 && bg == background) { 480 short fg, bg, background; local 483 && pair_content((short) pair, &fg, &bg) != ERR) { 484 background = bg; 633 short fg, bg; local 634 if (pair_content(pair, &fg, &bg) ! [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | raw_ostream.cpp | 599 bool bg) { 603 (colors == SAVEDCOLOR) ? sys::Process::OutputBold(bg) 604 : sys::Process::OutputColor(colors, bold, bg); 598 changeColor(enum Colors colors, bool bold, bool bg) argument
|
/freebsd-9.3-release/sys/boot/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-9.3-release/tools/tools/net80211/wlanwds/ |
H A D | wlanwds.c | 110 int s, c, logmask, bg = 1; local 117 bg = 0; 156 if (bg && daemon(0, 0) < 0)
|
/freebsd-9.3-release/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",
|