Home
last modified time | relevance | path

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

12

/external/rust/crates/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()
294 self.set_color(self.styles().label(severity, LabelStyle::Primary))?; in render_snippet_source()
436 self.set_color(self.styles().label(severity, label_style))?; in render_snippet_source()
462 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source()
518 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source()
649 self.set_color(&self.styles().note_bullet)?; in render_snippet_note()
713 self.set_color(&self.styles().line_number)?; in outer_gutter_number()
727 self.set_color(&self.styles().source_border)?; in border_left()
[all …]
/external/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()
/external/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()
/external/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 …]
/external/rust/crates/intrusive-collections/src/
Drbtree.rs90 unsafe fn set_color(&mut self, ptr: Self::LinkPtr, color: Color); in set_color() method
269 unsafe fn set_color(&mut self, ptr: Self::LinkPtr, color: Color) { in set_color() method
556 unsafe fn set_color(&mut self, ptr: Self::LinkPtr, color: Color) { in set_color() method
737 link_ops.set_color(new, link_ops.color(ptr)); in replace_with()
749 link_ops.set_color(new, Color::Red); in insert_left()
764 link_ops.set_color(new, Color::Red); in insert_right()
838 link_ops.set_color(x, Color::Black); in post_insert()
842 link_ops.set_color(x, Color::Black); in post_insert()
844 link_ops.set_color(x, Color::Red); in post_insert()
846 link_ops.set_color(y, Color::Black); in post_insert()
[all …]
/external/pigweed/pw_cli/py/pw_cli/
Dbranding.py53 set_color = operator.attrgetter(banner_color)(pw_cli.color.colors())
55 set_color(line) for line in _memoized_banner.splitlines()
/external/python/cpython2/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)
/external/python/cpython3/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)
/external/python/cpython2/Demo/curses/
Dxmas.py31 def set_color(win, color): function
90 set_color(treescrn, curses.COLOR_GREEN)
136 set_color(treescrn2, curses.COLOR_BLUE)
161 set_color(treescrn2, curses.COLOR_YELLOW)
173 set_color(treescrn2, curses.COLOR_WHITE)
188 set_color(treescrn2, curses.COLOR_WHITE)
206 set_color(treescrn2, curses.COLOR_WHITE)
226 set_color(treescrn2, curses.COLOR_WHITE)
251 set_color(treescrn2, curses.COLOR_WHITE)
/external/rust/crates/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
/external/python/cpython3/Lib/venv/scripts/posix/
Dactivate.fish56 printf "%s%s%s" (set_color 4B8BBE) "__VENV_PROMPT__" (set_color normal)
/external/libpng/contrib/libtests/
Dmakepng.c236 set_color(png_colorp color, png_bytep trans, unsigned int red, in set_color() function
267 set_color(palette+0, trans+0, colors[1], colors[1], colors[1], 255, in generate_palette()
272 set_color(palette+0, trans+0, colors[1], colors[1], colors[1], in generate_palette()
277 set_color(palette+0, trans+0, colors[1], colors[2], colors[3], 255, in generate_palette()
282 set_color(palette+0, trans+0, colors[1], colors[2], colors[3], in generate_palette()
289 set_color(palette+0, trans+0, 255, 0, 0, 0, gamma_table); in generate_palette()
290 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()
/external/rust/crates/libtest-mimic/src/
Dprinter.rs149 self.out.set_color(&color_of_outcome(outcome)).unwrap(); in print_single_outcome()
254 self.out.set_color(&color_of_outcome(outcome)).unwrap(); in print_outcome_pretty()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_value.cc56 proto.set_color(color()); in ToProto()
Dbuffer_value.h124 void set_color(Color color) { in set_color() function
Dbuffer_assignment.h601 value->set_color(BufferValue::Color( in DefaultColorer()
604 value->set_color(BufferValue::Color(0)); in DefaultColorer()
Dbuffer_assignment_test.cc609 value.set_color(BufferValue::Color(color++)); in TEST_F()
678 value.set_color(LogicalBuffer::Color(1)); in TEST_F()
682 value.set_color(LogicalBuffer::Color(0)); in TEST_F()
/external/igt-gpu-tools/tests/
Dkms_rotation_crc.c76 static void set_color(rgb_color_t *color, float r, float g, float b) in set_color() function
134 set_color(&tl, o, 0.0f, 0.0f); in paint_squares()
135 set_color(&tr, 0.0f, o, 0.0f); in paint_squares()
136 set_color(&br, o, o, o); in paint_squares()
137 set_color(&bl, 0.0f, 0.0f, o); in paint_squares()
/external/rust/crates/codespan-reporting/tests/support/
Dcolor_buffer.rs71 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color() method
/external/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)))?;
/external/rust/crates/clap/3.2.23/src/output/
Dfmt.rs97 buffer.set_color(&color)?; in print()
/external/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
/external/rust/crates/clap/src/builder/
Dstyled_str.rs230 ok!(buffer.set_color(&color)); in write_colored()
/external/rust/crates/env_logger/src/fmt/
Dmod.rs240 .set_color(Color::Black) in subtle_style()
/external/rust/crates/clap/3.2.23/src/error/
Dmod.rs198 .set_color(cmd.get_color()) in with_cmd()
217 pub(crate) fn set_color(mut self, color_when: ColorChoice) -> Self { in set_color() method

12