/external/rust/crates/arbitrary/ |
D | README.md | 28 Say you're writing a color conversion library, and you have an `Rgb` struct to 29 represent RGB colors. You might want to implement `Arbitrary` for `Rgb` so that 30 you could take arbitrary `Rgb` instances in a test function that asserts some 57 pub struct Rgb { 74 pub struct Rgb { 80 impl<'a> Arbitrary<'a> for Rgb { 85 Ok(Rgb { r, g, b })
|
/external/rust/crates/criterion/src/plot/gnuplot_backend/ |
D | summary.rs | 16 Color::Rgb(178, 34, 34), 17 Color::Rgb(46, 139, 87), 18 Color::Rgb(0, 139, 139), 19 Color::Rgb(255, 215, 0), 20 Color::Rgb(0, 0, 139), 21 Color::Rgb(220, 20, 60), 22 Color::Rgb(139, 0, 139), 23 Color::Rgb(0, 255, 127),
|
D | mod.rs | 39 const DARK_BLUE: Color = Color::Rgb(31, 120, 180); 40 const DARK_ORANGE: Color = Color::Rgb(255, 127, 0); 41 const DARK_RED: Color = Color::Rgb(227, 26, 28);
|
/external/rust/crates/arbitrary/tests/ |
D | derive.rs | 11 pub struct Rgb { struct 19 let rgb: Rgb = arbitrary_from(&[4, 5, 6]); in struct_with_named_fields() argument 24 assert_eq!((3, Some(3)), <Rgb as Arbitrary>::size_hint(0)); in struct_with_named_fields()
|
/external/rust/crates/env_logger/src/fmt/writer/termcolor/ |
D | extern_impl.rs | 466 Rgb(u8, u8, u8), enumerator 481 Color::Rgb(r, g, b) => Some(termcolor::Color::Rgb(r, g, b)), in into_termcolor()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowColorSpace.java | 17 @Implements(value = ColorSpace.Rgb.class, minSdk = O)
|
/external/rust/crates/termcolor/src/ |
D | lib.rs | 1432 Color::Rgb(r, g, b) => write_custom!(r, g, b), in write_color() 1446 Color::Rgb(r, g, b) => write_custom!(r, g, b), in write_color() 1802 Rgb(u8, u8, u8), enumerator 1842 Color::Rgb(_, _, _) => return None, in to_windows() 1893 Ok(Color::Rgb(v[0], v[1], v[2])) in from_str_numeric() 2116 assert_eq!(color, Ok(Color::Rgb(0, 0, 0))); in test_rgb_parse_ok() 2119 assert_eq!(color, Ok(Color::Rgb(0, 128, 255))); in test_rgb_parse_ok() 2122 assert_eq!(color, Ok(Color::Rgb(0, 0, 0))); in test_rgb_parse_ok() 2125 assert_eq!(color, Ok(Color::Rgb(0x33, 0x66, 0xFF))); in test_rgb_parse_ok() 2164 let _ = buf.write_color(true, &Color::Rgb(254, 253, 255), false); in test_var_ansi_write_rgb()
|
/external/rust/crates/libfuzzer-sys/ci/ |
D | script.sh | 40 grep -q Rgb $(pwd)/debug_output
|
/external/rust/crates/criterion-plot/src/ |
D | display.rs | 41 Color::Rgb(r, g, b) => Cow::from(format!("#{:02x}{:02x}{:02x}", r, g, b)), in display()
|
D | lib.rs | 800 Rgb(u8, u8, u8), enumerator
|
/external/webp/src/dsp/ |
D | upsampling_neon.c | 249 NEON_UPSAMPLE_FUNC(UpsampleRgbLinePair_NEON, Rgb, 3)
|
/external/rust/crates/libc/src/ |
D | psp.rs | 865 Rgb = 0,
|