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

12

/freebsd-9.3-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-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);
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-9.3-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;
/freebsd-9.3-release/sys/boot/powerpc/ps3/
H A Dps3cons.c113 uint32_t fg, bg; local
118 fg = FG_COLOR;
151 *(addr + j) = fg;
/freebsd-9.3-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-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) {
178 ((int *) vars[i].var)[0] = fg;
205 static unsigned char *attr_to_str(int fg, int bg, int hl) argument
212 for (i = 0; fg != 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/b
[all...]
/freebsd-9.3-release/contrib/ipfilter/tools/
H A Dipftest.c693 frgroup_t *fg; local
699 for (fg = ipfgroups[i][0]; fg != NULL; fg = fg->fg_next) {
701 i, fg->fg_name, fg->fg_ref, fg->fg_flags);
702 for (fr = fg->fg_start; fr != NULL; fr = fr->fr_next) {
714 for (fg
[all...]
/freebsd-9.3-release/sys/dev/sound/pci/hda/
H A Dhdacc.c474 struct hdacc_fg *fg = device_get_ivars(child); local
476 snprintf(buf, buflen, "nid=%d", fg->nid);
484 struct hdacc_fg *fg = device_get_ivars(child); local
487 fg->type, fg->subsystem_id);
494 struct hdacc_fg *fg = device_get_ivars(child); local
498 retval += printf(" at nid %d", fg->nid);
508 struct hdacc_fg *fg = device_get_ivars(child); local
513 fg->type == HDA_PARAM_FCT_GRP_TYPE_NODE_TYPE_AUDIO ? "Audio" :
514 (fg
533 struct hdacc_fg *fg = device_get_ivars(child); local
[all...]
/freebsd-9.3-release/sys/pc98/cbus/
H A Dscterm-sck.c52 u_short fg; /* foreground color */ member in struct:__anon10262
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-9.3-release/sys/powerpc/ofw/
H A Dofw_syscons.c762 u_char *p, fg, bg; local
777 fg = ofwfb_foreground(a);
793 if (fline & 0x80) ch1.c[0] = fg;
794 if (fline & 0x40) ch1.c[1] = fg;
795 if (fline & 0x20) ch1.c[2] = fg;
796 if (fline & 0x10) ch1.c[3] = fg;
798 if (fline & 0x08) ch2.c[0] = fg;
799 if (fline & 0x04) ch2.c[1] = fg;
800 if (fline & 0x02) ch2.c[2] = fg;
801 if (fline & 0x01) ch2.c[3] = fg;
882 u_char fg, bg; local
917 uint32_t fg, bg; local
[all...]
/freebsd-9.3-release/sys/dev/syscons/
H A Dscterm-teken.c325 teken_color_t fg, bg; local
344 for (fg = 0; fg < TC_NCOLORS; fg++) {
346 if ((fgcolors_normal[fg] | bgcolors[bg]) == color) {
347 a->ta_fgcolor = fg;
352 if ((fgcolors_bold[fg] | bgcolors[bg]) == color) {
353 a->ta_fgcolor = fg;
366 teken_color_t fg, bg; local
369 fg
[all...]
/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) {
146 COLOR_OF(fg),
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dfil.c3325 frgroup_t *fg, **fgp; local
3333 while ((fg = *fgp) != NULL) {
3334 if (strncmp(group, fg->fg_name, FR_GROUPLEN) == 0)
3337 fgp = &fg->fg_next;
3341 return fg;
3366 frgroup_t *fg, **fgp; local
3378 fg = fr_findgroup(group, unit, set, &fgp);
3379 if (fg != NULL) {
3380 if (fg->fg_flags == 0)
3381 fg
3417 frgroup_t *fg, **fgp; local
3448 frgroup_t *fg; local
3474 frgroup_t *fg; local
4203 frgroup_t *fg; local
4893 frgroup_t *fg; local
4921 frgroup_t *fg; local
6803 frgroup_t *fg; 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)
113 fgc = sc->sc_colormap[fg];
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/sys/kern/
H A Dsubr_terminal.c385 int fg, bg; local
399 teken_get_defattr_cons25(&tm->tm_emulator, &fg, &bg);
400 vi->mv_norm.fore = fg;
404 vi->mv_rev.back = fg & 0x7;
/freebsd-9.3-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-9.3-release/sys/dev/vt/hw/vga/
H A Dvga.c207 unsigned int height, term_color_t fg, term_color_t bg)
222 vga_bitblt_put(vd, ldst, fg, *src);
235 unsigned int height, term_color_t fg, term_color_t bg)
249 if (sc->vga_curcolor == fg) {
250 vga_bitblt_draw(vd, src, dst, shift, width, height, fg, 0);
254 vga_bitblt_draw(vd, src, dst, shift, width, height, fg, 0);
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/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/usr.sbin/rrenumd/
H A Drrenumd.c77 u_long fg : 1; member in struct:flags
570 flags.fg = 1;
616 if (!flags.fg)
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_filegen.c625 FILEGEN * fg; local
636 fg = pfe->filegen;
639 filegen_uninit(fg);

Completed in 201 milliseconds

12