Home
last modified time | relevance | path

Searched refs:set_color (Results 1 – 21 of 21) sorted by relevance

/third_party/rust/crates/codespan/codespan-reporting/src/term/
Drenderer.rs160 self.set_color(self.styles().header(severity))?; in render_header()
183 self.set_color(&self.styles().header_message)?; in render_header()
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(&self.styles().source_border)?; in border_left()
[all …]
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/
Dextern_impl.rs55 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() method
163 self.inner.set_color(spec) in set_color()
278 pub fn set_color(&mut self, color: Color) -> &mut Style { in set_color() method
437 .set_color(&self.style.spec) in write_fmt()
/third_party/rust/crates/syn/tests/features/macro/
Dlib.rs27 _ = stderr.set_color(yellow.clone().set_bold(true)); in check()
30 _ = stderr.set_color(&yellow); in check()
43 _ = stderr.set_color(red.clone().set_bold(true)); in check()
46 _ = stderr.set_color(&red); in check()
/third_party/rust/crates/termcolor/src/
Dlib.rs143 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()>; in set_color() method
171 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
172 (&mut **self).set_color(spec) in set_color()
186 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
187 (&mut **self).set_color(spec) in set_color()
672 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
673 self.wtr.set_color(spec) in set_color()
706 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
707 self.wtr.set_color(spec) in set_color()
740 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
[all …]
/third_party/rust/crates/syn/tests/
Dzzz_stable.rs24 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/python/Tools/pynche/
DChipViewer.py60 def set_color(self, color): member in ChipWidget
112 self.__selected.set_color(rrggbb)
113 self.__nearest.set_color(nearest_rrggbb)
/third_party/rust/crates/codespan/codespan-reporting/examples/
Dreadme_preview.rs232 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
233 self.upstream.set_color(spec) in set_color()
270 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
/third_party/python/Lib/venv/scripts/posix/
Dactivate.fish56 printf "%s%s%s" (set_color 4B8BBE) "__VENV_PROMPT__" (set_color normal)
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c238 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/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c238 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/quote/benches/
Dtimer.rs15 _ = writer.set_color(ColorSpec::new().set_fg(Some(Color::Magenta))); in time()
/third_party/rust/crates/codespan/codespan-reporting/tests/support/
Dcolor_buffer.rs71 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
/third_party/rust/crates/termcolor/
DREADME.md59 stdout.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?;
79 buffer.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?;
/third_party/ffmpeg/libavfilter/
Dvsrc_testsrc.c702 static void set_color(TestSourceContext *s, FFDrawColor *color, uint32_t argb) in set_color() function
757 set_color(s, &color, ((i & 1) ? 0xFF0000 : 0) | in test2_fill_picture()
777 set_color(s, &color, color_gradient(g) | alpha); in test2_fill_picture()
799 set_color(s, &color, (0xBBBBBB ^ (0xFF << (c << 3))) | alpha); in test2_fill_picture()
839 set_color(s, &color, 0xFF808080); in test2_fill_picture()
873 set_color(s, &color, 0xFF00FF80); in test2_fill_picture()
893 set_color(s, &color, 0xFF8000FF); in test2_fill_picture()
904 set_color(s, &color, 0xC0000000); in test2_fill_picture()
908 set_color(s, &color, 0xFFFF8000); in test2_fill_picture()
/third_party/cef/libcef/browser/
Dprint_settings_impl.cc125 mutable_value()->set_color(static_cast<printing::mojom::ColorModel>(model)); in SetColorModel()
/third_party/cef/include/capi/
Dcef_menu_model_capi.h429 int(CEF_CALLBACK* set_color)(struct _cef_menu_model_t* self,
/third_party/cef/libcef_dll/ctocpp/
Dmenu_model_ctocpp.cc1004 if (CEF_MEMBER_MISSING(_struct, set_color)) in SetColor()
1010 int _retval = _struct->set_color(_struct, command_id, color_type, color); in SetColor()
/third_party/rust/crates/clap/src/error/
Dmod.rs145 self.set_color(cmd.get_color()) in with_cmd()
293 pub(crate) fn set_color(mut self, color_when: ColorChoice) -> Self { in set_color() method
/third_party/rust/crates/clap/src/builder/
Dstyled_str.rs230 ok!(buffer.set_color(&color)); in write_colored()
/third_party/rust/crates/env_logger/src/fmt/
Dmod.rs240 .set_color(Color::Black) in subtle_style()
/third_party/cef/libcef_dll/cpptoc/
Dmenu_model_cpptoc.cc1276 GetStruct()->set_color = menu_model_set_color; in CefMenuModelCppToC()