Searched defs:fg (Results 1 - 25 of 44) sorted by relevance

12

/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/webkit/glue/
H A Dwebcursor_gtk.cc32 const GdkColor fg = { 0, 0, 0, 0 }; local
38 cursor = gdk_cursor_new_from_pixmap(source, mask, &fg, &bg,
/external/chromium_org/webkit/common/cursors/
H A Dwebcursor_gtk.cc32 const GdkColor fg = { 0, 0, 0, 0 }; local
38 cursor = gdk_cursor_new_from_pixmap(source, mask, &fg, &bg,
/external/qemu/
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/chromium_org/third_party/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/skia/gm/
H A Dgammatext.cpp151 const SkColor fg[] = { local
168 for (size_t i = 0; i < SK_ARRAY_COUNT(fg); ++i) {
169 paint.setColor(fg[i]);
186 x += SkIntToScalar(1024) / SK_ARRAY_COUNT(fg);
/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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_crtc.c193 crtc_set_cursor_colors(xf86CrtcPtr crtc, int bg, int fg) argument
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
H A Dxorg_exa.c344 ExaPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planeMask, Pixel fg) argument
351 exa_debug_printf("ExaPrepareSolid(0x%x)\n", fg);
374 return xorg_solid_bind_state(exa, priv, fg);
/external/libppp/src/
H A Dmain.c203 unsigned fg : 1; member in struct:switches
267 sw->fg = 1;
434 if (!sw.fg) {
508 if (!sw.fg)
/external/linux-tools-perf/util/
H A Dcolor.c53 int fg = -2; local
61 /* [fg [bg]] [attr] */
79 if (fg == -2) {
80 fg = val;
95 if (attr >= 0 || fg >= 0 || bg >= 0) {
104 if (fg >= 0) {
107 if (fg < 8) {
109 *dst++ = '0' + fg;
111 dst += sprintf(dst, "38;5;%d", fg);
/external/mesa3d/src/gallium/state_trackers/xa/
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/xorg/
H A Dxorg_crtc.c193 crtc_set_cursor_colors(xf86CrtcPtr crtc, int bg, int fg) argument
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
H A Dxorg_exa.c344 ExaPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planeMask, Pixel fg) argument
351 exa_debug_printf("ExaPrepareSolid(0x%x)\n", fg);
374 return xorg_solid_bind_state(exa, priv, 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
/external/harfbuzz_ng/util/
H A Dhelper-cairo.cc324 unsigned int fr, fg, fb, fa, br, bg, bb, ba; local
327 fr = fg = fb = 0; fa = 255;
328 sscanf (view_opts->fore + (*view_opts->fore=='#'), "%2x%2x%2x%2x", &fr, &fg, &fb, &fa);
331 if (!view_opts->annotate && ba == 255 && br == bg && bg == bb && fr == fg && fg == fb)
368 cairo_set_source_rgba (cr, fr / 255., fg / 255., fb / 255., fa / 255.);
/external/chromium_org/third_party/sqlite/src/src/
H A Dvdbemem.c205 int fg = pMem->flags; local
209 assert( !(fg&MEM_Zero) );
210 assert( !(fg&(MEM_Str|MEM_Blob)) );
211 assert( fg&(MEM_Int|MEM_Real) );
226 if( fg & MEM_Int ){
229 assert( fg & MEM_Real );
/external/clang/test/Index/
H A Dprint-type-size.cpp356 // CHECK64: FieldDecl=fg:[[@LINE+2]]:7 (Definition) [type=Test3::C] [typekind=Record] [sizeof=88] [alignof=8] [offsetof=128]
357 // CHECK32: FieldDecl=fg:[[@LINE+1]]:7 (Definition) [type=Test3::C] [typekind=Record] [sizeof=60] [alignof=4] [offsetof=96]
358 C fg; member in struct:Test3::BaseStruct
/external/chromium/chrome/browser/renderer_host/
H A Drender_widget_host_view_gtk.cc75 const GdkColor fg = { 0, 0, 0, 0 }; local
82 gdk_cursor_new_from_pixmap(source, mask, &fg, &bg, 2, 2);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcustrtst.c502 fg[] = { 0x66, 0x67, 0 }, local
522 if (u_strpbrk(testString, fg) != NULL) {
523 log_err("u_strpbrk didn't return NULL for \"fg\".\n");
549 if (u_strpbrk(testSurrogateString, fg) != NULL) {
550 log_err("u_strpbrk didn't return NULL for \"fg\".\n");
588 if (u_strcspn(testString, fg) != u_strlen(testString)) {
589 log_err("u_strcspn didn't return NULL for \"fg\".\n");
612 if (u_strcspn(testSurrogateString, fg) != u_strlen(testSurrogateString)) {
613 log_err("u_strcspn didn't return NULL for \"fg\".\n");
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dcode.c593 static unsigned int merge(Span *x0, State *fg, State *bg){ argument
594 Span *x = x0, *f = fg->go.span, *b = bg->go.span;
595 unsigned int nf = fg->go.nSpans, nb = bg->go.nSpans;
/external/icu4c/test/cintltst/
H A Dcustrtst.c502 fg[] = { 0x66, 0x67, 0 }, local
522 if (u_strpbrk(testString, fg) != NULL) {
523 log_err("u_strpbrk didn't return NULL for \"fg\".\n");
549 if (u_strpbrk(testSurrogateString, fg) != NULL) {
550 log_err("u_strpbrk didn't return NULL for \"fg\".\n");
588 if (u_strcspn(testString, fg) != u_strlen(testString)) {
589 log_err("u_strcspn didn't return NULL for \"fg\".\n");
612 if (u_strcspn(testSurrogateString, fg) != u_strlen(testSurrogateString)) {
613 log_err("u_strcspn didn't return NULL for \"fg\".\n");

Completed in 677 milliseconds

12