Searched defs:red (Results 1 - 25 of 79) sorted by relevance

1234

/external/clang/test/CodeGenCXX/
H A Dscoped-enums.cpp4 enum class Color { red, blue, green }; member in class:Color
8 f(Color::red);
H A D2007-04-10-PackedUnion.cpp8 float red; member in struct:ABCS
/external/webkit/Source/WebCore/css/
H A DRGBColor.cpp37 PassRefPtr<CSSPrimitiveValue> RGBColor::red() function in class:WebCore::RGBColor
/external/clang/test/Sema/
H A Dattr-deprecated-message.c18 typedef enum {red, green, blue} Color __attribute__((deprecated("Please avoid Color"))); enumerator in enum:__anon3593
/external/ppp/pppd/plugins/
H A Dpassprompt.c33 ssize_t red; local
73 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood);
74 if (red == 0)
76 if (red < 0) {
83 readgood += red;
H A Dpasswordfd.c35 int readgood, red; local
50 red = read (passwdfd, passwd + readgood, MAXSECRETLEN - 1 - readgood);
51 if (red == 0)
53 if (red < 0) {
58 readgood += red;
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
H A DSDL_x11gamma.c33 static int X11_SetGammaNoLock(_THIS, float red, float green, float blue) argument
41 if ( red < MIN_GAMMA ) {
42 gamma.red = MIN_GAMMA;
44 if ( red > MAX_GAMMA ) {
45 gamma.red = MAX_GAMMA;
47 gamma.red = red;
69 gamma_saved[0] = gamma.red;
83 int X11_SetVidModeGamma(_THIS, float red, float green, float blue) argument
88 result = X11_SetGammaNoLock(this, red, gree
94 X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue) argument
110 X11_GetVidModeGamma(_THIS, float *red, float *green, float *blue) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DColorGtk.cpp29 : m_color(makeRGB(c.red >> 8, c.green >> 8, c.blue >> 8))
36 : m_color(makeRGBA(static_cast<int>(c.red * 255),
46 double red, green, blue, alpha; local
47 getRGBA(red, green, blue, alpha);
48 GdkRGBA rgba = { red, green, blue, alpha };
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
H A Dnon-kerned-drawing.cpp61 CGFloat red, green, blue, alpha; local
62 graphicsContext->fillColor().getRGBA(red, green, blue, alpha);
63 CGContextSetRGBFillColor(cgContext, red, green, blue, alpha);
/external/clang/test/SemaTemplate/
H A Dinstantiate-c99.cpp31 unsigned char red, green, blue; member in struct:Color
/external/jpeg/
H A Dwrrle.c176 rle_pixel **rle_row, *red, *green, *blue; local
241 red = rle_row[0];
245 *red++ = GETJSAMPLE(*output_row++);
/external/libpng/contrib/gregbook/
H A Dreadppm.c133 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) argument
H A Dreadpng.c154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) argument
172 * takes a pointer to a pointer, and it always returns valid red, green
182 *red = pBackground->red >> 8;
187 *red = *green = *blue = pBackground->gray? 255 : 0;
189 *red = *green = *blue = (255/3) * pBackground->gray;
191 *red = *green = *blue = (255/15) * pBackground->gray;
193 *red = (uch)pBackground->red;
/external/qemu/distrib/sdl-1.2.12/src/video/
H A DSDL_gamma.c93 int SDL_SetGamma(float red, float green, float blue) argument
104 CalculateGammaRamp(red, ramp[0]);
111 succeeded = video->SetGamma(this, red, green, blue);
119 int SDL_GetGamma(float *red, float *green, float *blue) argument
132 CalculateGammaFromRamp(red, ramp[0]);
139 succeeded = video->GetGamma(this, red, green, blue);
144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) argument
163 if ( red ) {
164 SDL_memcpy(&video->gamma[0*256], red, 256*sizeof(*video->gamma));
196 int SDL_GetGammaRamp(Uint16 *red, Uint1 argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DFontCairo.cpp136 float red, green, blue, alpha; local
137 context->fillColor().getRGBA(red, green, blue, alpha);
138 cairo_set_source_rgba(cr, red, green, blue, alpha * context->getAlpha());
166 float red, green, blue, alpha; local
167 context->strokeColor().getRGBA(red, green, blue, alpha);
168 cairo_set_source_rgba(cr, red, green, blue, alpha * context->getAlpha());
H A DCairoUtilities.cpp61 float red, green, blue, alpha; local
62 color.getRGBA(red, green, blue, alpha);
63 cairo_set_source_rgba(context, red, green, blue, alpha);
/external/webkit/Tools/DumpRenderTree/qt/
H A DImageDiff.cpp102 qreal red = (qRed(pixel) - qRed(basePixel)) / static_cast<float>(qMax(255 - qRed(basePixel), qRed(basePixel))); local
106 qreal distance = qSqrt(red * red + green * green + blue * blue + alpha * alpha) / 2.0f;
/external/mesa3d/src/pixelflinger2/
H A Dpixelflinger2.cpp66 static void BlendColor(GGLInterface * iface, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument
69 ctx->state.blendState.color[0] = MIN2(MAX2(red * 255, 0.0f), 255.0f);
/external/skia/gm/
H A Dshapes.cpp15 static SkShape* make_shape0(bool red) { argument
18 if (red) {
/external/skia/samplecode/
H A DSampleShapes.cpp20 static SkShape* make_shape0(bool red) { argument
23 if (red) {
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFEColorMatrix.cpp76 inline void matrix(double& red, double& green, double& blue, double& alpha, const Vector<float>& values) argument
78 double r = values[0] * red + values[1] * green + values[2] * blue + values[3] * alpha + values[4] * 255;
79 double g = values[5] * red + values[6] * green + values[7] * blue + values[8] * alpha + values[9] * 255;
80 double b = values[10] * red + values[11] * green + values[12] * blue + values[13] * alpha + values[14] * 255;
81 double a = values[15] * red + values[16] * green + values[17] * blue + values[18] * alpha + values[19] * 255;
83 red = r;
89 inline void saturate(double& red, double& green, double& blue, const float& s) argument
91 double r = (0.213 + 0.787 * s) * red + (0.715 - 0.715 * s) * green + (0.072 - 0.072 * s) * blue;
92 double g = (0.213 - 0.213 * s) * red + (0.715 + 0.285 * s) * green + (0.072 - 0.072 * s) * blue;
93 double b = (0.213 - 0.213 * s) * red
100 huerotate(double& red, double& green, double& blue, const float& hue) argument
119 luminance(double& red, double& green, double& blue, double& alpha) argument
132 double red = pixelArray->get(pixelByteOffset); local
[all...]
/external/bison/src/
H A Dstate.c231 int red = state_reduction_find (s, r); local
234 if (reds->look_ahead_tokens && red != -1)
240 BITSET_FOR_EACH (biter, reds->look_ahead_tokens[red], k, 0)
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86vm/
H A DXF86VMode.c179 req->red = (CARD32)(Gamma->red * 10000.);
206 Gamma->red = ((float)rep.red) / 10000.;
1130 unsigned short *red,
1147 _XSend(dpy, (char*)red, size * 2);
1161 unsigned short *red,
1184 _XRead(dpy, (char*)red, rep.size << 1);
1126 XF86VidModeSetGammaRamp( Display *dpy, int screen, int size, unsigned short *red, unsigned short *green, unsigned short *blue ) argument
1157 XF86VidModeGetGammaRamp( Display *dpy, int screen, int size, unsigned short *red, unsigned short *green, unsigned short *blue ) argument
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/
H A DSDL_nxvideo.c488 Uint16 * red, * green, * blue ; local
505 red = ramp ;
510 GammaRamp_R [i] = red [i] ;
523 Uint16 * red, * green, * blue ; local
528 red = ramp ;
533 red [i] = GammaRamp_R [i] ;
539 red [i] = green [i] = blue [i] = i ;
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
H A DSDL_ph_video.h65 Uint32 red; member in struct:ColourMasks

Completed in 441 milliseconds

1234