Searched refs:bg (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-9.3-release/contrib/ncurses/ncurses/base/
H A Dlib_dft_fgbg.c54 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 Dlib_color.c150 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 Dlib_set_term.c363 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 Doutput.c129 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 Doptfunc.c526 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 Dps3cons.c113 uint32_t fg, bg; local
119 bg = BG_COLOR;
149 *(addr + j) = bg;
/freebsd-9.3-release/gnu/lib/libodialog/
H A Drc.c27 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 DProcess.h246 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 Dteken_subr_compat.h65 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 Dscterm-sck.c53 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 Dlocate.code.c259 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 Dpkcs12.h160 # 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 Dlib_traceatr.c140 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 Dscterm-teken.c325 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 Dofw_syscons.c762 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 Dofwfb.c105 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 Dvt.h284 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 Dlang.h32 ba, be, bg, bh, bi, bn, bo, br, enumerator in enum:__anon4252
/freebsd-9.3-release/sys/kern/
H A Dsubr_terminal.c385 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 Dvga.c207 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 Dutil.c389 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 Draw_ostream.cpp599 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 Dvidconsole.c62 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 Dwlanwds.c110 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 Doinit.c421 int bg=0; local
426 bg++;
429 } else bg=0;
469 if(bg) {
471 printf("do_command(%s): failed to run bg: %s\n",

Completed in 505 milliseconds

123