Home
last modified time | relevance | path

Searched refs:StandardStream (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/syn/tests/
Dzzz_stable.rs4 use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor};
23 let mut stderr = StandardStream::stderr(ColorChoice::Auto); in notice()
/external/rust/crates/termcolor/
DREADME.md32 `StandardStream` and `StandardStreamLock` both satisfy `WriteColor` and are
47 ### Example: using `StandardStream`
49 The `StandardStream` type in this crate works similarly to `std::io::Stdout`,
55 use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor};
58 let mut stdout = StandardStream::stdout(ColorChoice::Always);
/external/rust/crates/codespan-reporting/examples/
Dpeg_calculator.rs13 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream};
40 let writer = StandardStream::stderr(ColorChoice::Always); in main()
Dreusable_diagnostic.rs3 use codespan_reporting::term::termcolor::StandardStream;
42 let writer = StandardStream::stderr(opts.color.into()); in main()
Dterm.rs10 use codespan_reporting::term::termcolor::StandardStream;
168 let writer = StandardStream::stderr(opts.color.into()); in main()
Dcustom_files.rs14 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream};
32 let writer = StandardStream::stderr(ColorChoice::Always); in main()
Dreadme_preview.rs12 use codespan_reporting::term::termcolor::{Color, ColorSpec, StandardStream, WriteColor};
178 let writer = StandardStream::stderr(color.into()); in main()
/external/rust/crates/termcolor/src/
Dlib.rs399 pub struct StandardStream { struct
449 impl StandardStream { impl
458 pub fn stdout(choice: ColorChoice) -> StandardStream { in stdout() argument
460 StandardStream { wtr: LossyStandardStream::new(wtr) } in stdout()
471 pub fn stderr(choice: ColorChoice) -> StandardStream { in stderr() argument
473 StandardStream { wtr: LossyStandardStream::new(wtr) } in stderr()
490 fn from_stream(stream: &StandardStream) -> StandardStreamLock<'_> { in from_stream()
503 fn from_stream(stream: &StandardStream) -> StandardStreamLock { in from_stream()
605 impl io::Write for StandardStream { implementation
617 impl WriteColor for StandardStream { implementation
[all …]
/external/rust/cxx/gen/src/
Derror.rs5 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream, WriteColor};
64 let writer = StandardStream::stderr(ColorChoice::Auto); in format_err()
/external/ImageMagick/MagickCore/
Dblob-private.h50 StandardStream, enumerator
Dblob.c621 case StandardStream: in CloseBlob()
695 case StandardStream: in CloseBlob()
1243 case StandardStream: in EOFBlob()
1323 case StandardStream: in ErrorBlob()
1862 case StandardStream: in GetBlobSize()
2930 case StandardStream: in IsBlobSeekable()
3301 blob_info->type=StandardStream; in OpenBlob()
3754 case StandardStream: in ReadBlob()
3977 case StandardStream: in ReadBlobByte()
4948 case StandardStream: in SeekBlob()
[all …]