/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/libnl/lib/route/qdisc/ |
D | red.c | 2 * lib/route/qdisc/red.c RED Qdisc 14 * @defgroup qdisc_red Random Early Detection (RED) 25 #include <netlink/route/qdisc/red.h> 44 struct rtnl_red *red = data; in red_msg_parser() local 60 red->qr_limit = opts->limit; in red_msg_parser() 61 red->qr_qth_min = opts->qth_min; in red_msg_parser() 62 red->qr_qth_max = opts->qth_max; in red_msg_parser() 63 red->qr_flags = opts->flags; in red_msg_parser() 64 red->qr_wlog = opts->Wlog; in red_msg_parser() 65 red->qr_plog = opts->Plog; in red_msg_parser() [all …]
|
/external/python/cpython2/Demo/newmetaclasses/ |
D | Enum.py | 9 red = 1 13 Now, Color.red, Color.green and Color.blue behave totally 64 EnumInstance('Color', 'red', 12) prints as 'Color.red' and behaves 94 red = 1 variable in _test.Color 98 print Color.red 100 print repr(Color.red) 101 print Color.red == Color.red 102 print Color.red == Color.blue 103 print Color.red == 1 104 print Color.red == 2 [all …]
|
/external/ImageMagick/MagickCore/ |
D | gem.c | 72 % ConvertHCLToRGB() transforms a (hue, chroma, luma) to a (red, green, 78 % const double luma,double *red,double *green,double *blue) 85 % o red, green, blue: A pointer to a pixel component of type Quantum. 89 const double luma,double *red,double *green,double *blue) in ConvertHCLToRGB() argument 103 assert(red != (double *) NULL); in ConvertHCLToRGB() 148 *red=QuantumRange*(r+m); in ConvertHCLToRGB() 164 % ConvertHCLpToRGB() transforms a (hue, chroma, luma) to a (red, green, 171 % const double luma,double *red,double *green,double *blue) 178 % o red, green, blue: A pointer to a pixel component of type Quantum. 182 const double luma,double *red,double *green,double *blue) in ConvertHCLpToRGB() argument [all …]
|
D | colorspace.c | 119 static inline void ConvertRGBToCMY(const double red,const double green, in ConvertRGBToCMY() argument 122 *cyan=QuantumScale*(QuantumRange-red); in ConvertRGBToCMY() 135 static void ConvertRGBToLMS(const double red,const double green, in ConvertRGBToLMS() argument 143 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLMS() 147 static void ConvertRGBToLab(const double red,const double green, in ConvertRGBToLab() argument 155 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLab() 159 static void ConvertRGBToLuv(const double red,const double green, in ConvertRGBToLuv() argument 167 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLuv() 171 static void ConvertRGBToxyY(const double red,const double green, in ConvertRGBToxyY() argument 179 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToxyY() [all …]
|
D | feature.c | 591 % access the red channel contrast, for example, like this: 698 grays[i].red=(~0U); in GetImageFeatures() 728 grays[ScaleQuantumToMap(GetPixelRed(image,p))].red= in GetImageFeatures() 754 if (grays[i].red != ~0U) in GetImageFeatures() 755 grays[gray.red++].red=grays[i].red; in GetImageFeatures() 770 number_grays=gray.red; in GetImageFeatures() 946 while (grays[u].red != ScaleQuantumToMap(GetPixelRed(image,p))) in GetImageFeatures() 948 … while (grays[v].red != ScaleQuantumToMap(GetPixelRed(image,p+offset*GetPixelChannels(image)))) in GetImageFeatures() 950 cooccurrence[u][v].direction[i].red++; in GetImageFeatures() 951 cooccurrence[v][u].direction[i].red++; in GetImageFeatures() [all …]
|
D | colorspace-private.h | 32 pixel->red=((QuantumRange-(QuantumScale*pixel->red*(QuantumRange- in ConvertCMYKToRGB() 48 red, in ConvertRGBToCMYK() local 53 red=QuantumScale*pixel->red; in ConvertRGBToCMYK() 59 red=QuantumScale*DecodePixelGamma(pixel->red); in ConvertRGBToCMYK() 63 if ((fabs((double) red) < MagickEpsilon) && in ConvertRGBToCMYK() 70 cyan=(MagickRealType) (1.0-red); in ConvertRGBToCMYK() 82 pixel->red=QuantumRange*cyan; in ConvertRGBToCMYK()
|
D | enhance.c | 390 pixel.red=clut_map[ScaleQuantumToMap(ClampToQuantum( in ClutImage() 391 pixel.red))].red; in ClutImage() 495 red, in ColorDecisionListImage() member 555 color_correction.red.slope=1.0; in ColorDecisionListImage() 556 color_correction.red.offset=0.0; in ColorDecisionListImage() 557 color_correction.red.power=1.0; in ColorDecisionListImage() 587 color_correction.red.slope=StringToDouble(token,(char **) NULL); in ColorDecisionListImage() 619 color_correction.red.offset=StringToDouble(token, in ColorDecisionListImage() 652 color_correction.red.power=StringToDouble(token,(char **) NULL); in ColorDecisionListImage() 692 " color_correction.red.slope: %g",color_correction.red.slope); in ColorDecisionListImage() [all …]
|
/external/python/cpython2/Demo/metaclasses/ |
D | Enum.py | 15 red = 1 19 Now, Color.red, Color.green and Color.blue behave totally 34 statement. In the above example, it would be {'red': 1, 51 For example, Color.red returns the value corresponding to red. 93 EnumInstance('Color', 'red', 12) prints as 'Color.red' and behaves 129 red = 1 variable in _test.Color 133 print Color.red 136 print Color.red == Color.red 137 print Color.red == Color.blue 138 print Color.red == 1 [all …]
|
/external/ImageMagick/api_examples/ |
D | wand.c | 4 magick -size 100x100 xc:red \ 47 *red, /* red image wand */ in main() local 59 /* read in the red image */ in main() 60 red = NewMagickWand(); in main() 61 MagickSetSize(red,100,100); in main() 62 status = MagickReadImage(red, "xc:red" ); in main() 64 ThrowWandException(red); in main() 87 /* append rose image into the red image wand */ in main() 88 MagickSetLastIterator(red); in main() 89 MagickAddImage(red,rose); in main() [all …]
|
/external/python/cpython2/Tools/pynche/ |
D | StripViewer.py | 5 the variations in red, green, and blue respectively of the currently selected 13 then the Red variations show colors from (0,163,196) to (255,163,196), the 62 # red variations, green+blue = cyan constant 63 def constant_red_generator(numchips, red, green, blue): argument 65 return map(None, [red] * numchips, seq, seq) 67 # green variations, red+blue = magenta constant 68 def constant_green_generator(numchips, red, green, blue): argument 72 # blue variations, red+green = yellow constant 73 def constant_blue_generator(numchips, red, green, blue): argument 77 # red variations, green+blue = cyan constant [all …]
|
D | DetailsViewer.py | 9 variations are tied together when incrementing and decrementing. Red, green, 10 and blue are self evident. By tying together red and green, you can modify 11 the yellow level of the color. By tying together red and blue, you can modify 26 other side. Thus if red were at 238 and 25 were added to it, red 94 self.__radio1 = Checkbutton(frame, text='Red', 190 red = self.__red + delta 191 tie.append(red) 193 red = self.__red 207 if red < 0 or green < 0 or blue < 0 or \ 208 red > 255 or green > 255 or blue > 255: [all …]
|
D | ColorDB.py | 47 # key is (red, green, blue) tuple, value is (name, [aliases]) 49 # key is name, value is (red, green, blue) 60 # extract the red, green, blue, and name 61 red, green, blue = self._extractrgb(mo) 67 key = (red, green, blue) 78 return [int(x) for x in mo.group('red', 'green', 'blue')] 94 """Return (red, green, blue) for name""" 101 def nearest(self, red, green, blue): argument 102 """Return the name of color nearest (red, green, blue)""" 110 rdelta = red - r [all …]
|
/external/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 21 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_opaque() local 24 dstPtr[i] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in swizzle_mask16_to_rgba_opaque() 38 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_opaque() local 41 dstPtr[i] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in swizzle_mask16_to_bgra_opaque() 55 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_unpremul() local 59 dstPtr[i] = SkPackARGB_as_RGBA(alpha, red, green, blue); in swizzle_mask16_to_rgba_unpremul() 73 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_unpremul() local 77 dstPtr[i] = SkPackARGB_as_BGRA(alpha, red, green, blue); in swizzle_mask16_to_bgra_unpremul() 91 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_premul() local 95 dstPtr[i] = premultiply_argb_as_rgba(alpha, red, green, blue); in swizzle_mask16_to_rgba_premul() [all …]
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | rbt.c | 28 * Module: Operations executed on red-black struct 33 /* Construct a red-black tree node */ 48 /* Destructor of a red-black tree node */ 199 /* Traverse a red-black subtree */ 239 /* Remove all objects from a black-red tree */ 249 /* Destruct a red-black tree */ 300 /* Find a spot for the new object, insert the object as a red in rbtree_insert() 305 new_node = rbnode_construct(object, red); in rbtree_insert() 377 /* Insert the new object as a red leaf, being the successor of in insert_successor_at() 380 new_node = rbnode_construct(object, red); in insert_successor_at() [all …]
|
D | rbt.h | 24 * Container class for a red-black tree ...... 28 * 1. Every node is either red or black 31 * 4. If a node is red, both its children are black 35 * Due to points 4 & 5, the depth of a red-black tree containing n nodes 53 /* Color enumeration for nodes of red-black tree */ 62 typedef enum red_black_color {red, black} rb_color; enumerator 64 /*! Representation of a node in a red-black tree */ 77 /* Construct of a red-black tree node 136 /* Traverse a red-black sub-tree 142 /* Representation of a red-black tree */ [all …]
|
/external/syslinux/com32/sysdump/ |
D | rbtree.c | 37 * Simple implementation of a left-leaning red-black tree with 64-bit 43 * information about left-leaning red-black trees. 68 return h && h->red; in is_red() 76 x->red = x->left->red; in rotate_left() 77 x->left->red = true; in rotate_left() 86 x->red = x->right->red; in rotate_right() 87 x->right->red = true; in rotate_right() 93 h->red = !h->red; in color_flip() 94 h->left->red = !h->left->red; in color_flip() 95 h->right->red = !h->right->red; in color_flip() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_rgtc.c | 2 * Copyright (C) 2011 Red Hat Inc. 318 GLubyte red; in fetch_red_rgtc1() local 319 util_format_unsigned_fetch_texel_rgtc(rowStride, map, i, j, &red, 1); in fetch_red_rgtc1() 320 texel[RCOMP] = UBYTE_TO_FLOAT(red); in fetch_red_rgtc1() 330 GLubyte red; in fetch_l_latc1() local 331 util_format_unsigned_fetch_texel_rgtc(rowStride, map, i, j, &red, 1); in fetch_l_latc1() 334 texel[BCOMP] = UBYTE_TO_FLOAT(red); in fetch_l_latc1() 342 GLbyte red; in fetch_signed_red_rgtc1() local 344 i, j, &red, 1); in fetch_signed_red_rgtc1() 345 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in fetch_signed_red_rgtc1() [all …]
|
D | api_loopback.h | 39 _mesa_Color3b( GLbyte red, GLbyte green, GLbyte blue ); 41 _mesa_Color3d( GLdouble red, GLdouble green, GLdouble blue ); 43 _mesa_Color3i( GLint red, GLint green, GLint blue ); 45 _mesa_Color3s( GLshort red, GLshort green, GLshort blue ); 47 _mesa_Color3ui( GLuint red, GLuint green, GLuint blue ); 49 _mesa_Color3us( GLushort red, GLushort green, GLushort blue ); 51 _mesa_Color3ub( GLubyte red, GLubyte green, GLubyte blue ); 67 _mesa_Color4b( GLbyte red, GLbyte green, GLbyte blue, 70 _mesa_Color4d( GLdouble red, GLdouble green, GLdouble blue, 73 _mesa_Color4i( GLint red, GLint green, GLint blue, GLint alpha ); [all …]
|
/external/iproute2/man/man8/ |
D | tc-red.8 | 1 .TH RED 8 "13 December 2001" "iproute2" "Linux" 5 .B tc qdisc ... red 25 full, which may not be the optimal behaviour. RED also performs tail drop, 109 that RED will shape for you! Optional. Default : 10Mbit 112 As mentioned before, RED can either 'mark' or 'drop'. Explicit Congestion 113 Notification allows RED to notify remote hosts that their rate exceeds the 127 (Added in linux-3.3) Sets RED in adaptive mode as described in http://icir.org/floyd/papers/adaptiv… 129 Goal of Adaptive RED is to make 'probability' dynamic value between 1% and 50% to reach the target … 136 # tc qdisc add dev eth0 parent 1:1 handle 10: red 148 Congestion Avoidance. http://www.aciri.org/floyd/papers/red/red.html [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | EnumMultisetTest.java | 76 BLUE, RED, YELLOW, GREEN, WHITE 85 ms.add(Color.RED); 87 ms.add(Color.RED); 90 assertEquals(2, ms.count(Color.RED)); 95 asList(Color.RED, Color.YELLOW, Color.RED)); 98 assertEquals(2, ms.count(Color.RED)); 111 ms.add(Color.RED); 126 ms.add(Color.RED, 2); 127 assertEquals("[BLUE x 3, RED x 2, YELLOW]", ms.toString()); 133 asList(Color.RED, Color.YELLOW, Color.RED)); [all …]
|
/external/llvm/test/CodeGen/NVPTX/ |
D | surf-read-cuda.ll | 12 define void @foo(i64 %img, float* %red, i32 %idx) { 14 ; SM20: suld.b.1d.b32.trap {%r[[RED:[0-9]+]]}, [%rd[[SURFREG]], {%r{{[0-9]+}}}] 16 ; SM30: suld.b.1d.b32.trap {%r[[RED:[0-9]+]]}, [%rd[[SURFREG]], {%r{{[0-9]+}}}] 18 ; SM20: cvt.rn.f32.s32 %f[[REDF:[0-9]+]], %r[[RED]] 19 ; SM30: cvt.rn.f32.s32 %f[[REDF:[0-9]+]], %r[[RED]] 23 store float %ret, float* %red 31 define void @bar(float* %red, i32 %idx) { 34 ; SM20: suld.b.1d.b32.trap {%r[[RED:[0-9]+]]}, [surf0, {%r{{[0-9]+}}}] 35 ; SM30: suld.b.1d.b32.trap {%r[[RED:[0-9]+]]}, [%rd[[SURFHANDLE]], {%r{{[0-9]+}}}] 37 ; SM20: cvt.rn.f32.s32 %f[[REDF:[0-9]+]], %r[[RED]] [all …]
|
D | tex-read-cuda.ll | 12 define void @foo(i64 %img, float* %red, i32 %idx) { 14 ; SM20: tex.1d.v4.f32.s32 {%f[[RED:[0-9]+]], %f[[GREEN:[0-9]+]], %f[[BLUE:[0-9]+]], %f[[ALPHA:[0-9]… 16 ; SM30: tex.1d.v4.f32.s32 {%f[[RED:[0-9]+]], %f[[GREEN:[0-9]+]], %f[[BLUE:[0-9]+]], %f[[ALPHA:[0-9]… 19 ; SM20: st.global.f32 [%r{{[0-9]+}}], %f[[RED]] 20 ; SM30: st.global.f32 [%r{{[0-9]+}}], %f[[RED]] 21 store float %ret, float* %red 30 define void @bar(float* %red, i32 %idx) { 33 ; SM20: tex.1d.v4.f32.s32 {%f[[RED:[0-9]+]], %f[[GREEN:[0-9]+]], %f[[BLUE:[0-9]+]], %f[[ALPHA:[0-9]… 34 ; SM30: tex.1d.v4.f32.s32 {%f[[RED:[0-9]+]], %f[[GREEN:[0-9]+]], %f[[BLUE:[0-9]+]], %f[[ALPHA:[0-9]… 37 ; SM20: st.global.f32 [%r{{[0-9]+}}], %f[[RED]] [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | EnumMultisetTest.java | 50 BLUE, RED, YELLOW, GREEN, WHITE 59 ms.add(Color.RED); 61 ms.add(Color.RED); 64 assertEquals(2, ms.count(Color.RED)); 69 asList(Color.RED, Color.YELLOW, Color.RED)); 72 assertEquals(2, ms.count(Color.RED)); 85 ms.add(Color.RED); 100 ms.add(Color.RED, 2); 101 assertEquals("[BLUE x 3, RED x 2, YELLOW]", ms.toString()); 108 ms.add(Color.RED, 2);
|
/external/syslinux/com32/lib/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 679 int red_fixed = (int)((float)red*100000.0 + 0.5); in png_set_rgb_to_gray() 689 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument 718 if (red < 0 || green < 0) in png_set_rgb_to_gray_fixed() 723 else if (red + green < 100000L) in png_set_rgb_to_gray_fixed() 725 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed() 804 png_ptr->background.red == png_ptr->background.green && in png_init_read_transformations() 805 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations() 808 png_ptr->background.gray = png_ptr->background.red; in png_init_read_transformations() [all …]
|