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

123

/freebsd-10.1-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.1-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-10.1-release/sys/boot/powerpc/ps3/
H A Dps3cons.c113 uint32_t fg, bg; local
119 bg = BG_COLOR;
149 *(addr + j) = bg;
/freebsd-10.1-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-10.1-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.1-release/sys/pc98/cbus/
H A Dscterm-sck.c53 u_short bg; /* background color */ member in struct:__anon11186
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.1-release/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c108 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg)
121 bgc = sc->fb_cmap[bg];
139 ch1.l = ch2.l = (bg << 24) | (bg << 16) |
140 (bg << 8) | bg;
185 b & 0x80 ? fg : bg;
208 term_color_t fg, bg; local
224 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg);
228 x, y, fg, bg);
105 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-10.1-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.1-release/sys/dev/fb/
H A Dcreator_vt.c184 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-10.1-release/sys/powerpc/ofw/
H A Dofw_syscons.c811 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-10.1-release/sys/dev/vt/hw/vga/
H A Dvt_vga.c344 /* The bg color was trashed by the reads. */
427 term_color_t fg, term_color_t bg, int overwrite)
487 pattern_ncolors[(dst_y + i) * 16 + bg] |= (~pattern & mask);
493 term_color_t fg, term_color_t bg,
509 vga_setbg(vd, bg);
608 term_color_t fg, bg; local
653 vt_determine_colors(c, VTBUF_ISCURSOR(vb, row, col), &fg, &bg);
656 if ((used_colors_list[bg] & 0x2) != 0x2)
659 used_colors_list[bg] |= 0x2;
694 0, 0, vf->vf_height, fg, bg,
423 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
492 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
860 term_color_t fg, bg; local
909 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-10.1-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-10.1-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.1-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...]
/freebsd-10.1-release/sys/dev/vt/hw/fb/
H A Dvt_fb.c247 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg)
259 bgc = info->fb_cmap[bg];
322 term_color_t fg, bg; local
338 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg);
342 x, y, fg, bg);
244 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-10.1-release/contrib/texinfo/makeinfo/
H A Dlang.h32 ba, be, bg, bh, bi, bn, bo, br, enumerator in enum:__anon4602
/freebsd-10.1-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-10.1-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.1-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.1-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.1-release/sys/kern/
H A Dsubr_terminal.c386 int fg, bg; local
400 teken_get_defattr_cons25(&tm->tm_emulator, &fg, &bg);
402 vi->mv_norm.back = bg;
404 vi->mv_rev.fore = bg;
/freebsd-10.1-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;

Completed in 157 milliseconds

123