/freebsd-10.2-release/usr.bin/grep/regex/ |
H A D | tre-fastmatch.c | 47 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 D | tre-fastmatch.h | 17 int tre_match_fast(const fastmatch_t *fg, const void *data, size_t len,
|
/freebsd-10.2-release/contrib/ncurses/ncurses/base/ |
H A D | lib_dft_fgbg.c | 54 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 D | lib_color.c | 162 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 D | lib_set_term.c | 363 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.2-release/contrib/less/ |
H A D | output.c | 129 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 D | optfunc.c | 526 int fg, bg; local 529 fg = getnum(&s, "D", &err); 532 error("Missing fg color in -D", NULL_PARG); 549 *fg_color = fg;
|
/freebsd-10.2-release/sys/boot/powerpc/ps3/ |
H A D | ps3cons.c | 113 uint32_t fg, bg; local 118 fg = FG_COLOR; 151 *(addr + j) = fg;
|
/freebsd-10.2-release/sys/teken/ |
H A D | teken_subr_compat.h | 65 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.2-release/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 108 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) 120 fgc = sc->fb_cmap[fg]; 146 if (b & 0x80) ch1.c[0] = fg; 147 if (b & 0x40) ch1.c[1] = fg; 148 if (b & 0x20) ch1.c[2] = fg; 149 if (b & 0x10) ch1.c[3] = fg; 151 if (b & 0x08) ch2.c[0] = fg; 152 if (b & 0x04) ch2.c[1] = fg; 153 if (b & 0x02) ch2.c[2] = fg; 154 if (b & 0x01) ch2.c[3] = fg; 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 208 term_color_t fg, bg; local [all...] |
/freebsd-10.2-release/sys/dev/sound/pci/hda/ |
H A D | hdacc.c | 477 struct hdacc_fg *fg = device_get_ivars(child); local 479 snprintf(buf, buflen, "nid=%d", fg->nid); 487 struct hdacc_fg *fg = device_get_ivars(child); local 490 fg->type, fg->subsystem_id); 497 struct hdacc_fg *fg = device_get_ivars(child); local 501 retval += printf(" at nid %d", fg->nid); 511 struct hdacc_fg *fg = device_get_ivars(child); local 516 fg->type == HDA_PARAM_FCT_GRP_TYPE_NODE_TYPE_AUDIO ? "Audio" : 517 (fg 536 struct hdacc_fg *fg = device_get_ivars(child); local [all...] |
/freebsd-10.2-release/sys/pc98/cbus/ |
H A D | scterm-sck.c | 52 u_short fg; /* foreground color */ member in struct:__anon11550 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.2-release/sys/powerpc/ofw/ |
H A D | ofw_syscons.c | 811 u_char *p, fg, bg; local 826 fg = ofwfb_foreground(a); 842 if (fline & 0x80) ch1.c[0] = fg; 843 if (fline & 0x40) ch1.c[1] = fg; 844 if (fline & 0x20) ch1.c[2] = fg; 845 if (fline & 0x10) ch1.c[3] = fg; 847 if (fline & 0x08) ch2.c[0] = fg; 848 if (fline & 0x04) ch2.c[1] = fg; 849 if (fline & 0x02) ch2.c[2] = fg; 850 if (fline & 0x01) ch2.c[3] = fg; 867 uint32_t *addr, fg, bg; local 934 u_char fg, bg; local 969 uint32_t fg, bg; local [all...] |
/freebsd-10.2-release/contrib/ipfilter/tools/ |
H A D | ipftest.c | 708 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.2-release/lib/libdpv/ |
H A D | status.c | 53 chtype color = dlg_color_pair(dlg_color_table[BUTTON_ACTIVE_ATTR].fg, 90 /* Print text in screen bg, button active fg, and bold */
|
/freebsd-10.2-release/sys/dev/fb/ |
H A D | creator_vt.c | 184 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) 192 fgc = sc->fb.fb_cmap[fg]; 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.2-release/sys/dev/syscons/ |
H A D | scterm-teken.c | 326 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.2-release/sys/dev/vt/hw/vga/ |
H A D | vt_vga.c | 183 * The Set/Reset register doesn't contain the fg color anymore, 427 term_color_t fg, term_color_t bg, int overwrite) 486 pattern_ncolors[(dst_y + i) * 16 + fg] |= pattern; 493 term_color_t fg, term_color_t bg, 510 vga_setfg(vd, fg); 608 term_color_t fg, bg; local 653 vt_determine_colors(c, VTBUF_ISCURSOR(vb, row, col), &fg, &bg); 654 if ((used_colors_list[fg] & 0x1) != 0x1) 658 used_colors_list[fg] |= 0x1; 694 0, 0, vf->vf_height, fg, b 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.2-release/contrib/ncurses/ncurses/trace/ |
H A D | lib_traceatr.c | 140 short fg, bg; local 142 if (pair_content(pairnum, &fg, &bg) == OK) { 146 COLOR_OF(fg),
|
/freebsd-10.2-release/sys/dev/vt/hw/fb/ |
H A D | vt_fb.c | 249 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) 258 fgc = info->fb_cmap[fg]; 316 term_color_t fg, bg; local 332 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg); 336 x, y, fg, bg); 246 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.2-release/sys/contrib/ipfilter/netinet/ |
H A D | fil.c | 3519 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 4500 frgroup_t *fg; local 5647 frgroup_t *fg; local 5677 frgroup_t *fg; local 7835 frgroup_t *fg; local 7888 frgroup_t *fg; local [all...] |
/freebsd-10.2-release/usr.sbin/ppp/ |
H A D | main.c | 204 unsigned fg : 1; member in struct:switches 268 sw->fg = 1; 436 if (!sw.fg) { 510 if (!sw.fg)
|
/freebsd-10.2-release/contrib/ntp/ntpd/ |
H A D | ntp_filegen.c | 625 FILEGEN * fg; local 636 fg = pfe->filegen; 639 filegen_uninit(fg);
|
/freebsd-10.2-release/sys/boot/pc98/libpc98/ |
H A D | vidconsole.c | 62 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.2-release/usr.sbin/rrenumd/ |
H A D | rrenumd.c | 77 u_long fg : 1; member in struct:flags 570 flags.fg = 1; 616 if (!flags.fg)
|