Searched refs:fg (Results 26 - 50 of 53) sorted by relevance

123

/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_set_term.c423 int fg, bg; local
425 int count = sscanf(env, "%d%c%d%c", &fg, &sep1, &bg, &sep2);
427 sp->_default_fg = ((fg >= 0 && fg < MaxColors) ? fg : C_MASK);
432 ("from environment assumed fg=%d, bg=%d",
451 TR(TRACE_CHARPUT | TRACE_MOVE, ("decoded fg=%d, bg=%d",
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_filegen.c625 FILEGEN * fg; local
636 fg = pfe->filegen;
639 filegen_uninit(fg);
H A Dntp_config.c1639 filegen_node * fg; local
1643 UNLINK_FIFO(fg, *fifo, link);
1644 if (fg == NULL)
1646 destroy_attr_val_fifo(fg->options);
1647 free(fg);
/freebsd-11-stable/usr.sbin/rrenumd/
H A Drrenumd.c77 u_long fg : 1; member in struct:flags
570 flags.fg = 1;
616 if (!flags.fg)
/freebsd-11-stable/stand/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-11-stable/sys/kern/
H A Dsubr_terminal.c133 /* Fudge fg brightness as TF_BOLD (shifted). */
421 int fg, bg; local
435 teken_get_defattr_cons25(&tm->tm_emulator, &fg, &bg);
436 vi->mv_norm.fore = fg;
440 vi->mv_rev.back = fg & 0x7;
/freebsd-11-stable/sys/dev/mlx5/
H A Dfs.h147 void mlx5_destroy_flow_group(struct mlx5_flow_group *fg);
/freebsd-11-stable/contrib/amd/amd/
H A Damfs_nfsx.c364 amfs_nfsx_remount(am_node *am, mntfs *mf, int fg) argument
397 if (!fg && foreground && (m->mf_fsflags & FS_MBACKGROUND)) {
/freebsd-11-stable/stand/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-11-stable/sys/dev/fb/
H A Dmachfb.c417 static inline void machfb_setfg(struct machfb_softc *sc, int fg);
431 machfb_setfg(struct machfb_softc *sc, int fg) argument
434 if (fg == sc->sc_fg_cache)
436 sc->sc_fg_cache = fg;
438 regw(sc, DP_FRGD_CLR, fg + MACHFB_CMAP_OFF);
1387 uint8_t fg; local
1395 fg = SC_NORM_ATTR & 0xf;
1396 regw(sc, CUR_CLR0, machfb_default_cmap[fg].red << 24 |
1397 machfb_default_cmap[fg].green << 16 |
1398 machfb_default_cmap[fg]
[all...]
H A Dcreator.c301 static inline void creator_ras_setfg(struct creator_softc *sc, int fg);
370 creator_ras_setfg(struct creator_softc *sc, int fg) argument
373 if (fg == sc->sc_fg_cache)
375 sc->sc_fg_cache = fg;
377 FFB_WRITE(sc, FFB_FBC, FFB_FBC_FG, fg);
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dam335x_lcd_syscons.c679 uint8_t fg, bg, color; local
694 fg = a & 0xf ;
702 color = fg;
/freebsd-11-stable/sys/dev/vt/
H A Dvt.h132 term_color_t vd_mcursor_fg; /* (?) Cursor fg color. */
322 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg);
440 term_color_t *fg, term_color_t *bg);
H A Dvt_core.c1113 term_color_t *fg, term_color_t *bg)
1120 *fg = TCHAR_FGCOLOR(c);
1122 *fg = TCOLOR_LIGHT(*fg);
1133 tmp = *fg;
1134 *fg = *bg;
1112 vt_determine_colors(term_char_t c, int cursor, term_color_t *fg, term_color_t *bg) argument
/freebsd-11-stable/contrib/dialog/
H A Dutil.c468 dlg_color_table[i].fg,
480 chtype color = dlg_color_pair(dlg_color_table[i].fg,
530 short fg, bg; local
534 if (pair_content((short) pair, &fg, &bg) != ERR
535 && fg == foreground
560 short fg, bg, background; local
563 && pair_content((short) pair, &fg, &bg) != ERR) {
778 short fg, bg; local
779 if (pair_content(pair, &fg, &bg) != ERR
780 && fg
[all...]
H A Ddialog.h570 int fg; member in struct:__anon939
/freebsd-11-stable/contrib/libxo/xolint/
H A Dxolint.pl454 #@ Field has color without fg- or bg- (role: C)
457 #@ xo_emit("{C:fg-green}{:foo}{C:}", x);
458 #@ Colors must be prefixed by either "fg-" or "bg-".
459 error("Field has color without fg- or bg- (role: C)");
461 } elsif ($val =~ /^(fg|bg)-(default|black|red|green|yellow|blue|magenta|cyan|white)$/) {
471 #@ xo_emit("{C:fg-purple,bold}{:foo}{C:gween}", x);
473 #@ xo_emit("{C:fg-red,bold}{:foo}{C:fg-green}", x);
477 #@ be prefixed by either "fg-" or "bg-". Effects are
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx51_ipuv3.c819 uint32_t fg, bg, color; local
835 fg = colors[a & 0x0f];
838 fg = colors_24[a & 0x0f];
848 color = fg;
/freebsd-11-stable/sys/arm/versatile/
H A Dversatile_clcd.c859 uint8_t fg, bg, color; local
877 fg = a & 0xf ;
885 color = fg;
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c768 uint8_t *addr, fg, bg, color; local
783 fg = a & 0xf ;
792 color = fg;
/freebsd-11-stable/contrib/libxo/libxo/
H A Dlibxo.c2192 * Look for something like "colors=red/blue+green/yellow" as fg/bg pairs.
2203 int num = 1, fg, bg; local
2214 fg = *cp ? xo_color_find(cp) : -1;
2217 xop->xo_color_map_fg[num] = (fg < 0) ? num : fg;
4846 xo_color_t fg = newp->xoc_col_fg;
4847 if (XOF_ISSET(xop, XOF_COLOR_MAP) && fg < XO_NUM_COLORS)
4848 fg = xop->xo_color_map_fg[fg]; /* Fetch from color map */
4849 newp->xoc_col_fg = fg;
4903 xo_color_t fg = newp->xoc_col_fg; local
4952 const char *fg = NULL; local
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tty/
H A Dtty_update.c493 NCURSES_COLOR_T fg, bg; local
496 &fg, &bg) == ERR
497 || (fg != C_MASK || bg != C_MASK)) {
/freebsd-11-stable/lib/libdpv/
H A Ddpv.c339 gauge_color[0] = 48 + dlg_color_table[GAUGE_ATTR].fg;
/freebsd-11-stable/contrib/less/
H A Dfuncs.h37 public void WIN32setcolors LESSPARAMS ((int fg, int bg));
/freebsd-11-stable/contrib/sqlite3/
H A Dsqlite3.c18428 } fg; member in struct:SrcItem
18439 CteUse *pCteUse; /* CTE Usage info info fg.isCte is true */
[all...]

Completed in 531 milliseconds

123