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

12345

/netbsd-current/usr.bin/grep/
H A Dfastgrep.c58 fgrepcomp(fastgrep_t *fg, const char *pat) argument
63 fg->len = strlen(pat);
64 fg->bol = false;
65 fg->eol = false;
66 fg->reversed = false;
68 fg->pattern = (unsigned char *)grep_strdup(pat);
72 fg->qsBc[i] = fg->len;
73 for (i = 1; i < fg->len; i++)
74 fg
81 fastcomp(fastgrep_t *fg, const char *pat) argument
205 grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch) argument
[all...]
/netbsd-current/sys/dev/rasops/
H A Drasops8.c133 uint32_t bg, fg; local
139 fg = ATTR_FG(ri, attr) & 0xff;
149 stamp[i] = (i & 8 ? fg : bg);
150 stamp[i] |= (i & 4 ? fg : bg) << 8;
151 stamp[i] |= (i & 2 ? fg : bg) << 16;
152 stamp[i] |= (i & 1 ? fg : bg) << 24;
155 stamp[i] = (i & 1 ? fg : bg);
156 stamp[i] |= (i & 2 ? fg : bg) << 8;
157 stamp[i] |= (i & 4 ? fg : bg) << 16;
158 stamp[i] |= (i & 8 ? fg
[all...]
H A Drasops15.c134 uint32_t bg, fg; local
140 fg = ATTR_FG(ri, attr) & 0xffff;
144 stamp[i] = (i & 16 ? fg : bg);
145 stamp[i] |= (i & 8 ? fg : bg) << 16;
146 stamp[i + 1] = (i & 4 ? fg : bg);
147 stamp[i + 1] |= (i & 2 ? fg : bg) << 16;
149 stamp[i] = (i & 8 ? fg : bg);
150 stamp[i] |= (i & 16 ? fg : bg) << 16;
151 stamp[i + 1] = (i & 2 ? fg : bg);
152 stamp[i + 1] |= (i & 4 ? fg
[all...]
H A Drasops4.c121 uint32_t bg, fg; local
127 fg = ATTR_FG(ri, attr) & 0xf;
137 stamp[i] = (i & 1 ? fg : bg) << 12;
138 stamp[i] |= (i & 2 ? fg : bg) << 8;
139 stamp[i] |= (i & 4 ? fg : bg) << 4;
140 stamp[i] |= (i & 8 ? fg : bg) << 0;
143 stamp[i] = (i & 1 ? fg : bg) << 0;
144 stamp[i] |= (i & 2 ? fg : bg) << 4;
145 stamp[i] |= (i & 4 ? fg : bg) << 8;
146 stamp[i] |= (i & 8 ? fg
[all...]
H A Drasops2.c127 uint32_t bg, fg; local
133 fg = ATTR_FG(ri, attr) & 3;
143 stamp[i] = (i & 8 ? fg : bg);
144 stamp[i] |= (i & 4 ? fg : bg) << 2;
145 stamp[i] |= (i & 2 ? fg : bg) << 4;
146 stamp[i] |= (i & 1 ? fg : bg) << 6;
149 stamp[i] = (i & 1 ? fg : bg);
150 stamp[i] |= (i & 2 ? fg : bg) << 2;
151 stamp[i] |= (i & 4 ? fg : bg) << 4;
152 stamp[i] |= (i & 8 ? fg
[all...]
H A Drasops32.c134 uint32_t fg, bg; local
141 fg = ATTR_FG(ri, attr);
144 stamp[i + 0] = i & 32 ? fg : bg;
145 stamp[i + 1] = i & 16 ? fg : bg;
146 stamp[i + 2] = i & 8 ? fg : bg;
147 stamp[i + 3] = i & 4 ? fg : bg;
H A Drasops1_putchar_width.h67 uint32_t bg, fg; local
94 fg = ATTR_FG(ri, attr);
96 /* If fg and bg match this becomes a space character */
97 if (uc == ' ' || __predict_false(fg == bg)) {
135 *rp = fg;
138 *hp = fg;
H A Drasops1-4_putchar.h92 uint32_t bg, fg, lbg, rbg, clr[2], lmask, rmask, tmp; local
124 fg = ATTR_FG(ri, attr);
126 /* If fg and bg match this becomes a space character */
127 if (uc == ' ' || __predict_false(fg == bg)) {
153 clr[1] = fg & COLOR_MASK;
186 tmp = (*rp & lmask) | (fg & rmask);
236 clr[1] = fg & COLOR_MASK;
288 *bp = (*bp & lmask) | (fg & ~lmask);
292 *bp++ = fg;
294 *bp = (*bp & rmask) | (fg
[all...]
H A Drasops24.c166 uint32_t bg, fg, c1, c2, c3, c4; local
172 fg = ATTR_FG(ri, attr) & 0xffffff;
176 c1 = i & 32 ? fg : bg;
177 c2 = i & 16 ? fg : bg;
178 c3 = i & 8 ? fg : bg;
179 c4 = i & 4 ? fg : bg;
181 c1 = i & 8 ? fg : bg;
182 c2 = i & 4 ? fg : bg;
183 c3 = i & 16 ? fg : bg;
184 c4 = i & 32 ? fg
[all...]
H A Drasops1.c97 uint32_t bg, fg, lbg, rbg, fb, lmask, rmask, tmp, tmp0, tmp1; local
129 fg = ATTR_FG(ri, attr);
131 /* If fg and bg match this becomes a space character */
132 if (uc == ' ' || __predict_false(fg == bg)) {
185 tmp = (*rp & lmask) | (fg & rmask);
254 tmp0 = (rp[0] & lmask) | (fg & ~lmask);
255 tmp1 = (rp[1] & rmask) | (fg & ~rmask);
/netbsd-current/sys/dev/hdaudio/
H A Dhdaudio.c246 struct hdaudio_function_group *fg; local
261 fg = &co->co_fg[i];
262 if (fg->fg_device && fg->fg_unsol)
263 fg->fg_unsol(fg->fg_device, entry->resp);
675 hdaudio_attach_fg(struct hdaudio_function_group *fg, prop_array_t config) argument
677 struct hdaudio_codec *co = fg->fg_codec;
680 uint64_t fgptr = (vaddr_t)fg;
683 prop_dictionary_set_uint8(args, "function-group-type", fg
704 struct hdaudio_function_group *fg; local
948 struct hdaudio_function_group *fg; local
968 struct hdaudio_function_group *fg; local
1326 struct hdaudio_function_group *fg = NULL; local
1349 struct hdaudio_function_group *fg; local
1395 struct hdaudio_function_group *fg; local
1443 struct hdaudio_function_group *fg; local
1480 struct hdaudio_function_group *fg; local
[all...]
/netbsd-current/external/bsd/tmux/dist/
H A Dstyle.c46 * Parse an embedded style of the form "fg=colour,bg=colour,bright,...". Note
78 sy->gc.fg = base->fg;
155 sy->gc.fg = value;
157 sy->gc.fg = base->fg;
254 if (gc->fg != 8) {
256 colour_tostring(gc->fg));
289 if (sy->gc.fg != 8)
290 gc->fg
[all...]
/netbsd-current/sys/arch/luna68k/dev/
H A Domrasops.c83 uint8_t fg; member in struct:__anon51::__anon52::__anon53
227 om_set_rowattr(int row, uint8_t fg, uint8_t bg) argument
230 if (rowattr[row].fg == fg && rowattr[row].bg == bg)
235 if (rowattr[row].fg == rowattr[row].bg) {
237 if (rowattr[row].fg != fg && rowattr[row].bg != bg) {
242 rowattr[row].fg = fg;
254 /* Setting fg equa
428 om_fgbg2rop(uint8_t fg, uint8_t bg) argument
456 uint8_t fg, bg; local
568 uint8_t fg, bg; local
609 uint8_t fg, bg; local
1212 uint8_t fg; local
1685 om_allocattr(void *cookie, int fg, int bg, int flags, long *attrp) argument
1751 om_unpack_attr(long attr, uint8_t *fg, uint8_t *bg, int *underline) argument
[all...]
/netbsd-current/external/bsd/less/dist/
H A Dscreen.c121 #define SET_FG_COLOR(fg) _settextcolor(fg)
123 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); }
134 #define SET_FG_COLOR(fg) textcolor(fg)
136 #define SETCOLORS(fg,bg) { SET_FG_COLOR(fg); SET_BG_COLOR(bg); }
172 #define MAKEATTR(fg,bg) ((WORD)((fg)|((b
2511 int fg; local
2576 int fg; local
2641 int fg; local
3000 WIN32setcolors(int fg, int bg) argument
[all...]
H A Doutput.c102 static int fg, fgi, bg, bgi; local
124 if (fg == 0 && bg == 0)
126 fg = nm_fg_color & 7;
157 fg = nm_fg_color & 7;
208 fg = nm_fg_color & 7;
264 fg = screen_color[code - 30];
267 case 39: /* default fg */
268 fg = nm_fg_color & 7;
298 b = fg | fgi;
301 f = fg | fg
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/tui/
H A Dtui-io.c187 int fg; member in struct:color_pair
192 return fg < o.fg || (fg == o.fg && bg < o.bg);
269 get_color_pair (int fg, int bg) argument
271 color_pair c = { fg, bg };
282 init_pair (next, fg, bg);
303 const ui_file_style::color &fg = style.get_foreground (); local
305 if (!fg
389 ui_file_style::color fg = style.get_foreground (); local
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/tui/
H A Dtui-io.c191 int fg; member in struct:color_pair
196 return fg < o.fg || (fg == o.fg && bg < o.bg);
273 get_color_pair (int fg, int bg) argument
275 color_pair c = { fg, bg };
286 init_pair (next, fg, bg);
307 const ui_file_style::color &fg = style.get_foreground (); local
309 if (!fg
396 ui_file_style::color fg = style.get_foreground (); local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dmingw-hdep.c288 const ui_file_style::color &fg = style.get_foreground (); local
291 if (fg.is_none ())
293 else if (fg.is_basic ())
294 fgcolor = fg_color[fg.get_value () & 15];
296 fgcolor = rgb_to_16colors (fg);
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dmingw-hdep.c289 const ui_file_style::color &fg = style.get_foreground (); local
292 if (fg.is_none ())
294 else if (fg.is_basic ())
295 fgcolor = fg_color[fg.get_value () & 15];
297 fgcolor = rgb_to_16colors (fg);
/netbsd-current/external/bsd/ipf/dist/tools/
H A Dipftest.c709 frgroup_t *fg; local
714 for (fg = softc->ipf_groups[i][0]; fg != NULL;
715 fg = fg->fg_next) {
717 i, fg->fg_name, fg->fg_ref, fg->fg_flags);
718 dumprules(fg->fg_start);
723 for (fg
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/cli/
H A Dcli-style.c102 ui_file_style::basic_color fg)
105 m_foreground (cli_colors[fg - ui_file_style::NONE]),
141 int fg = color_number (m_foreground); local
154 return ui_file_style (fg, bg, intensity);
101 cli_style_option(const char *name, ui_file_style::basic_color fg) argument
H A Dcli-style.h33 cli_style_option (const char *name, ui_file_style::basic_color fg);
/netbsd-current/external/gpl3/gdb/dist/gdb/cli/
H A Dcli-style.h33 cli_style_option (const char *name, ui_file_style::basic_color fg,
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dsntrup761.c502 small fg[p+p-1]; local
509 fg[i] = result;
514 fg[i] = result;
518 fg[i-p] = F3_freeze(fg[i-p]+fg[i]);
519 fg[i-p+1] = F3_freeze(fg[i-p+1]+fg[i]);
522 for (i = 0;i < p;++i) h[i] = fg[
576 Fq fg[p+p-1]; local
[all...]
/netbsd-current/sys/dev/rcons/
H A Drcons_subr.c478 rcons_setcolor(struct rconsole *rc, int fg, int bg) argument
482 if (fg > WSCOL_WHITE || fg < 0)
490 bg = fg;
491 fg = flg;
498 bg = fg;
499 fg = flg;
508 rc->rc_fgcolor = fg;
509 rc->rc_ops->allocattr(rc->rc_cookie, fg, bg, flg, &rc->rc_attr);

Completed in 171 milliseconds

12345