Home
last modified time | relevance | path

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

1234567

/third_party/rust/crates/regex/regex-syntax/src/ast/
Dprint.rs94 Ast::Dot(_) => self.wtr.write_str("."), in visit_post()
109 self.wtr.write_str("|") in visit_alternation_in()
135 self.wtr.write_str("-")?; in visit_class_set_item_post()
159 CaptureIndex(_) => self.wtr.write_str("("), in fmt_group_pre()
161 self.wtr.write_str("(?P<")?; in fmt_group_pre()
162 self.wtr.write_str(&x.name)?; in fmt_group_pre()
163 self.wtr.write_str(">")?; in fmt_group_pre()
167 self.wtr.write_str("(?")?; in fmt_group_pre()
169 self.wtr.write_str(":")?; in fmt_group_pre()
176 self.wtr.write_str(")") in fmt_group_post()
[all …]
/third_party/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 …]
/third_party/rust/crates/regex/regex-syntax/src/hir/
Dprint.rs98 self.wtr.write_str("[")?; in visit_pre()
104 self.wtr.write_str("-")?; in visit_pre()
108 self.wtr.write_str("]")?; in visit_pre()
111 self.wtr.write_str("(?-u:[")?; in visit_pre()
117 self.wtr.write_str("-")?; in visit_pre()
121 self.wtr.write_str("])")?; in visit_pre()
124 self.wtr.write_str("(?m:^)")?; in visit_pre()
127 self.wtr.write_str("(?m:$)")?; in visit_pre()
130 self.wtr.write_str(r"\A")?; in visit_pre()
133 self.wtr.write_str(r"\z")?; in visit_pre()
[all …]
/third_party/rust/crates/syn/codegen/src/
Dsnapshot.rs72 formatter.write_str("(")?; in format_field()
74 formatter.write_str(")")?; in format_field()
86 formatter.write_str("Some")?; in format_field()
90 None => formatter.write_str("None"), in format_field()
140 syn::#ident::#variant => formatter.write_str(#v), in expand_impl_body()
154 formatter.write_str("(`")?; in expand_impl_body()
156 formatter.write_str("`)")?; in expand_impl_body()
162 formatter.write_str("(")?; in expand_impl_body()
164 formatter.write_str(")")?; in expand_impl_body()
170 formatter.write_str(#v)?; in expand_impl_body()
[all …]
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Derror.rs103 ErrorCode::ZERO_RETURN => fmt.write_str("the SSL session has been shut down"), in fmt()
105 Some(_) => fmt.write_str("a nonblocking read call would have blocked"), in fmt()
106 None => fmt.write_str("the operation should be retried"), in fmt()
109 Some(_) => fmt.write_str("a nonblocking write call would have blocked"), in fmt()
110 None => fmt.write_str("the operation should be retried"), in fmt()
114 None => fmt.write_str("unexpected EOF"), in fmt()
118 None => fmt.write_str("OpenSSL error"), in fmt()
/third_party/node/test/parallel/
Dtest-stringbytes-external.js30 let write_str = 'a'; variable
34 let b = Buffer.from(write_str, 'ucs2');
48 write_str = write_str.repeat(size);
52 b = Buffer.from(write_str, 'ucs2');
/third_party/rust/crates/cxx/src/
Dlossy.rs8 Ok(valid) => return f.write_str(valid), in display()
12 f.write_str(valid)?; in display()
41 f.write_str(&valid[written..i])?; in debug()
48 f.write_str(&valid[written..])?; in debug()
Dshared_ptr.rs141 None => formatter.write_str("nullptr"), in fmt()
153 None => formatter.write_str("nullptr"), in fmt()
212 f.write_str($name)
Dunique_ptr.rs166 None => formatter.write_str("nullptr"), in fmt()
178 None => formatter.write_str("nullptr"), in fmt()
249 f.write_str("CxxString") in __typename()
/third_party/rust/crates/rust-openssl/openssl/src/
Dasn1.rs72 Err(_) => return f.write_str("error"), in fmt()
80 Err(_) => f.write_str("error"), in fmt()
81 Ok(_) => f.write_str(str::from_utf8_unchecked(mem_bio.get_buf())), in fmt()
283 Err(_) => return f.write_str("error"), in fmt()
288 Err(_) => f.write_str("error"), in fmt()
289 Ok(_) => f.write_str(str::from_utf8_unchecked(mem_bio.get_buf())), in fmt()
297 f.write_str(&self.to_string()) in fmt()
478 Err(_) => fmt.write_str("error"), in fmt()
640 Err(_) => fmt.write_str("error"), in fmt()
641 Ok(s) => fmt.write_str(s), in fmt()
[all …]
/third_party/rust/crates/serde/serde/src/de/
Dimpls.rs23 formatter.write_str("unit") in expecting()
61 formatter.write_str("a boolean") in expecting()
99 formatter.write_str(concat!("a nonzero ", stringify!($primitive)))
123 formatter.write_str(stringify!($primitive))
437 formatter.write_str("a character") in expecting()
483 formatter.write_str("a string") in expecting()
529 formatter.write_str("a string") in expecting()
605 formatter.write_str("a borrowed string") in expecting()
640 formatter.write_str("a borrowed byte array") in expecting()
677 formatter.write_str("byte array") in expecting()
[all …]
/third_party/rust/crates/libloading/src/os/unix/
Dmod.rs352 f.write_str(&format!("Library@{:p}", self.handle)) in fmt()
412 f.write_str(&format!("Symbol@{:p} from {:?}", in fmt()
416 f.write_str(&format!("Symbol {:?}@{:p} from {:?}", in fmt()
421 f.write_str(&format!("Symbol@{:p}", self.pointer)) in fmt()
/third_party/rust/crates/serde/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()
/third_party/rust/crates/serde/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 …]
/third_party/rust/crates/tracing/tracing-subscriber/src/
Dutil.rs129 f.write_str("TryInitError(())") in fmt()
143 f.write_str("failed to set global default subscriber") in fmt()
/third_party/rust/crates/rustix/src/path/
Ddec_int.rs60 me.write_str(buf.format(i)).unwrap(); in new()
100 fn write_str(&mut self, s: &str) -> core::fmt::Result { in write_str() method
/third_party/rust/crates/log/src/
Dserde.rs43 formatter.write_str("log level") in deserialize()
93 formatter.write_str("log level") in deserialize()
138 formatter.write_str("log level filter") in deserialize()
188 formatter.write_str("log level filter") in deserialize()
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/
Ddirective.rs291 f.write_str("[")?; in fmt()
299 f.write_str("}")?; in fmt()
302 f.write_str("]")?; in fmt()
307 f.write_str("=")?; in fmt()
/third_party/rust/crates/serde/test_suite/tests/expand/
Dlifetimes.expanded.rs120 _serde::__private::Formatter::write_str(__formatter, "variant identifier") in deserialize()
196 _serde::__private::Formatter::write_str(__formatter, "enum Lifetimes") in deserialize()
233 _serde::__private::Formatter::write_str( in deserialize()
300 _serde::__private::Formatter::write_str( in deserialize()
417 _serde::__private::Formatter::write_str( in deserialize()
484 _serde::__private::Formatter::write_str( in deserialize()
Dgeneric_struct.expanded.rs68 _serde::__private::Formatter::write_str(__formatter, "field identifier") in deserialize()
131 _serde::__private::Formatter::write_str(__formatter, "struct GenericStruct") in deserialize()
248 _serde::__private::Formatter::write_str(__formatter, "field identifier") in deserialize_in_place()
311 _serde::__private::Formatter::write_str(__formatter, "struct GenericStruct") in deserialize_in_place()
465 _serde::__private::Formatter::write_str( in deserialize()
544 _serde::__private::Formatter::write_str( in deserialize_in_place()
Dvoid.expanded.rs41 _serde::__private::Formatter::write_str(__formatter, "variant identifier") in deserialize()
105 _serde::__private::Formatter::write_str(__formatter, "enum Void") in deserialize()
Ddefault_ty_param.expanded.rs72 _serde::__private::Formatter::write_str(__formatter, "field identifier") in deserialize()
129 _serde::__private::Formatter::write_str(__formatter, "struct DefaultTyParam") in deserialize()
252 _serde::__private::Formatter::write_str(__formatter, "field identifier") in deserialize_in_place()
311 _serde::__private::Formatter::write_str(__formatter, "struct DefaultTyParam") in deserialize_in_place()
Dgeneric_enum.expanded.rs143 _serde::__private::Formatter::write_str(__formatter, "variant identifier") in deserialize()
227 _serde::__private::Formatter::write_str(__formatter, "enum GenericEnum") in deserialize()
275 _serde::__private::Formatter::write_str( in deserialize()
345 _serde::__private::Formatter::write_str( in deserialize()
423 _serde::__private::Formatter::write_str( in deserialize()
/third_party/rust/crates/humantime/src/
Dduration.rs265 f.write_str(" ")?; in item_plural()
269 f.write_str("s")?; in item_plural()
280 f.write_str(" ")?; in item()
301 f.write_str("0s")?; in fmt()
/third_party/rust/crates/libloading/src/os/windows/
Dmod.rs312 f.write_str(&format!("Library@{:p}", self.0)) in fmt()
318 f.write_str(&format!("Library@{:p} from {:?}", self.0, string)) in fmt()
375 f.write_str(&format!("Symbol@{:p}", self.pointer)) in fmt()

1234567