/third_party/typescript/tests/baselines/reference/ |
D | expandoFunctionContextualTypesJs.types | 2 /** @typedef {{ color: "red" | "blue" }} MyComponentProps */ 18 >MyComponent.defaultProps = { color: "red"} : { color: "red"; } 22 >{ color: "red"} : { color: "red"; } 24 color: "red" 25 >color : "red" 26 >"red" : "red" 39 >MyComponent2.defaultProps = { color: "red"} : { color: "red"; } 43 >{ color: "red"} : { color: "red"; } 45 color: "red" 46 >color : "red" [all …]
|
D | expandoFunctionContextualTypes.types | 3 color: "red" | "blue" 4 >color : "red" | "blue" 20 >MyComponent.defaultProps = { color: "red"} : { color: "red"; } 24 >{ color: "red"} : { color: "red"; } 26 color: "red" 27 >color : "red" 28 >"red" : "red"
|
D | nestedFreshLiteral.types | 17 >{ nested: { prop: { colour: 'red' } }} : { nested: { prop: { colour: string; }; }; } 19 nested: { prop: { colour: 'red' } } 21 >{ prop: { colour: 'red' } } : { prop: { colour: string; }; } 23 >{ colour: 'red' } : { colour: string; } 25 >'red' : "red"
|
D | jsxImportSourceNonPragmaComment.types | 11 >( <input css={css` color: red; `} /> ) : any 14 ><input css={css` color: red; `} /> : any 19 >css` color: red; ` : any 21 >` color: red; ` : "\n color: red;\n " 23 color: red;
|
/third_party/node/deps/npm/node_modules/wrap-ansi/node_modules/ansi-styles/ |
D | index.js | 7 const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};… 24 red: [31, 39], property 112 value: (red, green, blue) => { argument 115 if (red === green && green === blue) { 116 if (red < 8) { 120 if (red > 248) { 124 return Math.round(((red - 8) / 247) * 24) + 232; 128 + (36 * Math.round(red / 255 * 5)) 173 let red; 178 red = (((code - 232) * 10) + 8) / 255; [all …]
|
/third_party/node/deps/npm/node_modules/chalk/source/vendor/ansi-styles/ |
D | index.js | 7 const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};… 24 red: [31, 39], property 112 value(red, green, blue) { argument 115 if (red === green && green === blue) { 116 if (red < 8) { 120 if (red > 248) { 124 return Math.round(((red - 8) / 247) * 24) + 232; 128 + (36 * Math.round(red / 255 * 5)) 173 let red; 178 red = (((code - 232) * 10) + 8) / 255; [all …]
|
/third_party/skia/third_party/externals/angle2/src/image_util/ |
D | imageformats.cpp | 20 dst->red = lum; in readColor() 28 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 38 dst->red = src->R; in readColor() 46 dst->red = gl::normalizedToFloat(src->R); in readColor() 54 dst->R = static_cast<uint8_t>(src->red); in writeColor() 59 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 69 dst->red = 0.0f; in readColor() 88 dst->red = lum; in readColor() 96 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor() 109 dst->red = lum; in readColor() [all …]
|
/third_party/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 …]
|
/third_party/python/Tools/pynche/ |
D | DetailsViewer.py | 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: 210 red, green, blue = self.__red, self.__green, self.__blue 212 if red < 0: 213 red += 256 218 if red > 255: 219 red -= 256 [all …]
|
D | StripViewer.py | 63 def constant_red_generator(numchips, red, green, blue): argument 65 return list(zip([red] * numchips, seq, seq)) 68 def constant_green_generator(numchips, red, green, blue): argument 73 def constant_blue_generator(numchips, red, green, blue): argument 78 def constant_cyan_generator(numchips, red, green, blue): argument 83 def constant_magenta_generator(numchips, red, green, blue): argument 85 return list(zip([red] * numchips, seq, [blue] * numchips)) 88 def constant_yellow_generator(numchips, red, green, blue): argument 90 return list(zip([red] * numchips, [green] * numchips, seq)) 248 red, green, blue = ColorDB.rrggbb_to_triplet(color) [all …]
|
D | ColorDB.py | 60 red, green, blue = self._extractrgb(mo) 66 key = (red, green, blue) 100 def nearest(self, red, green, blue): argument 109 rdelta = red - r 127 def aliases_of(self, red, green, blue): argument 129 name, aliases = self.__byrgb[(red, green, blue)] 131 raise BadColor((red, green, blue)) from None 213 red = color[1:3] 216 rgbtuple = int(red, 16), int(green, 16), int(blue, 16) 253 red, green, blue = rgbtuple = colordb.find_byname(target) variable [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_rgtc.c | 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() 355 GLbyte red; in fetch_signed_l_latc1() local [all …]
|
/third_party/json/docs/examples/ |
D | nlohmann_json_serialize_enum_2.cpp | 10 red, green, blue, unknown enumerator 15 { Color::unknown, "unknown" }, { Color::red, "red" }, 17 { Color::red, "rot" } // a second conversion for Color::red 24 json j_red = ns::Color::red; in main() 25 std::cout << static_cast<int>(ns::Color::red) << " -> " << j_red << std::endl; in main() 30 auto red = j_red.get<ns::Color>(); in main() local 32 std::cout << j_red << " -> " << static_cast<int>(red) << std::endl; in main()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationProvokingVertexTests.cpp | 473 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in iterate() local 485 vertices.push_back(tcu::Vec4(-1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line 0 in iterate() 487 vertices.push_back(tcu::Vec4(-1.0f, 0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line 1 in iterate() 491 vertices.push_back(tcu::Vec4(-0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 493 vertices.push_back(tcu::Vec4( 0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 497 vertices.push_back(tcu::Vec4(-1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); // line strip in iterate() 498 vertices.push_back(tcu::Vec4( 1.0f,-0.5f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 499 vertices.push_back(tcu::Vec4(-1.0f, 0.5f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 503 vertices.push_back(tcu::Vec4(-0.5f, 1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() 504 vertices.push_back(tcu::Vec4( 0.5f,-1.0f, 0.0f, 1.0f)); vertices.push_back(red); in iterate() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles3/ |
D | es3cCopyTexImageConversionsTests.cpp | 270 ChannelData red; member 355 PixelData getR16IPixelData(int is_source_pixel, GLenum type, int red); 356 PixelData getR16UIPixelData(int is_source_pixel, GLenum type, unsigned int red); 357 PixelData getR32IPixelData(int is_source_pixel, GLenum type, int red); 358 PixelData getR32UIPixelData(int is_source_pixel, GLenum type, unsigned int red); 359 PixelData getR8IPixelData(int is_source_pixel, GLenum type, int red); 360 PixelData getR8UIPixelData(int is_source_pixel, GLenum type, unsigned int red); 361 PixelData getR8PixelData(int is_source_pixel, GLenum type, unsigned char red); 362 PixelData getRG16IPixelData(int is_source_pixel, GLenum type, int red, int green); 363 …PixelData getRG16UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int gree… [all …]
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.2/abstract_construct_signatures/ |
D | abstract_construct_signatures_3.ts | 35 abstract red: number; 44 red: number = 0; 50 return [this.red, this.green, this.blue]; 55 … constructor(red: number = 0, green: number = 0, blue: number = 0, a: number = 0, b: number = 0) { 58 this.red = red; this.green = green; this.blue = blue;
|
/third_party/skia/third_party/externals/libpng/ |
D | pngrtran.c | 774 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); in png_set_quantize() 971 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument 1013 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed() 1022 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1032 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed() 1059 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument 1063 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray() 1177 png_ptr->background.red = in png_init_palette_transformations() 1178 png_ptr->palette[png_ptr->background.index].red; in png_init_palette_transformations() 1277 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | BPTCCompressedTextureTest.cpp | 120 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 121 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 142 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 143 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 191 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 192 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 295 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 296 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() 320 EXPECT_PIXEL_COLOR_NEAR(0, 0, GLColor::red, kPixelTolerance); in TEST_P() 321 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P() [all …]
|
D | WEBGLVideoTextureTest.cpp | 71 const std::vector<GLColor> redColors(4, GLColor::red); in TEST_P() 82 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 121 const std::vector<GLColor> redColors(4, GLColor::red); in TEST_P() 131 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 177 const std::vector<GLColor> redColors(4, GLColor::red); in TEST_P() 199 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 203 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 238 const std::vector<GLColor> redColors(4, GLColor::red); in TEST_P() 248 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
D | rpng2-x.c | 1230 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local 1286 if (ii == 0) { red = v; green = t; blue = p; } in rpng2_x_load_bg_image() 1287 else if (ii == 1) { red = q; green = v; blue = p; } in rpng2_x_load_bg_image() 1288 else if (ii == 2) { red = p; green = v; blue = t; } in rpng2_x_load_bg_image() 1289 else if (ii == 3) { red = p; green = q; blue = v; } in rpng2_x_load_bg_image() 1290 else if (ii == 4) { red = t; green = p; blue = v; } in rpng2_x_load_bg_image() 1291 else if (ii == 5) { red = v; green = p; blue = q; } in rpng2_x_load_bg_image() 1292 *dest++ = (uch)(red * 255.0); in rpng2_x_load_bg_image() 1307 ulg red, green, blue; in rpng2_x_load_bg_image() local 1315 red = *src++; in rpng2_x_load_bg_image() [all …]
|
/third_party/parse5/test/data/parser-feedback/ |
D | tricky01.test | 42 …red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain\\n<p>I shou… 43 …red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain\n<p>I shoul… 58 "color": "red" 110 "I should not be red. " 116 "color": "red" 130 "Italic and red." 147 "Italic and red. " 163 " I should not be red."
|
/third_party/gstreamer/gstplugins_bad/gst/gaudieffects/ |
D | gstexclusion.c | 260 gint x, red, green, blue; in transform() local 265 red = (in >> 16) & 0xff; in transform() 269 red = factor - in transform() 270 (((factor - red) * (factor - red) / factor) + ((green * red) / factor)); in transform() 278 red = CLAMP (red, 0, 255); in transform() 282 *dest++ = (red << 16) | (green << 8) | blue; in transform()
|
D | gstdodge.c | 235 gint x, red, green, blue; in transform() local 240 red = (in >> 16) & 0xff; in transform() 244 red = (256 * red) / (256 - red); in transform() 248 red = CLAMP (red, 0, 255); in transform() 252 *dest++ = (red << 16) | (green << 8) | blue; in transform()
|
/third_party/astc-encoder/Source/ |
D | astcenc_color_unquantize.cpp | 414 int red = v0 & 0x3F; in hdr_rgbo_unpack() local 446 red |= bit4 << 6; in hdr_rgbo_unpack() 448 red |= bit3 << 6; in hdr_rgbo_unpack() 451 red |= bit5 << 7; in hdr_rgbo_unpack() 453 red |= bit2 << 7; in hdr_rgbo_unpack() 456 red |= bit1 << 8; in hdr_rgbo_unpack() 458 red |= bit0 << 8; in hdr_rgbo_unpack() 461 red |= bit0 << 9; in hdr_rgbo_unpack() 463 red |= bit6 << 9; in hdr_rgbo_unpack() 466 red |= bit3 << 10; in hdr_rgbo_unpack() [all …]
|
/third_party/skia/third_party/externals/swiftshader/tests/ |
D | presubmit.sh | 15 red="$(tput setaf 1)" 25 echo "${red}FAILED${normal}" 31 echo "${red}FAILED${normal}" 34 echo "${red}Check $name failed.${normal}" 47 echo "${red}Git commit message must have a Bug: line" 64 echo "${red}Copyright issue in these files:"
|