Home
last modified time | relevance | path

Searched refs:red (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/external/libnl/lib/route/sch/
Dred.c57 struct rtnl_red *red; in red_msg_parser() local
71 red = red_alloc(qdisc); in red_msg_parser()
72 if (!red) in red_msg_parser()
77 red->qr_limit = opts->limit; in red_msg_parser()
78 red->qr_qth_min = opts->qth_min; in red_msg_parser()
79 red->qr_qth_max = opts->qth_max; in red_msg_parser()
80 red->qr_flags = opts->flags; in red_msg_parser()
81 red->qr_wlog = opts->Wlog; in red_msg_parser()
82 red->qr_plog = opts->Plog; in red_msg_parser()
83 red->qr_scell_log = opts->Scell_log; in red_msg_parser()
[all …]
/external/llvm/test/Transforms/LoopVectorize/
Dminmax_reduction.ll28 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ]
31 %cmp3 = icmp sgt i32 %0, %max.red.08
32 %max.red.0 = select i1 %cmp3, i32 %0, i32 %max.red.08
39 ret i32 %max.red.0
57 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ]
60 %cmp3 = icmp slt i32 %max.red.08, %0
61 %max.red.0 = select i1 %cmp3, i32 %0, i32 %max.red.08
68 ret i32 %max.red.0
85 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ]
88 %cmp3 = icmp slt i32 %0, %max.red.08
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DTexturePixel.java19 public float intensity, red, green, blue, alpha; field in TexturePixel
29 this.red = pixel.red; in fromPixel()
42 this.red = colorRGBA.r; in fromColor()
62 this.red = r; in fromARGB8()
77 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromARGB8()
107 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage()
112 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage()
127 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage()
133 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage()
146 this.intensity = this.blue = this.red = this.green = this.alpha = 0.0f; in fromImage()
[all …]
/external/skia/src/animator/
DSkDrawColor.cpp25 SkScalar red = SkIntToScalar(SkColorGetR(color)); in RGB_to_HSV() local
28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); in RGB_to_HSV()
29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV()
41 if (red == value) { in RGB_to_HSV()
47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV()
49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); in RGB_to_HSV()
65 SkScalar red SK_INIT_TO_AVOID_WARNING; in HSV_to_RGB()
69 red = green = blue = value; in HSV_to_RGB()
79 case 0: red = value; green = t; blue = p; break; in HSV_to_RGB()
80 case 1: red = q; green = value; blue = p; break; in HSV_to_RGB()
[all …]
/external/skia/src/codec/
DSkMaskSwizzler.cpp20 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_opaque() local
23 dstPtr[i] = SkPackARGB32NoCheck(0xFF, red, green, blue); in swizzle_mask16_to_n32_opaque()
37 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_unpremul() local
42 dstPtr[i] = SkPackARGB32NoCheck(alpha, red, green, blue); in swizzle_mask16_to_n32_unpremul()
56 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_premul() local
61 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask16_to_n32_premul()
73 uint8_t red = masks->getRed(p); in swizzle_mask24_to_n32_opaque() local
76 dstPtr[i/3] = SkPackARGB32NoCheck(0xFF, red, green, blue); in swizzle_mask24_to_n32_opaque()
89 uint8_t red = masks->getRed(p); in swizzle_mask24_to_n32_unpremul() local
94 dstPtr[i/3] = SkPackARGB32NoCheck(alpha, red, green, blue); in swizzle_mask24_to_n32_unpremul()
[all …]
DSkMasks.cpp132 masks.red &= (1 << bitsPerPixel) - 1; in CreateMasks()
139 if (((masks.red & masks.green) | (masks.red & masks.blue) | in CreateMasks()
140 (masks.red & masks.alpha) | (masks.green & masks.blue) | in CreateMasks()
146 const MaskInfo red = process_mask(masks.red, bitsPerPixel); in CreateMasks() local
151 return SkNEW_ARGS(SkMasks, (red, green, blue, alpha)); in CreateMasks()
155 SkMasks::SkMasks(const MaskInfo red, const MaskInfo green, in SkMasks() argument
157 : fRed(red) in SkMasks()
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/data/tree_construction/
Dtricky01.dat19 <font color=red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain
20 <p>I should not be red. <font color=red>Red. <i>Italic and red.</p>
21 <p>Italic and red. </i> Red.</font> I should not be red.</p>
29 | color="red"
35 | color="red"
42 | "I should not be red. "
44 | color="red"
47 | "Italic and red."
49 | color="red"
55 | color="red"
[all …]
Dtests23.dat2 <p><font size=4><font color=red><font size=4><font size=4><font size=4><font size=4><font size=4><f…
15 | color="red"
27 | color="red"
30 | color="red"
38 | color="red"
/external/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c298 GLubyte red; in _mesa_fetch_texel_red_rgtc1() local
302 i, j, &red, 1); in _mesa_fetch_texel_red_rgtc1()
303 texel[RCOMP] = UBYTE_TO_FLOAT(red); in _mesa_fetch_texel_red_rgtc1()
313 GLbyte red; in _mesa_fetch_texel_signed_red_rgtc1() local
317 i, j, &red, 1); in _mesa_fetch_texel_signed_red_rgtc1()
318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in _mesa_fetch_texel_signed_red_rgtc1()
328 GLubyte red, green; in _mesa_fetch_texel_rg_rgtc2() local
332 i, j, &red, 2); in _mesa_fetch_texel_rg_rgtc2()
336 texel[RCOMP] = UBYTE_TO_FLOAT(red); in _mesa_fetch_texel_rg_rgtc2()
346 GLbyte red, green; in _mesa_fetch_texel_signed_rg_rgtc2() local
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DTGALoader.java183 entry.red = (byte)(int)(getBitsAsByte(cMapData, offset, bitsPerColor) * scalar); in load()
211 byte red = 0; in load()
267 red = dis.readByte(); in load()
269 rawData[rawDataIndex++] = red; in load()
280 byte red = 0; in load()
301 red = dis.readByte(); in load()
304 rawData[rawDataIndex++] = red; in load()
315 red = dis.readByte(); in load()
317 rawData[rawDataIndex++] = red; in load()
340 red = dis.readByte(); in load()
[all …]
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngrtran.c755 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); in png_set_quantize()
952 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument
995 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1004 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed()
1014 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed()
1041 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument
1045 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray()
1153 png_ptr->background.red = in png_init_palette_transformations()
1154 png_ptr->palette[png_ptr->background.index].red; in png_init_palette_transformations()
1253 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations()
[all …]
/external/libpng/
Dpngrtran.c756 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); in png_set_quantize()
953 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument
996 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1005 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed()
1015 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed()
1042 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument
1046 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray()
1160 png_ptr->background.red = in png_init_palette_transformations()
1161 png_ptr->palette[png_ptr->background.index].red; in png_init_palette_transformations()
1260 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations()
[all …]
/external/iproute2/tc/
Dq_sfq.c40 int ok = 0, red = 0; in sfq_parse_opt() local
105 red++; in sfq_parse_opt()
112 red++; in sfq_parse_opt()
119 red++; in sfq_parse_opt()
126 red++; in sfq_parse_opt()
133 red++; in sfq_parse_opt()
140 red++; in sfq_parse_opt()
143 red++; in sfq_parse_opt()
146 red++; in sfq_parse_opt()
157 if (red) { in sfq_parse_opt()
[all …]
/external/ppp/pppd/plugins/
Dpasswordfd.c35 int readgood, red; in pwfd_passwd() local
50 red = read (passwdfd, passwd + readgood, MAXSECRETLEN - 1 - readgood); in pwfd_passwd()
51 if (red == 0) in pwfd_passwd()
53 if (red < 0) { in pwfd_passwd()
58 readgood += red; in pwfd_passwd()
Dpassprompt.c33 ssize_t red; in promptpass() local
73 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood); in promptpass()
74 if (red == 0) in promptpass()
76 if (red < 0) { in promptpass()
83 readgood += red; in promptpass()
/external/libpng/contrib/gregbook/
Drpng2-x.c1197 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local
1253 if (ii == 0) { red = v; green = t; blue = p; } in rpng2_x_load_bg_image()
1254 else if (ii == 1) { red = q; green = v; blue = p; } in rpng2_x_load_bg_image()
1255 else if (ii == 2) { red = p; green = v; blue = t; } in rpng2_x_load_bg_image()
1256 else if (ii == 3) { red = p; green = q; blue = v; } in rpng2_x_load_bg_image()
1257 else if (ii == 4) { red = t; green = p; blue = v; } in rpng2_x_load_bg_image()
1258 else if (ii == 5) { red = v; green = p; blue = q; } in rpng2_x_load_bg_image()
1259 *dest++ = (uch)(red * 255.0); in rpng2_x_load_bg_image()
1274 ulg red, green, blue; in rpng2_x_load_bg_image() local
1282 red = *src++; in rpng2_x_load_bg_image()
[all …]
Dreadpng.c155 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() argument
183 *red = pBackground->red >> 8; in readpng_get_bgcolor()
188 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor()
190 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor()
192 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor()
194 *red = (uch)pBackground->red; in readpng_get_bgcolor()
Drpng-x.c706 ulg red, green, blue; in rpng_x_display_image() local
713 red = *src++; in rpng_x_display_image()
717 pixel = (red << RShift) | in rpng_x_display_image()
727 red = (RShift < 0)? red << (-RShift) : red >> RShift; in rpng_x_display_image()
730 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng_x_display_image()
745 red = r; in rpng_x_display_image()
749 red = bg_red; in rpng_x_display_image()
756 alpha_composite(red, r, a, bg_red); in rpng_x_display_image()
760 pixel = (red << RShift) | in rpng_x_display_image()
780 ush red, green, blue; in rpng_x_display_image() local
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowColor.java11 public static int rgb(int red, int green, int blue) { in rgb() argument
12 return argb(0xff, red, green, blue); in rgb()
16 public static int argb(int alpha, int red, int green, int blue) { in argb() argument
17 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb()
/external/v8/benchmarks/
Draytrace.js80 red : 0.0, property in Flog.RayTracer.Color
89 this.red = r;
97 result.red = c1.red + c2.red;
107 result.red = c1.red + s;
119 result.red = c1.red - c2.red;
129 result.red = c1.red * c2.red;
139 result.red = c1.red * f;
149 result.red = c1.red / f;
157 this.red = (this.red > 0.0) ? ( (this.red > 1.0) ? 1.0 : this.red ) : 0.0;
163 …var d = Math.abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue -…
[all …]
/external/eigen/blas/testing/
Drunblastest.sh4 red='\E[31m'
21 echo -e $red Test $1 failed: $black
29 echo -e $red "Test $1 failed (FATAL ERROR, read the file $1.summ for details)" $black
37 …echo -e $red "Test $1 failed (FAILED THE TESTS OF ERROR-EXITS, read the file $1.summ for details)…
/external/mesa3d/src/mesa/drivers/x11/
Dxm_tri.c74 PACK_TRUECOLOR(p, FixedToInt(span.red), \
79 span.red += span.redStep; \
108 pRow[i] = PACK_8A8B8G8R(FixedToInt(span.red), \
113 span.red += span.redStep; \
143 pRow[i] = PACK_8A8R8G8B(FixedToInt(span.red), \
148 span.red += span.redStep; \
177 pRow[i] = PACK_8R8G8B(FixedToInt(span.red), \
181 span.red += span.redStep; \
209 ptr->r = FixedToInt(span.red); \
214 span.red += span.redStep; \
[all …]
/external/deqp/modules/gles3/functional/
Des3fClippingTests.cpp383 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in genColorString() local
388 if (p == red) return "(red)"; in genColorString()
1454 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in init() local
1459 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4( 1.3f, 1.0f, 2.0f, 1.0f), yellow }, in init()
1460 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4( 1.3f, -1.0f, 2.0f, 1.0f), lightBlue }, in init()
1461 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4(-1.0f, -1.0f, -2.0f, 1.0f), yellow }, in init()
1462 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4(-1.0f, 1.0f, -2.0f, 1.0f), lightBlue }, in init()
1507 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in init() local
1564 …{tcu::Vec4(-0.2f, -0.3f, 0.0f, 1.0f), red, tcu::Vec4( 0.2f, -0.3f, 0.0f, 1.0f), yellow, tcu::… in init()
1567 …{tcu::Vec4( 0.6f, 1.2f, 0.0f, 1.0f), red, tcu::Vec4( 1.2f, 0.6f, 0.0f, 1.0f), yellow, tcu::V… in init()
[all …]
/external/deqp/modules/gles2/functional/
Des2fClippingTests.cpp380 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in genColorString() local
385 if (p == red) return "(red)"; in genColorString()
1450 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in init() local
1455 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4( 1.3f, 1.0f, 2.0f, 1.0f), yellow }, in init()
1456 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4( 1.3f, -1.0f, 2.0f, 1.0f), lightBlue }, in init()
1457 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4(-1.0f, -1.0f, -2.0f, 1.0f), yellow }, in init()
1458 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4(-1.0f, 1.0f, -2.0f, 1.0f), lightBlue }, in init()
1503 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in init() local
1560 …{tcu::Vec4(-0.2f, -0.3f, 0.0f, 1.0f), red, tcu::Vec4( 0.2f, -0.3f, 0.0f, 1.0f), yellow, tcu::… in init()
1563 …{tcu::Vec4( 0.6f, 1.2f, 0.0f, 1.0f), red, tcu::Vec4( 1.2f, 0.6f, 0.0f, 1.0f), yellow, tcu::V… in init()
[all …]
/external/libcxx/test/std/utilities/function.objects/unord.hash/
Denum.pass.cpp22 enum class Colors { red, orange, yellow, green, blue, indigo, violet }; enumerator
24 enum class LongColors : short { red, orange, yellow, green, blue, indigo, violet }; enumerator
25 enum class ShortColors : long { red, orange, yellow, green, blue, indigo, violet }; enumerator
26 enum class EightBitColors : uint8_t { red, orange, yellow, green, blue, indigo, violet }; enumerator

12345678910>>...19