/freebsd-11-stable/usr.bin/grep/regex/ |
H A D | tre-fastmatch.c | 48 static int fastcmp(const fastmatch_t *fg, const void *data, 56 if (fg->pattern) \ 57 free(fg->pattern); \ 58 if (fg->wpattern) \ 59 free(fg->wpattern); \ 60 if (fg->qsBc_table) \ 61 hashtable_free(fg->qsBc_table); \ 62 fg = NULL; \ 85 * it in fg->pattern. Sets fg 521 tre_compile_literal(fastmatch_t *fg, const tre_char_t *pat, size_t n, int cflags) argument 560 tre_compile_fast(fastmatch_t *fg, const tre_char_t *pat, size_t n, int cflags) argument 870 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 999 tre_free_fast(fastmatch_t *fg) argument 1026 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-11-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_dft_fgbg.c | 66 NCURSES_SP_NAME(assume_default_colors) (NCURSES_SP_DCLx int fg, int bg) argument 70 T((T_CALLED("assume_default_colors(%p,%d,%d)"), (void *) SP_PARM, fg, bg)); 73 code = CallDriver_2(sp, defaultcolors, fg, bg); 77 SP_PARM->_default_color = isDefaultColor(fg) || isDefaultColor(bg); 79 SP_PARM->_default_fg = isDefaultColor(fg) ? COLOR_DEFAULT : (fg & C_MASK); 85 init_pair(0, (short) fg, (short) bg); 96 assume_default_colors(int fg, int bg) argument 98 return NCURSES_SP_NAME(assume_default_colors) (CURRENT_SCREEN, fg, bg);
|
H A D | lib_color.c | 208 set_foreground_color(NCURSES_SP_DCLx int fg, NCURSES_SP_OUTC outc) argument 211 CallDriver_3(SP_PARM, color, TRUE, fg, outc); 216 TPARM_1(set_a_foreground, fg), 221 TPARM_1(set_foreground, toggled_colors(fg)), 556 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)", 774 NCURSES_COLOR_T fg = (NCURSES_COLOR_T) FORE_OF(SP_PARM->_color_pairs[pair]); local 778 if (fg == COLOR_DEFAULT) 779 fg = -1; 785 *f = fg; 792 (int) fg, (in [all...] |
/freebsd-11-stable/sys/teken/ |
H A D | teken_subr_compat.h | 58 teken_get_defattr_cons25(teken_t *t, int *fg, int *bg) argument 61 *fg = cons25_revcolors[teken_256to8(t->t_defattr.ta_fgcolor)]; 63 *fg += 8;
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_tree.c | 194 static void fs_del_fg(struct mlx5_flow_group *fg); 318 struct mlx5_flow_group *fg, 326 if (fg->num_ftes == fg->max_ftes) 341 fte->base.parent = &fg->base; 347 list_add_tail(&fte->base.list, &fg->ftes); 348 fg->num_ftes++; 360 struct mlx5_flow_group *fg; local 363 fs_get_parent(fg, fte); 372 fg 317 alloc_star_ft_entry(struct mlx5_flow_table *ft, struct mlx5_flow_group *fg, u32 *match_value, unsigned int index) argument 378 struct mlx5_flow_group *fg; local 502 struct mlx5_flow_group *fg; local 1051 struct mlx5_flow_group *fg; local 1088 struct mlx5_flow_group *fg; local 1104 fs_del_fg(struct mlx5_flow_group *fg) argument 1122 mlx5_destroy_flow_group(struct mlx5_flow_group *fg) argument 1555 _fs_add_dst_fte(struct fs_fte *fte, struct mlx5_flow_group *fg, struct mlx5_flow_destination *dest) argument 1618 fs_get_free_fg_index(struct mlx5_flow_group *fg, struct list_head **prev) argument 1640 fs_create_fte(struct mlx5_flow_group *fg, u32 *match_value, u8 action, u32 flow_tag, struct list_head **prev) argument 1673 struct mlx5_flow_group *fg; local 1717 struct mlx5_flow_group *fg; local 1738 fs_add_dst_fg(struct mlx5_flow_group *fg, u32 *match_value, u8 action, u32 flow_tag, struct mlx5_flow_destination *dest) argument 2287 struct mlx5_flow_group *fg; local 2315 struct mlx5_flow_group *fg; local [all...] |
H A D | fs_core.h | 91 struct mlx5_flow_group *fg; member in struct:fs_star_rule 250 #define fs_for_each_fte(pos, fg) \ 252 &(fg)->ftes)
|
/freebsd-11-stable/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 116 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) 140 fgc = sc->fb_cmap[fg]; 145 fg = ofw_colors[fg]; 171 if (b & 0x80) ch1.c[0] = fg; 172 if (b & 0x40) ch1.c[1] = fg; 173 if (b & 0x20) ch1.c[2] = fg; 174 if (b & 0x10) ch1.c[3] = fg; 176 if (b & 0x08) ch2.c[0] = fg; 177 if (b & 0x04) ch2.c[1] = fg; 113 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 233 term_color_t fg, bg; local [all...] |
/freebsd-11-stable/contrib/less/ |
H A D | output.c | 101 static int fg, fgi, bg, bgi; local 123 if (fg == 0 && bg == 0) 125 fg = nm_fg_color & 7; 156 fg = nm_fg_color & 7; 207 fg = nm_fg_color & 7; 263 fg = screen_color[code - 30]; 266 case 39: /* default fg */ 267 fg = nm_fg_color & 7; 297 b = fg | fgi; 300 f = fg | fg [all...] |
H A D | screen.c | 111 #define SET_FG_COLOR(fg) _settextcolor(fg) 113 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); } 124 #define SET_FG_COLOR(fg) textcolor(fg) 126 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); } 158 #define MAKEATTR(fg,bg) ((WORD)((fg)|((b 2468 int fg; local 2542 int fg; local 2621 int fg; local [all...] |
H A D | optfunc.c | 551 int fg, bg; local 567 if (parse_color(s, &fg, &bg) == CT_NULL) 574 if (fg == CV_NOCHANGE) 575 fg = nm_fg_color; 579 fg |= ul; 581 *fg_color = fg;
|
/freebsd-11-stable/sys/dev/sound/pci/hda/ |
H A D | hdacc.c | 523 struct hdacc_fg *fg = device_get_ivars(child); local 525 snprintf(buf, buflen, "nid=%d", fg->nid); 533 struct hdacc_fg *fg = device_get_ivars(child); local 536 fg->type, fg->subsystem_id); 543 struct hdacc_fg *fg = device_get_ivars(child); local 547 retval += printf(" at nid %d", fg->nid); 557 struct hdacc_fg *fg = device_get_ivars(child); local 562 fg->type == HDA_PARAM_FCT_GRP_TYPE_NODE_TYPE_AUDIO ? "Audio" : 563 (fg 582 struct hdacc_fg *fg = device_get_ivars(child); local [all...] |
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipftest.c | 550 frgroup_t *fg; local 555 for (fg = softc->ipf_groups[i][0]; fg != NULL; 556 fg = fg->fg_next) { 558 i, fg->fg_name, fg->fg_ref, fg->fg_flags); 559 dumprules(fg->fg_start); 564 for (fg [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | scterm-sck.c | 53 u_short fg; /* foreground color */ member in struct:__anon8381 329 tcp->dflt_std_color.fg = SC_NORM_ATTR & 0x0f; 331 tcp->dflt_rev_color.fg = SC_NORM_REV_ATTR & 0x0f; 685 case 30: case 31: /* set ansi fg color */ 689 tcp->cur_color.fg = ansi_col[n - 30]; 692 case 39: /* restore fg color back to normal */ 694 tcp->cur_color.fg = tcp->std_color.fg; 745 tcp->cur_color.fg = tcp->std_color.fg [all...] |
/freebsd-11-stable/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-11-stable/contrib/tcsh/ |
H A D | tw.color.c | 129 ANSI_FG_BLACK = 30, /* fg black */ 130 ANSI_FG_RED = 31, /* fg red */ 131 ANSI_FG_GREEN = 32, /* fg green */ 132 ANSI_FG_YELLOW = 33, /* fg yellow */ 133 ANSI_FG_BLUE = 34, /* fg blue */ 134 ANSI_FG_MAGENTA = 35, /* fg magenta */ 135 ANSI_FG_CYAN = 36, /* fg cyan */ 136 ANSI_FG_WHITE = 37, /* fg white */ 137 ANSI_FG_DEFAULT = 39, /* fg default (white) */ 252 makecolor(char **c, int fg, in argument 298 int fg, bg; local [all...] |
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | tinfo_driver.c | 237 drv_defaultcolors(TERMINAL_CONTROL_BLOCK * TCB, int fg, int bg) argument 247 sp->_default_color = isDefaultColor(fg) || isDefaultColor(bg); 251 sp->_default_fg = isDefaultColor(fg) ? COLOR_DEFAULT : (fg & C_MASK); 258 (short)fg, 687 ("initializing pair: pair = %d, fg=(%d,%d,%d), bg=(%d,%d,%d)", 741 NCURSES_COLOR_T fg = COLOR_DEFAULT; local 760 &fg, 771 if ((isDefaultColor(fg) && !isDefaultColor(old_fg)) 798 if (isDefaultColor(fg)) [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/trace/ |
H A D | lib_traceatr.c | 154 NCURSES_COLOR_T fg, bg; local 156 if (pair_content(pairnum, &fg, &bg) == OK) { 160 COLOR_OF(fg),
|
/freebsd-11-stable/sys/dev/vt/hw/fb/ |
H A D | vt_fb.c | 260 unsigned int x, unsigned int y, term_color_t fg, term_color_t bg) 269 fgc = info->fb_cmap[fg]; 331 term_color_t fg, bg; local 347 VTBUF_ISCURSOR(&vw->vw_buf, row, col), &fg, &bg); 351 x, y, fg, bg); 257 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-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | fil.c | 3500 frgroup_t *fg, **fgp; local 3508 while ((fg = *fgp) != NULL) { 3509 if (strncmp(group, fg->fg_name, FR_GROUPLEN) == 0) 3512 fgp = &fg->fg_next; 3516 return fg; 3544 frgroup_t *fg, **fgp; local 3556 fg = ipf_findgroup(softc, group, unit, set, &fgp); 3557 if (fg != NULL) { 3558 if (fg->fg_head == NULL && head != NULL) 3559 fg 3676 frgroup_t *fg; local 3820 frgroup_t *fg, **fgp; local 4531 frgroup_t *fg; local 5671 frgroup_t *fg; local 5701 frgroup_t *fg; local 7865 frgroup_t *fg; local 7918 frgroup_t *fg; local [all...] |
/freebsd-11-stable/sys/dev/vt/hw/vga/ |
H A D | vt_vga.c | 187 * The Set/Reset register doesn't contain the fg color anymore, 433 term_color_t fg, term_color_t bg, int overwrite) 492 pattern_ncolors[(dst_y + i) * 16 + fg] |= pattern; 499 term_color_t fg, term_color_t bg, 516 vga_setfg(vd, fg); 614 term_color_t fg, bg; local 659 vt_determine_colors(c, VTBUF_ISCURSOR(vb, row, col), &fg, &bg); 660 if ((used_colors_list[fg] & 0x1) != 0x1) 664 used_colors_list[fg] |= 0x1; 700 0, 0, vf->vf_height, fg, b 429 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 498 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 865 term_color_t fg, bg; local 914 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-11-stable/usr.sbin/ppp/ |
H A D | main.c | 206 unsigned fg : 1; member in struct:switches 270 sw->fg = 1; 438 if (!sw.fg) { 512 if (!sw.fg)
|
/freebsd-11-stable/sys/dev/syscons/ |
H A D | scterm-teken.c | 346 teken_color_t fg, bg; local 349 fg = a->ta_bgcolor; 352 fg = a->ta_fgcolor; 355 if (fg >= 16) 356 fg = teken_256to16(fg); 359 attr = te_to_sc_color[fg & 7] | (fg & 8) |
|