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

12

/freebsd-10.0-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-10.0-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;
H A Dscreen.c98 #define SETCOLORS(fg,bg) { _settextcolor(fg); _setbkcolor(bg); }
109 #define SETCOLORS(fg,bg) { textcolor(fg); textbackground(bg); }
135 #define MAKEATTR(fg,bg) ((WORD)((fg)|((bg)<<4)))
136 #define SETCOLORS(fg,bg) { curr_attr = MAKEATTR(fg,bg); \
2477 WIN32setcolors(fg, bg)
2479 int bg;
[all...]
/freebsd-10.0-release/sys/boot/powerpc/ps3/
H A Dps3cons.c113 uint32_t fg, bg; local
119 bg = BG_COLOR;
149 *(addr + j) = bg;
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DProcess.h232 static const char *OutputColor(char c, bool bold, bool bg);
235 static const char *OutputBold(bool bg);
/freebsd-10.0-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-10.0-release/sys/pc98/cbus/
H A Dscterm-sck.c53 u_short bg; /* background color */ member in struct:__anon10821
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-10.0-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-10.0-release/sys/powerpc/ofw/
H A Dofw_syscons.c806 u_char *p, fg, bg; local
822 bg = ofwfb_background(a);
831 ch1.l = ch2.l = (bg << 24) | (bg << 16) | (bg << 8) | bg;
862 uint32_t *addr, fg, bg; local
874 bg = ofwfb_pix32(sc, ofwfb_background(a));
879 *(addr + j) = bg;
929 u_char fg, bg; local
964 uint32_t fg, bg; local
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/pkcs12/
H A Dpkcs12.h157 #define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type)
158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
/freebsd-10.0-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-10.0-release/sys/dev/syscons/
H A Dscterm-teken.c326 teken_color_t fg, bg; local
346 for (bg = 0; bg < TC_NCOLORS; bg++) {
347 if ((fgcolors_normal[fg] | bgcolors[bg]) == color) {
349 a->ta_bgcolor = bg;
353 if ((fgcolors_bold[fg] | bgcolors[bg]) == color) {
355 a->ta_bgcolor = bg;
367 teken_color_t fg, bg; local
371 bg
[all...]
H A Dscvgarndr.c678 u_short bg; local
692 bg = -1;
705 if (bg != col2) {
706 bg = col2;
707 outw(GDCIDX, bg | 0x00); /* set/reset */
710 c = readb(d); /* set bg color in the latch */
786 u_short bg; local
801 bg = -1;
814 if (bg != col2) {
815 bg
[all...]
/freebsd-10.0-release/contrib/texinfo/makeinfo/
H A Dlang.h32 ba, be, bg, bh, bi, bn, bo, br, enumerator in enum:__anon4411
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A Draw_ostream.cpp615 bool bg) {
619 (colors == SAVEDCOLOR) ? sys::Process::OutputBold(bg)
620 : sys::Process::OutputColor(colors, bold, bg);
614 changeColor(enum Colors colors, bool bold, bool bg) argument
/freebsd-10.0-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-10.0-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-10.0-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",
/freebsd-10.0-release/sys/powerpc/wii/
H A Dwii_fb.c833 uint32_t fg, bg; local
844 bg = wiifb_cmap[wiifb_background(a)];
850 pixel[0] = bg;
855 pixel[1] = bg;
/freebsd-10.0-release/sys/boot/i386/libi386/
H A Dvidconsole.c62 void write_char(int c, int fg, int bg);
63 void scroll_up(int rows, int fg, int bg);
237 * clear the window. fg and bg are attributes for the new lines
/freebsd-10.0-release/sys/dev/drm2/radeon/
H A Dradeon_combios.c929 uint8_t rev, bg, dac; local
944 bg = RBIOS8(dac_info + 0x2) & 0xf;
946 p_dac->ps2_pdac_adj = (bg << 8) | (dac);
948 bg = RBIOS8(dac_info + 0x2) & 0xf;
950 p_dac->ps2_pdac_adj = (bg << 8) | (dac);
1065 uint8_t rev, bg, dac; local
1079 bg = RBIOS8(dac_info + 0xc) & 0xf;
1081 tv_dac->ps2_tvdac_adj = (bg << 16) | (dac << 20);
1083 bg = RBIOS8(dac_info + 0xe) & 0xf;
1085 tv_dac->pal_tvdac_adj = (bg << 1
[all...]
/freebsd-10.0-release/sys/dev/fb/
H A Dcreator.c301 static inline void creator_ras_setbg(struct creator_softc *sc, int bg);
359 creator_ras_setbg(struct creator_softc *sc, int bg) argument
362 if (bg == sc->sc_bg_cache)
364 sc->sc_bg_cache = bg;
366 FFB_WRITE(sc, FFB_FBC, FFB_FBC_BG, bg);

Completed in 320 milliseconds

12