Home
last modified time | relevance | path

Searched refs:push_str (Results 1 - 25 of 36) sorted by relevance

12

/third_party/rust/crates/cxx/gen/src/
H A Dblock.rs15 out.push_str("inline "); in write_begin()
18 out.push_str(" {\n"); in write_begin()
22 out.push_str("} // "); in write_end()
29 Block::AnonymousNamespace => out.push_str("namespace"), in write_common()
31 out.push_str("namespace "); in write_common()
32 out.push_str(name); in write_common()
35 out.push_str("namespace "); in write_common()
36 out.push_str(&name.to_string()); in write_common()
39 out.push_str("namespace "); in write_common()
40 out.push_str(nam in write_common()
[all...]
H A Dout.rs75 out.push_str(include); in content()
79 out.push_str(builtin); in content()
83 out.push_str(content); in content()
85 out.push_str("// empty\n"); in content()
149 self.bytes.push_str(b); in write()
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dblock.rs15 out.push_str("inline "); in write_begin()
18 out.push_str(" {\n"); in write_begin()
22 out.push_str("} // "); in write_end()
29 Block::AnonymousNamespace => out.push_str("namespace"), in write_common()
31 out.push_str("namespace "); in write_common()
32 out.push_str(name); in write_common()
35 out.push_str("namespace "); in write_common()
36 out.push_str(&name.to_string()); in write_common()
39 out.push_str("namespace "); in write_common()
40 out.push_str(nam in write_common()
[all...]
H A Dout.rs75 out.push_str(include); in content()
79 out.push_str(builtin); in content()
83 out.push_str(content); in content()
85 out.push_str("// empty\n"); in content()
149 self.bytes.push_str(b); in write()
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dblock.rs15 out.push_str("inline "); in write_begin()
18 out.push_str(" {\n"); in write_begin()
22 out.push_str("} // "); in write_end()
29 Block::AnonymousNamespace => out.push_str("namespace"), in write_common()
31 out.push_str("namespace "); in write_common()
32 out.push_str(name); in write_common()
35 out.push_str("namespace "); in write_common()
36 out.push_str(&name.to_string()); in write_common()
39 out.push_str("namespace "); in write_common()
40 out.push_str(nam in write_common()
[all...]
H A Dout.rs75 out.push_str(include); in content()
79 out.push_str(builtin); in content()
83 out.push_str(content); in content()
85 out.push_str("// empty\n"); in content()
149 self.bytes.push_str(b); in write()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dblock.rs15 out.push_str("inline "); in write_begin()
18 out.push_str(" {\n"); in write_begin()
22 out.push_str("} // "); in write_end()
29 Block::AnonymousNamespace => out.push_str("namespace"), in write_common()
31 out.push_str("namespace "); in write_common()
32 out.push_str(name); in write_common()
35 out.push_str("namespace "); in write_common()
36 out.push_str(&name.to_string()); in write_common()
39 out.push_str("namespace "); in write_common()
40 out.push_str(nam in write_common()
[all...]
H A Dout.rs75 out.push_str(include); in content()
79 out.push_str(builtin); in content()
83 out.push_str(content); in content()
85 out.push_str("// empty\n"); in content()
149 self.bytes.push_str(b); in write()
/third_party/rust/crates/clap/clap_complete/src/shells/
H A Dfish.rs63 basic_template.push_str(" -n \"__fish_use_subcommand\""); in gen_fish_inner()
66 basic_template.push_str( in gen_fish_inner()
90 template.push_str(format!(" -s {short}").as_str()); in gen_fish_inner()
96 template.push_str(format!(" -l {}", escape_string(long, false)).as_str()); in gen_fish_inner()
102 .push_str(format!(" -d '{}'", escape_string(&data.to_string(), false)).as_str()); in gen_fish_inner()
105 template.push_str(value_completion(option).as_str()); in gen_fish_inner()
107 buffer.push_str(template.as_str()); in gen_fish_inner()
116 template.push_str(format!(" -s {short}").as_str()); in gen_fish_inner()
122 template.push_str(format!(" -l {}", escape_string(long, false)).as_str()); in gen_fish_inner()
128 .push_str(forma in gen_fish_inner()
[all...]
/third_party/rust/crates/bindgen/bindgen/codegen/
H A Dimpl_debug.rs17 format_string.push_str("opaque"); in gen_debug_impl()
21 format_string.push_str("union"); in gen_debug_impl()
31 format_string.push_str(", "); in gen_debug_impl()
34 format_string.push_str(&fstring); in gen_debug_impl()
40 format_string.push_str(" }}"); in gen_debug_impl()
95 format_string.push_str(", "); in impl_debug()
99 format_string.push_str(&format!("{} : {{:?}}", bitfield_name)); in impl_debug()
/third_party/rust/crates/clap/clap_complete_fig/src/
H A Dfig.rs72 buffer.push_str( in gen_fig_inner()
117 buffer.push_str(&gen_options(cmd, indent)); in gen_fig_inner()
126 buffer.push_str(&gen_args(args[0], indent)); in gen_fig_inner()
132 buffer.push_str(&gen_args(arg, indent + 2)); in gen_fig_inner()
171 buffer.push_str( in gen_options()
179 buffer.push_str("],\n"); in gen_options()
259 buffer.push_str(&gen_args(option, indent + 4)); in gen_options()
280 buffer.push_str( in gen_options()
288 buffer.push_str("],\n"); in gen_options()
/third_party/rust/crates/proc-macro-error/src/
H A Ddiagnostic.rs220 buf.push_str(s); in to_tokens()
222 buf.push_str(s); in to_tokens()
245 message.push_str(" = "); in to_tokens()
246 message.push_str(kind.name()); in to_tokens()
247 message.push_str(": "); in to_tokens()
/third_party/rust/crates/regex/examples/
H A Dshootout-regex-dna-single-cheat.rs69 new.push_str(&text[last_match..m.start()]); in replace_all()
70 new.push_str(replacements[text.as_bytes()[m.start()] as usize]); in replace_all()
73 new.push_str(&text[last_match..]); in replace_all()
H A Dshootout-regex-dna-cheat.rs84 new.push_str(&text[last_match..m.start()]); in replace_all()
85 new.push_str(replacements[text.as_bytes()[m.start()] as usize]); in replace_all()
88 new.push_str(&text[last_match..]); in replace_all()
/third_party/rust/crates/rust-openssl/openssl-sys/build/
H A Dfind_normal.rs133 msg.push_str( in find_openssl_dir()
151 msg.push_str( in find_openssl_dir()
163 msg.push_str( in find_openssl_dir()
177 msg.push_str( in find_openssl_dir()
/third_party/rust/crates/rustix/tests/fs/
H A Dlong_paths.rs18 long_path.push_str("a/../"); in test_long_paths()
23 too_long_path.push_str("a/../"); in test_long_paths()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dextension.rs76 value.push_str("critical,"); in build()
78 value.push_str("CA:"); in build()
80 value.push_str("TRUE"); in build()
82 value.push_str("FALSE"); in build()
561 value.push_str(element); in append()
/third_party/rust/crates/cxx/src/
H A Dcxx_string.rs200 pub fn push_str(self: Pin<&mut Self>, s: &str) { in push_str() functions
262 self.as_mut().push_str(s); in write_str()
/third_party/rust/crates/memchr/src/tests/memchr/
H A Dtestdata.rs290 new_corpus.push_str(&t.corpus); in expand()
299 t.corpus.push_str(&padding); in expand()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/
H A Dbuild.rs47 test_string.push_str(&format!( in main()
/third_party/rust/crates/proc-macro2/src/
H A Dfallback.rs966 s.push_str(".0"); in f32_unsuffixed()
974 s.push_str(".0"); in f64_unsuffixed()
985 repr.push_str( in string()
1026 b'\0' => escaped.push_str(match bytes.as_slice().first() { in byte_string()
1031 b'\t' => escaped.push_str(r"\t"), in byte_string()
1032 b'\n' => escaped.push_str(r"\n"), in byte_string()
1033 b'\r' => escaped.push_str(r"\r"), in byte_string()
1034 b'"' => escaped.push_str("\\\""), in byte_string()
1035 b'\\' => escaped.push_str("\\\\"), in byte_string()
/third_party/rust/crates/aho-corasick/src/
H A Dahocorasick.rs441 dst.push_str(replace_with[mat.pattern()].as_ref()); in replace_all()
522 /// dst.push_str(&mat.pattern().to_string());
540 /// dst.push_str(&mat.pattern().to_string());
555 dst.push_str(&haystack[last_match..mat.start()]); in replace_all_with()
561 dst.push_str(&haystack[last_match..]); in replace_all_with()
/third_party/rust/crates/bindgen/bindgen/
H A Dlib.rs1621 wrapper_contents.push_str("#include \""); in dump_preprocessed_input()
1622 wrapper_contents.push_str(header); in dump_preprocessed_input()
1623 wrapper_contents.push_str("\"\n"); in dump_preprocessed_input()
1631 wrapper_contents.push_str("#line 0 \""); in dump_preprocessed_input()
1632 wrapper_contents.push_str(name); in dump_preprocessed_input()
1633 wrapper_contents.push_str("\"\n"); in dump_preprocessed_input()
1634 wrapper_contents.push_str(contents); in dump_preprocessed_input()
2464 .push_str(rust_target.strip_prefix("aarch64-apple-").unwrap()); in rust_to_clang_target()
2468 clang_target.push_str(rust_target.strip_prefix("riscv64gc-").unwrap()); in rust_to_clang_target()
2473 clang_target.push_str(" in rust_to_clang_target()
[all...]
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dtemplate.rs321 last.push_str(&args.join(", ")); in is_opaque()
/third_party/rust/crates/regex/tests/
H A Dcrazy.rs159 pieces.push_str(&ones_and_zeroes(20)); in dfa_handles_pathological_case()

Completed in 28 milliseconds

12