/external/libnl/lib/route/sch/ |
D | red.c | 57 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/ |
D | minmax_reduction.ll | 28 %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/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11gamma.c | 33 static int X11_SetGammaNoLock(_THIS, float red, float green, float blue) in X11_SetGammaNoLock() argument 41 if ( red < MIN_GAMMA ) { in X11_SetGammaNoLock() 42 gamma.red = MIN_GAMMA; in X11_SetGammaNoLock() 44 if ( red > MAX_GAMMA ) { in X11_SetGammaNoLock() 45 gamma.red = MAX_GAMMA; in X11_SetGammaNoLock() 47 gamma.red = red; in X11_SetGammaNoLock() 69 gamma_saved[0] = gamma.red; in X11_SetGammaNoLock() 83 int X11_SetVidModeGamma(_THIS, float red, float green, float blue) in X11_SetVidModeGamma() argument 88 result = X11_SetGammaNoLock(this, red, green, blue); in X11_SetVidModeGamma() 94 static int X11_GetGammaNoLock(_THIS, float *red, float *green, float *blue) in X11_GetGammaNoLock() argument [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
D | inttree.c | 79 it->nil->red = 0; in IT_create() 85 it->root->red = 0; in IT_create() 154 Assert(!it->nil->red,"nil not red in ITLeftRotate"); in LeftRotate() 218 Assert(!it->nil->red,"nil not red in ITRightRotate"); in RightRotate() 263 Assert(!it->nil->red,"nil not red in ITTreeInsertHelp"); in TreeInsertHelp() 323 x->red=1; in IT_insert() 324 while(x->parent->red) { /* use sentinel instead of checking for root */ in IT_insert() 327 if (y->red) { in IT_insert() 328 x->parent->red=0; in IT_insert() 329 y->red=0; in IT_insert() [all …]
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
D | imageformats.h | 29 dst->red = lum; in readColor() 37 dst->L = gl::floatToNormalized<unsigned char>((src->red + src->green + src->blue) / 3.0f); in writeColor() 52 dst->red = gl::normalizedToFloat(src->R); in readColor() 60 dst->red = src->R; in readColor() 68 dst->R = gl::floatToNormalized<unsigned char>(src->red); in writeColor() 73 dst->R = static_cast<unsigned char>(src->red); in writeColor() 88 dst->red = 0.0f; in readColor() 113 dst->red = lum; in readColor() 121 dst->L = gl::floatToNormalized<unsigned char>((src->red + src->green + src->blue) / 3.0f); in writeColor() 139 dst->red = lum; in readColor() [all …]
|
/external/chromium_org/third_party/bintrees/bintrees/ |
D | rbtree.py | 49 self.red = True 72 if (node is not None) and node.red: 83 root.red = True 84 save.red = False 155 self._root.red = False # make root black 174 node.red = True 175 node.left.red = False 176 node.right.red = False 201 self._root.red = False # make root black 240 parent.red = False [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
D | SDL_gamma.c | 93 int SDL_SetGamma(float red, float green, float blue) in SDL_SetGamma() argument 104 CalculateGammaRamp(red, ramp[0]); in SDL_SetGamma() 111 succeeded = video->SetGamma(this, red, green, blue); in SDL_SetGamma() 119 int SDL_GetGamma(float *red, float *green, float *blue) in SDL_GetGamma() argument 132 CalculateGammaFromRamp(red, ramp[0]); in SDL_GetGamma() 139 succeeded = video->GetGamma(this, red, green, blue); in SDL_GetGamma() 144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue) in SDL_SetGammaRamp() argument 163 if ( red ) { in SDL_SetGammaRamp() 164 SDL_memcpy(&video->gamma[0*256], red, 256*sizeof(*video->gamma)); in SDL_SetGammaRamp() 196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue) in SDL_GetGammaRamp() argument [all …]
|
/external/skia/src/animator/ |
D | SkDrawColor.cpp | 25 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/chromium_org/third_party/skia/src/animator/ |
D | SkDrawColor.cpp | 25 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/qemu/distrib/libpng-1.2.46/ |
D | pngrtran.c | 499 int r = (palette[i].red >> (8 - PNG_DITHER_RED_BITS)); in png_set_dither() 676 png_set_rgb_to_gray(png_structp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument 682 if (red > 21474.83647 || red < -21474.83648 || in png_set_rgb_to_gray() 691 red_fixed = (int)((float)red*100000.0 + 0.5); in png_set_rgb_to_gray() 700 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument 729 if (red < 0 || green < 0) in png_set_rgb_to_gray_fixed() 734 else if (red + green < 100000L) in png_set_rgb_to_gray_fixed() 736 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed() 815 png_ptr->background.red == png_ptr->background.green && in png_init_read_transformations() 816 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations() [all …]
|
/external/chromium_org/third_party/libpng/ |
D | pngrtran.c | 499 int r = (palette[i].red >> (8 - PNG_DITHER_RED_BITS)); in png_set_dither() 676 png_set_rgb_to_gray(png_structp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument 682 if (red > 21474.83647 || red < -21474.83648 || in png_set_rgb_to_gray() 691 red_fixed = (int)((float)red*100000.0 + 0.5); in png_set_rgb_to_gray() 700 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument 729 if (red < 0 || green < 0) in png_set_rgb_to_gray_fixed() 734 else if (red + green < 100000L) in png_set_rgb_to_gray_fixed() 736 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed() 815 png_ptr->background.red == png_ptr->background.green && in png_init_read_transformations() 816 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_rgtc.c | 298 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/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | texcompress_rgtc.c | 298 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/chromium_org/components/dom_distiller/core/css/ |
D | distilledpage.css | 317 #loader .circle.red .mask.first { 323 #loader .circle.red .mask.second { 389 #loader .circle.red .mask.first .base { 393 #loader .circle.red .mask.second .base { 433 #loader .circle.red .mask.first .mover { 438 #loader .circle.red .mask.second .mover { 530 #loader.red .circle.red, 531 #loader.red .circle.red .mask, 532 #loader.red .circle.red .mask .base { 535 #loader.red.firstTime .circle.red .mask.second .base { [all …]
|
/external/ppp/pppd/plugins/ |
D | passwordfd.c | 35 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()
|
D | passprompt.c | 33 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/iproute2/tc/ |
D | q_sfq.c | 40 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/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/ |
D | rtp_analyze.cc | 35 DEFINE_int32(red, 117, "RTP payload type for RED"); 124 webrtc::RTPHeader* red = red_headers.front(); in main() local 125 assert(red); in main() 128 red->sequenceNumber, in main() 129 red->timestamp, in main() 131 red->payloadType); in main() 133 delete red; in main()
|
/external/libpng/ |
D | pngrtran.c | 756 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/libpng/contrib/gregbook/ |
D | rpng2-x.c | 1197 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 …]
|
D | readpng.c | 155 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()
|
/external/chromium_org/chrome/test/ispy/common/ |
D | ispy_utils_unittest.py | 23 self.red = Image.new('RGBA', (25, 25), (255, 0, 0, 255)) 32 self.ispy_utils.UploadImage('path/to/red.png', self.red) 39 image_tools.EncodePNG(self.red)) 46 self.ispy_utils.UploadImage('path/to/red.png', self.red) 59 image_tools.EncodePNG(self.red)) 105 self.ispy_utils.GenerateExpectation('test1', [self.red, self.red]) 110 self.ispy_utils.PerformComparison('test', 'test1', self.red) 118 self.ispy_utils.GenerateExpectation('test2', [self.red, self.white]) 127 image_tools.EncodePNG(self.red)) 177 self.ispy_utils.GenerateExpectation('test1', [self.red, self.red]) [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowColor.java | 11 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/chromium_org/third_party/WebKit/Source/core/svg/ |
D | ColorDistance.cpp | 29 …return Color(first.red() + second.red(), first.green() + second.green(), first.blue() + second.blu… in addColors() 34 int redDiff = toColor.red() - fromColor.red(); in distance()
|
/external/eigen/blas/testing/ |
D | runblastest.sh | 4 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)…
|