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

1234

/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
H A Dlibslang.h19 #define sltt_set_color(obj, name, fg, bg) \
20 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
H A Dbrowser.c476 const char *name, *fg, *bg; member in struct:ui_browser_colorset
482 .fg = "red",
488 .fg = "green",
494 .fg = "default",
500 .fg = "black",
506 .fg = "blue",
512 .fg = "magenta",
518 .fg = "white",
530 char *fg = NULL, *bg; local
543 fg
[all...]
/external/qemu/ui/
H A Dvnchextile.h22 pixel_t fg = 0; local
40 fg = irow[i];
45 if (irow[i] != bg && irow[i] != fg) {
50 else if (irow[i] == fg)
64 pixel_t tmp = fg;
65 fg = bg;
75 if (n_colors < 3 && (!*has_fg || *last_fg != fg)) {
78 *last_fg = fg;
93 if (irow[i] == fg) {
174 /* we really don't have to invalidate either the bg or fg
[all...]
/external/harfbuzz_ng/util/
H A Dansi-print.cc160 bg (0), fg (0), unicolor (true),
179 fg = 0;
181 if (i != bg && freq[fg] < freq[i])
182 fg = i;
183 if (fg == bg || freq[fg] == 0) {
184 fg = bg;
198 color_t fgc = color_t::from_ansi (fg);
217 unsigned int fg;
407 if (last_bg != bi.fg || last_f
[all...]
H A Dhelper-cairo.cc351 unsigned int fr, fg, fb, fa, br, bg, bb, ba; local
354 fr = fg = fb = 0; fa = 255;
355 sscanf (view_opts->fore + (*view_opts->fore=='#'), "%2x%2x%2x%2x", &fr, &fg, &fb, &fa);
358 if (!view_opts->annotate && ba == 255 && br == bg && bg == bb && fr == fg && fg == fb)
396 cairo_set_source_rgba (cr, fr / 255., fg / 255., fb / 255., fa / 255.);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dcolor.c54 int fg = -2; local
62 /* [fg [bg]] [attr] */
80 if (fg == -2) {
81 fg = val;
96 if (attr >= 0 || fg >= 0 || bg >= 0) {
105 if (fg >= 0) {
108 if (fg < 8) {
110 *dst++ = '0' + fg;
112 dst += sprintf(dst, "38;5;%d", fg);
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapFilter.cpp41 SkScalar fr = 0, fg = 0, fb = 0, fa = 0; local
63 fg += combined_weight * SkGetPackedG32(c);
71 fg = SkScalarDiv(fg, weight);
77 int g = SkClampMax(SkScalarRoundToInt(fg), a);
/external/skia/src/core/
H A DSkBitmapFilter.cpp40 SkScalar fr = 0, fg = 0, fb = 0, fa = 0; local
57 fg += combined_weight * SkGetPackedG32(c);
65 fg = SkScalarDiv(fg, weight);
71 int g = SkClampMax(SkScalarRoundToInt(fg), a);
/external/pixman/demos/
H A Dsrgb-trap-test.c85 pixman_color_t fg = { 0xffff, 0xffff, 0xffff, 0xffff }; local
101 src = pixman_image_create_solid_fill (&fg);
107 convert_color (&fg_srgb, &fg);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_composite.h27 Pixel fg);
H A Dxorg_composite.c532 Pixel fg)
538 pixel_to_float4(fg, exa->solid_color, pixmap->tex->format);
543 (fg >> 24) & 0xff, (fg >> 16) & 0xff,
544 (fg >> 8) & 0xff, (fg >> 0) & 0xff,
530 xorg_solid_bind_state(struct exa_context *exa, struct exa_pixmap_priv *pixmap, Pixel fg) argument
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_composite.h27 Pixel fg);
H A Dxorg_composite.c532 Pixel fg)
538 pixel_to_float4(fg, exa->solid_color, pixmap->tex->format);
543 (fg >> 24) & 0xff, (fg >> 16) & 0xff,
544 (fg >> 8) & 0xff, (fg >> 0) & 0xff,
530 xorg_solid_bind_state(struct exa_context *exa, struct exa_pixmap_priv *pixmap, Pixel fg) argument
/external/chromium_org/third_party/skia/gm/
H A Ddftext.cpp140 const SkColor fg[] = { local
154 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) {
155 paint.setColor(fg[i]);
168 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) {
169 paint.setColor(fg[i]);
H A Dgammatext.cpp157 const SkColor fg[] = { local
174 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) {
175 paint.setColor(fg[i]);
192 x += SkIntToScalar(1024) / SK_ARRAY_COUNT(fg);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleTextBox.cpp72 void drawTest(SkCanvas* canvas, SkScalar w, SkScalar h, SkColor fg, SkColor bg) { argument
87 paint.setColor(fg);
/external/libvterm/src/
H A Dpen.c129 VTermColor *colp = (attr == VTERM_ATTR_BACKGROUND) ? &state->pen.bg : &state->pen.fg;
148 state->pen.fg = state->default_fg; setpenattr_col(state, VTERM_ATTR_FOREGROUND, state->default_fg);
167 setpenattr_col( state, VTERM_ATTR_FOREGROUND, state->pen.fg);
299 argi += 1 + lookup_colour(CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.fg, &state->fg_index);
300 setpenattr_col(state, VTERM_ATTR_FOREGROUND, state->pen.fg);
305 state->pen.fg = state->default_fg;
306 setpenattr_col(state, VTERM_ATTR_FOREGROUND, state->pen.fg);
439 val->color = state->pen.fg;
/external/lldb/examples/python/
H A Dgdbremote.py92 def black(self, fg = True):
94 The foreground color will be set if "fg" tests True. The background color will be set if "fg" tests False.'''
96 if fg:
102 def red(self, fg = True):
104 The foreground color will be set if "fg" tests True. The background color will be set if "fg" tests False.'''
106 if fg:
112 def green(self, fg = True):
114 The foreground color will be set if "fg" test
[all...]
/external/skia/samplecode/
H A DSampleTextBox.cpp72 void drawTest(SkCanvas* canvas, SkScalar w, SkScalar h, SkColor fg, SkColor bg) { argument
87 paint.setColor(fg);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
H A Dxa_context.h87 uint32_t fg);
H A Dxa_context.c284 uint32_t fg)
296 xa_pixel_to_float4_a8(fg, ctx->solid_color);
298 xa_pixel_to_float4(fg, ctx->solid_color);
307 (fg >> 24) & 0xff, (fg >> 16) & 0xff,
308 (fg >> 8) & 0xff, (fg >> 0) & 0xff,
283 xa_solid_prepare(struct xa_context *ctx, struct xa_surface *dst, uint32_t fg) argument
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_context.h87 uint32_t fg);
H A Dxa_context.c284 uint32_t fg)
296 xa_pixel_to_float4_a8(fg, ctx->solid_color);
298 xa_pixel_to_float4(fg, ctx->solid_color);
307 (fg >> 24) & 0xff, (fg >> 16) & 0xff,
308 (fg >> 8) & 0xff, (fg >> 0) & 0xff,
283 xa_solid_prepare(struct xa_context *ctx, struct xa_surface *dst, uint32_t fg) argument
/external/skia/gm/
H A Dgammatext.cpp159 const SkColor fg[] = { local
176 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) {
177 paint.setColor(fg[i]);
194 x += SkIntToScalar(1024) / SK_ARRAY_COUNT(fg);
/external/clang/test/Sema/
H A Dms_class_layout.cpp47 C fg; member in struct:BaseStruct
221 // CHECK-NEXT: 16 | class C fg
252 // CHECK-NEXT: 16 | class C fg

Completed in 1628 milliseconds

1234