Home
last modified time | relevance | path

Searched refs:write_str (Results 1 – 25 of 127) sorted by relevance

123456

/external/rust/crates/regex-syntax/src/ast/
Dprint.rs95 Ast::Dot(_) => self.wtr.write_str("."), in visit_post()
110 self.wtr.write_str("|") in visit_alternation_in()
136 self.wtr.write_str("-")?; in visit_class_set_item_post()
160 CaptureIndex(_) => self.wtr.write_str("("), in fmt_group_pre()
162 self.wtr.write_str("(?P<")?; in fmt_group_pre()
163 self.wtr.write_str(&x.name)?; in fmt_group_pre()
164 self.wtr.write_str(">")?; in fmt_group_pre()
168 self.wtr.write_str("(?")?; in fmt_group_pre()
170 self.wtr.write_str(":")?; in fmt_group_pre()
177 self.wtr.write_str(")") in fmt_group_post()
[all …]
/external/rust/crates/syn/tests/debug/
Dgen.rs16 formatter.write_str("Some")?; in fmt()
18 formatter.write_str("(")?; in fmt()
20 formatter.write_str(")")?; in fmt()
39 formatter.write_str("Some")?; in fmt()
65 formatter.write_str("Some")?; in fmt()
67 formatter.write_str("(")?; in fmt()
69 formatter.write_str(")")?; in fmt()
82 formatter.write_str("Some")?; in fmt()
95 syn::AttrStyle::Outer => formatter.write_str("Outer"), in fmt()
97 formatter.write_str("Inner")?; in fmt()
[all …]
/external/rust/crates/regex-syntax/src/hir/
Dprint.rs99 self.wtr.write_str("[")?; in visit_pre()
105 self.wtr.write_str("-")?; in visit_pre()
109 self.wtr.write_str("]")?; in visit_pre()
112 self.wtr.write_str("(?-u:[")?; in visit_pre()
118 self.wtr.write_str("-")?; in visit_pre()
122 self.wtr.write_str("])")?; in visit_pre()
125 self.wtr.write_str("(?m:^)")?; in visit_pre()
128 self.wtr.write_str("(?m:$)")?; in visit_pre()
131 self.wtr.write_str(r"\A")?; in visit_pre()
134 self.wtr.write_str(r"\z")?; in visit_pre()
[all …]
/external/rust/crates/serde_json/src/
Derror.rs283 ErrorCode::Message(ref msg) => f.write_str(msg), in fmt()
285 ErrorCode::EofWhileParsingList => f.write_str("EOF while parsing a list"), in fmt()
286 ErrorCode::EofWhileParsingObject => f.write_str("EOF while parsing an object"), in fmt()
287 ErrorCode::EofWhileParsingString => f.write_str("EOF while parsing a string"), in fmt()
288 ErrorCode::EofWhileParsingValue => f.write_str("EOF while parsing a value"), in fmt()
289 ErrorCode::ExpectedColon => f.write_str("expected `:`"), in fmt()
290 ErrorCode::ExpectedListCommaOrEnd => f.write_str("expected `,` or `]`"), in fmt()
291 ErrorCode::ExpectedObjectCommaOrEnd => f.write_str("expected `,` or `}`"), in fmt()
292 ErrorCode::ExpectedSomeIdent => f.write_str("expected ident"), in fmt()
293 ErrorCode::ExpectedSomeValue => f.write_str("expected value"), in fmt()
[all …]
Draw.rs157 f.write_str(&self.json) in fmt()
364 formatter.write_str("raw value") in deserialize()
401 formatter.write_str("raw value") in expecting()
429 formatter.write_str("raw value") in expecting()
/external/rust/crates/serde_cbor/src/
Derror.rs295 ErrorCode::Message(ref msg) => f.write_str(msg), in fmt()
297 ErrorCode::Message => f.write_str("Unknown error"), in fmt()
301 ErrorCode::Io => f.write_str("Unknown I/O error"), in fmt()
302 ErrorCode::ScratchTooSmall => f.write_str("Scratch buffer too small"), in fmt()
303 ErrorCode::EofWhileParsingValue => f.write_str("EOF while parsing a value"), in fmt()
304 ErrorCode::EofWhileParsingArray => f.write_str("EOF while parsing an array"), in fmt()
305 ErrorCode::EofWhileParsingMap => f.write_str("EOF while parsing a map"), in fmt()
306 ErrorCode::LengthOutOfRange => f.write_str("length out of range"), in fmt()
307 ErrorCode::InvalidUtf8 => f.write_str("invalid UTF-8"), in fmt()
308 ErrorCode::UnassignedCode => f.write_str("unassigned type"), in fmt()
[all …]
/external/rust/crates/gdbstub/src/gdbstub_impl/
Dmod.rs158 res.write_str("S05")?; in run()
171 res.write_str("OK")?; in run()
178 res.write_str("E")?; in run()
188 res.write_str("S05")?; in run()
271 res.write_str("PacketSize=")?; in handle_base()
274 res.write_str(";vContSupported+")?; in handle_base()
275 res.write_str(";multiprocess+")?; in handle_base()
276 res.write_str(";QStartNoAckMode+")?; in handle_base()
280 res.write_str(";QDisableRandomization+")?; in handle_base()
284 res.write_str(";QEnvironmentHexEncoded+")?; in handle_base()
[all …]
/external/rust/crates/anyhow/src/
Dfmt.rs77 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() function
83 None => self.inner.write_str(" ")?, in write_str()
88 self.inner.write_str(" ")?; in write_str()
90 self.inner.write_str(" ")?; in write_str()
94 self.inner.write_str(line)?; in write_str()
116 .write_str(input) in one_digit()
133 .write_str(input) in two_digits()
150 .write_str(input) in no_digits()
/external/rust/crates/serde_json/src/value/
Dindex.rs146 Value::Null => formatter.write_str("null"), in fmt()
147 Value::Bool(_) => formatter.write_str("boolean"), in fmt()
148 Value::Number(_) => formatter.write_str("number"), in fmt()
149 Value::String(_) => formatter.write_str("string"), in fmt()
150 Value::Array(_) => formatter.write_str("array"), in fmt()
151 Value::Object(_) => formatter.write_str("object"), in fmt()
Dmod.rs181 formatter.write_str("Array(")?; in fmt()
183 formatter.write_str(")") in fmt()
186 formatter.write_str("Object(")?; in fmt()
188 formatter.write_str(")") in fmt()
229 tri!(self.inner.write_str(s).map_err(io_error)); in fmt()
/external/rust/crates/gdbstub/src/protocol/
Dresponse_writer.rs80 pub fn write_str(&mut self, s: &str) -> Result<(), Error<C::Error>> { in write_str() method
132 IdKind::All => self.write_str("-1")?, in write_id_kind()
133 IdKind::Any => self.write_str("0")?, in write_id_kind()
141 self.write_str("p")?; in write_thread_id()
143 self.write_str(".")?; in write_thread_id()
/external/rust/crates/serde/src/de/
Dimpls.rs23 formatter.write_str("unit") in expecting()
61 formatter.write_str("a boolean") in expecting()
97 formatter.write_str(stringify!($ty))
327 formatter.write_str("a character") in expecting()
373 formatter.write_str("a string") in expecting()
419 formatter.write_str("a string") in expecting()
495 formatter.write_str("a borrowed string") in expecting()
530 formatter.write_str("a borrowed byte array") in expecting()
567 formatter.write_str("byte array") in expecting()
659 formatter.write_str("option") in expecting()
[all …]
/external/rust/crates/rustversion/build/
Drustc.rs94 Channel::Stable => formatter.write_str("crate::version::Channel::Stable"), in fmt()
95 Channel::Beta => formatter.write_str("crate::version::Channel::Beta"), in fmt()
100 Channel::Dev => formatter.write_str("crate::version::Channel::Dev"), in fmt()
/external/rust/crates/android_logger/src/
Dlib.rs375 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() method
547 .write_str("12\n\n567\n90") in temporal_flush()
567 .write_str("abcdefghij\n\nklm\nnopqr\nstuvwxyz") in flush()
581 .write_str("12\n\n567\n90") in last_newline_index()
592 .write_str(log_string) in output_specified_len_leaves_buffer_unchanged()
607 .write_str("0123456789") in copy_bytes_to_start()
620 .write_str(test_string) in copy_bytes_to_start_nop()
/external/rust/crates/serde_derive/src/internals/
Dcase.rs123 f.write_str("unknown rename rule `rename_all = ")?; in fmt()
125 f.write_str("`, expected one of ")?; in fmt()
128 f.write_str(", ")?; in fmt()
/external/rust/crates/url/src/
Dhost.rs167 f.write_str("[")?; in fmt()
169 f.write_str("]") in fmt()
195 f.write_str(":")?; in write_ipv6()
197 f.write_str(":")?; in write_ipv6()
207 f.write_str(":")?; in write_ipv6()
/external/rust/crates/ring/src/
Ddebug.rs69 fmt.write_str("\"")?; in fmt()
71 fmt.write_str("\"")?; in fmt()
Derror.rs88 f.write_str(Self::description_()) in fmt()
218 f.write_str(self.description_()) in fmt()
/external/rust/crates/libloading/src/os/unix/
Dmod.rs354 f.write_str(&format!("Library@{:p}", self.handle)) in fmt()
416 f.write_str(&format!("Symbol@{:p} from {:?}", in fmt()
420 f.write_str(&format!("Symbol {:?}@{:p} from {:?}", in fmt()
425 f.write_str(&format!("Symbol@{:p}", self.pointer)) in fmt()
/external/rust/crates/bytes/tests/
Dtest_buf_mut.rs61 buf.write_str("this is a test").unwrap(); in test_clone()
64 buf.write_str(" of our emergency broadcast system").unwrap(); in test_clone()
/external/rust/crates/hashbrown/src/external_trait_impls/
Dserde.rs62 formatter.write_str("a map") in deserialize()
137 formatter.write_str("a sequence") in deserialize()
178 formatter.write_str("a sequence") in deserialize_in_place()
/external/rust/cxx/src/
Dshared_ptr.rs137 None => formatter.write_str("nullptr"), in fmt()
149 None => formatter.write_str("nullptr"), in fmt()
209 f.write_str($name)
Dunique_ptr.rs163 None => formatter.write_str("nullptr"), in fmt()
175 None => formatter.write_str("nullptr"), in fmt()
247 f.write_str("CxxString") in __typename()
/external/rust/crates/lazycell/src/
Dserde_impl.rs41 formatter.write_str("a LazyCell") in expecting()
67 formatter.write_str("an AtomicLazyCell") in expecting()
/external/rust/crates/serde/src/private/
Dser.rs66 Unsupported::Boolean => formatter.write_str("a boolean"), in fmt()
67 Unsupported::Integer => formatter.write_str("an integer"), in fmt()
68 Unsupported::Float => formatter.write_str("a float"), in fmt()
69 Unsupported::Char => formatter.write_str("a char"), in fmt()
70 Unsupported::String => formatter.write_str("a string"), in fmt()
71 Unsupported::ByteArray => formatter.write_str("a byte array"), in fmt()
72 Unsupported::Optional => formatter.write_str("an optional"), in fmt()
73 Unsupported::Unit => formatter.write_str("unit"), in fmt()
75 Unsupported::UnitStruct => formatter.write_str("unit struct"), in fmt()
76 Unsupported::Sequence => formatter.write_str("a sequence"), in fmt()
[all …]

123456