/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/ |
H A D | extern_impl.rs | 33 /// level_style.set_color(Color::Red).set_bold(true); 55 Level::Trace => level_style.set_color(Color::Cyan), in default_level_style() 56 Level::Debug => level_style.set_color(Color::Blue), in default_level_style() 57 Level::Info => level_style.set_color(Color::Green), in default_level_style() 58 Level::Warn => level_style.set_color(Color::Yellow), in default_level_style() 59 Level::Error => level_style.set_color(Color::Red).set_bold(true), in default_level_style() 160 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() functions 163 self.inner.set_color(spec) in set_color() 209 /// level_style.set_color(Color::Red).set_bold(true); 238 /// [color]: #method.set_color 278 pub fn set_color(&mut self, color: Color) -> &mut Style { set_color() functions [all...] |
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
H A D | renderer.rs | 160 self.set_color(self.styles().header(severity))?; in chars() 183 self.set_color(&self.styles().header_message)?; in chars() 210 self.set_color(&self.styles().source_border)?; in render_snippet_start() 295 self.set_color(self.styles().label(severity, LabelStyle::Primary))?; in render_snippet_source() 437 self.set_color(self.styles().label(severity, label_style))?; in render_snippet_source() 463 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source() 519 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source() 650 self.set_color(&self.styles().note_bullet)?; in render_snippet_note() 714 self.set_color(&self.styles().line_number)?; in outer_gutter_number() 728 self.set_color( in border_left() 976 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions [all...] |
/third_party/rust/crates/syn/tests/ |
H A D | zzz_stable.rs | 24 stderr.set_color(ColorSpec::new().set_fg(Some(Color::Yellow)))?; in notice() 26 stderr.set_color(ColorSpec::new().set_bold(true).set_fg(Some(Color::Yellow)))?; in notice() 28 stderr.set_color(ColorSpec::new().set_fg(Some(Color::Yellow)))?; in notice()
|
/third_party/rust/crates/termcolor/src/ |
H A D | lib.rs | 45 stdout.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?; 54 [`WriteColor::set_color`](trait.WriteColor.html#tymethod.set_color), and this 73 buffer.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?; 143 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()>; in set_color() functions 171 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() functions 172 (&mut **self).set_color(spec) in set_color() 186 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() functions 187 (&mut **self).set_color(spec) in set_color() 672 fn set_color( functions 706 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions 740 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions 790 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions 859 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions 1223 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions 1294 fn set_color(&mut self, _: &ColorSpec) -> io::Result<()> { set_color() functions 1366 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions 1525 fn set_color(&mut self, _: &ColorSpec) -> io::Result<()> { set_color() functions 1628 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions 2127 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { set_color() functions [all...] |
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | makepng.c | 238 set_color(png_colorp color, png_bytep trans, unsigned int red, in set_color() function 269 set_color(palette+0, trans+0, colors[1], colors[1], colors[1], 255, in generate_palette() 274 set_color(palette+0, trans+0, colors[1], colors[1], colors[1], in generate_palette() 279 set_color(palette+0, trans+0, colors[1], colors[2], colors[3], 255, in generate_palette() 284 set_color(palette+0, trans+0, colors[1], colors[2], colors[3], in generate_palette() 291 set_color(palette+0, trans+0, 255, 0, 0, 0, gamma_table); in generate_palette() 292 set_color(palette+1, trans+1, 255, 255, 255, 255, gamma_table); in generate_palette() 313 set_color(palette+ip, trans+ip, in generate_palette()
|
/third_party/rust/crates/codespan/codespan-reporting/tests/support/ |
H A D | color_buffer.rs | 33 /// - If set_color is called with a style, `{...}` is emitted containing the 35 /// - If set_color is called with no style, `{/}` is emitted 71 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() functions
|
/third_party/rust/crates/clap/src/error/ |
H A D | mod.rs | 145 self.set_color(cmd.get_color()) in with_cmd() 293 pub(crate) fn set_color(mut self, color_when: ColorChoice) -> Self {
|
/third_party/ffmpeg/libavfilter/ |
H A D | vsrc_testsrc.c | 703 static void set_color(TestSourceContext *s, FFDrawColor *color, uint32_t argb) in set_color() function 758 set_color(s, &color, ((i & 1) ? 0xFF0000 : 0) | in test2_fill_picture() 778 set_color(s, &color, color_gradient(g) | alpha); in test2_fill_picture() 800 set_color(s, &color, (0xBBBBBB ^ (0xFF << (c << 3))) | alpha); in test2_fill_picture() 840 set_color(s, &color, 0xFF808080); in test2_fill_picture() 874 set_color(s, &color, 0xFF00FF80); in test2_fill_picture() 894 set_color(s, &color, 0xFF8000FF); in test2_fill_picture() 905 set_color(s, &color, 0xC0000000); in test2_fill_picture() 909 set_color(s, &color, 0xFFFF8000); in test2_fill_picture() 1998 set_color(tes in colorchart_fill_picture() [all...] |