Searched refs:fg (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-10.0-release/usr.bin/grep/regex/
H A Dtre-fastmatch.c47 static int fastcmp(const fastmatch_t *fg, const void *data,
55 if (fg->pattern) \
56 xfree(fg->pattern); \
57 if (fg->wpattern) \
58 xfree(fg->wpattern); \
59 if (fg->qsBc_table) \
60 hashtable_free(fg->qsBc_table); \
61 fg = NULL; \
84 * it in fg->pattern. Sets fg
508 tre_compile_literal(fastmatch_t *fg, const tre_char_t *pat, size_t n, int cflags) argument
547 tre_compile_fast(fastmatch_t *fg, const tre_char_t *pat, size_t n, int cflags) argument
842 tre_match_fast(const fastmatch_t *fg, const void *data, size_t len, tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags) argument
971 tre_free_fast(fastmatch_t *fg) argument
998 fastcmp(const fastmatch_t *fg, const void *data, tre_str_type_t type) argument
[all...]
H A Dtre-fastmatch.h17 int tre_match_fast(const fastmatch_t *fg, const void *data, size_t len,
/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);
66 SP->_default_fg = isDefaultColor(fg) ? COLOR_DEFAULT : (fg & C_MASK);
71 init_pair(0, (short) fg, (short) bg);
H A Dlib_color.c162 set_foreground_color(int fg, int (*outc) (int)) argument
166 tputs(TPARM_1(set_a_foreground, fg), 1, outc);
169 tputs(TPARM_1(set_foreground, toggled_colors(fg)), 1, outc);
392 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)",
502 NCURSES_COLOR_T fg = ((SP->_color_pairs[pair] >> C_SHIFT) & C_MASK); local
506 if (fg == COLOR_DEFAULT)
507 fg = -1;
513 *f = fg;
517 TR(TRACE_ATTRS, ("...pair_content(%d,%d,%d)", pair, fg, bg));
526 NCURSES_COLOR_T fg 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);
367 SP->_default_fg = (fg >= 0 && fg < max_colors) ? fg : 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;
186 fg = nm_fg_color;
221 fg = nm_fg_color;
240 fg = (bg & 7) | 8;
255 fg = (fg & 8) | (screen_color[code - 30]);
257 case 39: /* default fg */
258 fg = nm_fg_color;
265 case 49: /* default fg */
282 fg |
[all...]
H A Doptfunc.c526 int fg, bg; local
529 fg = getnum(&s, "D", &err);
532 error("Missing fg color in -D", NULL_PARG);
549 *fg_color = fg;
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)
2478 int fg;
[all...]
/freebsd-10.0-release/sys/boot/powerpc/ps3/
H A Dps3cons.c113 uint32_t fg, bg; local
118 fg = FG_COLOR;
151 *(addr + j) = fg;
/freebsd-10.0-release/sys/teken/
H A Dteken_subr_compat.h65 teken_get_defattr_cons25(teken_t *t, int *fg, int *bg) argument
68 *fg = cons25_revcolors[teken_256to8(t->t_defattr.ta_fgcolor)];
70 *fg += 8;
/freebsd-10.0-release/sys/dev/sound/pci/hda/
H A Dhdacc.c475 struct hdacc_fg *fg = device_get_ivars(child); local
477 snprintf(buf, buflen, "nid=%d", fg->nid);
485 struct hdacc_fg *fg = device_get_ivars(child); local
488 fg->type, fg->subsystem_id);
495 struct hdacc_fg *fg = device_get_ivars(child); local
499 retval += printf(" at nid %d", fg->nid);
509 struct hdacc_fg *fg = device_get_ivars(child); local
514 fg->type == HDA_PARAM_FCT_GRP_TYPE_NODE_TYPE_AUDIO ? "Audio" :
515 (fg
534 struct hdacc_fg *fg = device_get_ivars(child); local
[all...]
/freebsd-10.0-release/sys/pc98/cbus/
H A Dscterm-sck.c52 u_short fg; /* foreground color */ member in struct:__anon10821
328 tcp->dflt_std_color.fg = SC_NORM_ATTR & 0x0f;
330 tcp->dflt_rev_color.fg = SC_NORM_REV_ATTR & 0x0f;
684 case 30: case 31: /* set ansi fg color */
688 tcp->cur_color.fg = ansi_col[n - 30];
691 case 39: /* restore fg color back to normal */
693 tcp->cur_color.fg = tcp->std_color.fg;
744 tcp->cur_color.fg = tcp->std_color.fg
[all...]
/freebsd-10.0-release/sys/powerpc/ofw/
H A Dofw_syscons.c806 u_char *p, fg, bg; local
821 fg = ofwfb_foreground(a);
837 if (fline & 0x80) ch1.c[0] = fg;
838 if (fline & 0x40) ch1.c[1] = fg;
839 if (fline & 0x20) ch1.c[2] = fg;
840 if (fline & 0x10) ch1.c[3] = fg;
842 if (fline & 0x08) ch2.c[0] = fg;
843 if (fline & 0x04) ch2.c[1] = fg;
844 if (fline & 0x02) ch2.c[2] = fg;
845 if (fline & 0x01) ch2.c[3] = fg;
862 uint32_t *addr, fg, bg; local
929 u_char fg, bg; local
964 uint32_t fg, bg; local
[all...]
/freebsd-10.0-release/contrib/ipfilter/tools/
H A Dipftest.c708 frgroup_t *fg; local
713 for (fg = softc->ipf_groups[i][0]; fg != NULL;
714 fg = fg->fg_next) {
716 i, fg->fg_name, fg->fg_ref, fg->fg_flags);
717 dumprules(fg->fg_start);
722 for (fg
[all...]
/freebsd-10.0-release/sys/dev/syscons/
H A Dscterm-teken.c326 teken_color_t fg, bg; local
345 for (fg = 0; fg < TC_NCOLORS; fg++) {
347 if ((fgcolors_normal[fg] | bgcolors[bg]) == color) {
348 a->ta_fgcolor = fg;
353 if ((fgcolors_bold[fg] | bgcolors[bg]) == color) {
354 a->ta_fgcolor = fg;
367 teken_color_t fg, bg; local
370 fg
[all...]
/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) {
146 COLOR_OF(fg),
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/
H A Dfil.c3519 frgroup_t *fg, **fgp; local
3527 while ((fg = *fgp) != NULL) {
3528 if (strncmp(group, fg->fg_name, FR_GROUPLEN) == 0)
3531 fgp = &fg->fg_next;
3535 return fg;
3563 frgroup_t *fg, **fgp; local
3575 fg = ipf_findgroup(softc, group, unit, set, &fgp);
3576 if (fg != NULL) {
3577 if (fg->fg_head == NULL && head != NULL)
3578 fg
3695 frgroup_t *fg; local
3839 frgroup_t *fg, **fgp; local
4467 frgroup_t *fg; local
5612 frgroup_t *fg; local
5642 frgroup_t *fg; local
7800 frgroup_t *fg; local
7853 frgroup_t *fg; local
[all...]
/freebsd-10.0-release/contrib/ntp/ntpd/
H A Dntp_filegen.c564 FILEGEN *fg; local
567 fg = ff->filegen;
570 return fg;
/freebsd-10.0-release/usr.sbin/ppp/
H A Dmain.c204 unsigned fg : 1; member in struct:switches
268 sw->fg = 1;
436 if (!sw.fg) {
510 if (!sw.fg)
/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/usr.sbin/rrenumd/
H A Drrenumd.c77 u_long fg : 1; member in struct:flags
570 flags.fg = 1;
616 if (!flags.fg)
/freebsd-10.0-release/sys/powerpc/ps3/
H A Dps3_syscons.c670 uint32_t fg, bg; local
678 fg = ps3fb_pix32(ps3fb_foreground(SC_NORM_ATTR));
687 *(addr + j) = (*(addr + j) == fg) ? bg : fg;
/freebsd-10.0-release/sys/powerpc/wii/
H A Dwii_fb.c833 uint32_t fg, bg; local
845 fg = wiifb_cmap[wiifb_foreground(a)];
852 pixel[0] = fg;
857 pixel[1] = fg;
/freebsd-10.0-release/contrib/amd/amd/
H A Damfs_nfsx.c369 amfs_nfsx_remount(am_node *am, mntfs *mf, int fg) argument
402 if (!fg && foreground && (m->mf_fsflags & FS_MBACKGROUND)) {
/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

Completed in 243 milliseconds

12