| /wasmtime-44.0.1/cranelift/codegen/meta/src/ |
| H A D | pulley.rs | 173 rust.push_str("}\n"); in generate_rust() 174 rust.push_str("}\n"); in generate_rust() 177 rust.push_str( in generate_rust() 253 rust.push_str("}\n"); in generate_rust() 254 rust.push_str("}\n"); in generate_rust() 259 rust.push_str("{\n"); in generate_rust() 304 rust.push_str("}\n"); in generate_rust() 305 rust.push_str("}\n"); in generate_rust() 339 isle.push_str("))\n"); in generate_isle() 378 isle.push_str(") "); in generate_isle() [all …]
|
| /wasmtime-44.0.1/crates/wit-bindgen/src/ |
| H A D | source.rs | 63 self.push_str(s); in write_str() 88 s.push_str("x"); in simple_append() 90 s.push_str("y"); in simple_append() 92 s.push_str("z "); in simple_append() 94 s.push_str(" a "); in simple_append() 96 s.push_str("\na"); in simple_append() 104 s.push_str("y\n"); in newline_remap() 105 s.push_str("}\n"); in newline_remap() 113 s.push_str("y\n"); in if_else() 115 s.push_str("z\n"); in if_else() [all …]
|
| H A D | lib.rs | 1647 self.push_str(";\n"); in type_handle() 1767 self.push_str( in type_record() 2007 self.push_str(name); in print_rust_enum_debug() 2027 self.push_str("}\n"); in print_rust_enum_debug() 2028 self.push_str("}\n"); in print_rust_enum_debug() 2029 self.push_str("}\n"); in print_rust_enum_debug() 2096 self.push_str("}\n"); in type_enum() 2137 self.push_str( in type_enum() 2152 self.push_str( in type_enum() 2227 self.push_str(" = "); in type_stream() [all …]
|
| H A D | rust.rs | 14 fn push_str(&mut self, s: &str); in push_str() method 165 out.push_str(")"); in tyid() 206 out.push_str("::"); in type_name_in_interface() 209 out.push_str(name); in type_name_in_interface() 245 out.push_str(">"); in stream() 256 out.push_str(">"); in future() 293 out.push_str(">"); in handle() 407 out.push_str(", "); in typedfunc_sig() 409 out.push_str("), ("); in typedfunc_sig() 412 out.push_str(", "); in typedfunc_sig() [all …]
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | relocs.rs | 97 wat.push_str("(module\n"); in test_many_call_module() 98 wat.push_str("(func $first (result i32) (i32.const 1))\n"); in test_many_call_module() 100 wat.push_str(&format!("(func (export \"{i}\") (result i32 i32)\n")); in test_many_call_module() 101 wat.push_str("call $first\n"); in test_many_call_module() 102 wat.push_str(&format!("i32.const {i}\n")); in test_many_call_module() 103 wat.push_str("i32.add\n"); in test_many_call_module() 104 wat.push_str("call $last\n"); in test_many_call_module() 105 wat.push_str(&format!("i32.const {i}\n")); in test_many_call_module() 106 wat.push_str("i32.add)\n"); in test_many_call_module() 108 wat.push_str("(func $last (result i32) (i32.const 2))\n"); in test_many_call_module() [all …]
|
| H A D | stack_overflow.rs | 139 s.push_str("(module\n"); in big_stack_works_ok() 140 s.push_str("(func (export \"\") (result i64)\n"); in big_stack_works_ok() 141 s.push_str("i64.const 0\n"); in big_stack_works_ok() 143 s.push_str("call $get\n"); in big_stack_works_ok() 146 s.push_str("i64.add\n"); in big_stack_works_ok() 148 s.push_str(")\n"); in big_stack_works_ok() 149 s.push_str("(func $get (result i64) i64.const 0)\n"); in big_stack_works_ok() 150 s.push_str(")\n"); in big_stack_works_ok()
|
| H A D | iloop.rs | 15 wat.push_str( in hugely_recursive_module() 22 wat.push_str(&format!("(func call {0} call {0})\n", i + 3)); in hugely_recursive_module() 24 wat.push_str("(func call 0)\n"); in hugely_recursive_module()
|
| H A D | memory.rs | 9 wat.push_str("(import \"\" \"\" (memory 0))\n"); in module() 30 wat.push_str(&format!( in module() 33 wat.push_str("local.get 0\n"); in module() 34 wat.push_str(instr); in module() 35 wat.push_str(&format!(" offset={offset}\n")); in module() 36 wat.push_str("drop\n)"); in module() 40 wat.push_str(")"); in module()
|
| H A D | module.rs | 258 wat.push_str("(i64.add (i64.const 1))\n"); in large_add_chain_no_stack_overflow() 261 wat.push_str(")\n)"); in large_add_chain_no_stack_overflow() 567 faulty_wat.push_str(&format!( in validate_deterministic() 571 faulty_wat.push_str(")"); in validate_deterministic()
|
| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | component_fuzz.rs | 341 s.push_str("\n"); in store_flat_helper() 425 s.push_str(")\n"); in store_flat_helper() 494 s.push_str("\n"); in load_flat_helper() 603 s.push_str(")\n"); in load_flat_helper() 908 wat.push_str("))\n"); in make_import_and_export() 911 wat.push_str(&format!( in make_import_and_export() 930 wat.push_str("))\n"); in make_import_and_export() 937 wat.push_str("))\n"); in make_import_and_export() 943 wat.push_str(&format!( in make_import_and_export() 1071 wat.push_str(")\n"); in make_import_and_export() [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/tests/ |
| H A D | host_segfault.rs | 244 desc.push_str("\nstdout: ----\n"); in run_test() 245 desc.push_str(" "); in run_test() 246 desc.push_str(&stdout.replace("\n", "\n ")); in run_test() 250 desc.push_str("\nstderr: ----\n"); in run_test() 251 desc.push_str(" "); in run_test() 357 s.push_str("(module\n"); in overrun_with_big_module() 358 s.push_str("(func $big_stack\n"); in overrun_with_big_module() 360 s.push_str("call $get\n"); in overrun_with_big_module() 363 s.push_str("call $take\n"); in overrun_with_big_module() 365 s.push_str(")\n"); in overrun_with_big_module() [all …]
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | subtest.rs | 204 new_test.push_str("\n"); in update_test() 211 new_test.push_str(output); in update_test() 213 new_test.push_str("\n"); in update_test() 217 new_test.push_str("\n"); in update_test() 230 new_test.push_str(line); in update_test() 231 new_test.push_str("\n"); in update_test()
|
| H A D | runone.rs | 188 new_test.push_str(lines.next().unwrap()); in update_at() 189 new_test.push_str("\n"); in update_at() 204 new_test.push_str(line); in update_at() 205 new_test.push_str("\n"); in update_at()
|
| /wasmtime-44.0.1/scripts/ |
| H A D | publish.rs | 321 new_manifest.push_str(&line.replace(&krate.version, &next_version(krate))); in bump_version() 373 new_manifest.push_str(&line.replace(&other.version, &next_version(other))); in bump_version() 377 new_manifest.push_str(line); in bump_version() 379 new_manifest.push_str("\n"); in bump_version() 396 new_header.push_str(&format!("#define WASMTIME_VERSION \"{version}\"")); in update_capi_version() 398 new_header.push_str(&format!("#define WASMTIME_VERSION_MAJOR {major}")); in update_capi_version() 400 new_header.push_str(&format!("#define WASMTIME_VERSION_MINOR {minor}")); in update_capi_version() 402 new_header.push_str(&format!("#define WASMTIME_VERSION_PATCH {patch}")); in update_capi_version() 404 new_header.push_str(line); in update_capi_version() 406 new_header.push_str("\n"); in update_capi_version()
|
| /wasmtime-44.0.1/benches/ |
| H A D | trap.rs | 217 wat.push_str("(module\n"); in module() 220 wat.push_str(&format!("(func $f{i} call $f{j})\n")); in module() 222 wat.push_str(&format!("(func $f{num_funcs} unreachable)\n")); in module() 223 wat.push_str(&format!("(export \"\" (func $f0))\n")); in module() 224 wat.push_str(")\n"); in module()
|
| /wasmtime-44.0.1/crates/fuzzing/ |
| H A D | build.rs | 31 code.push_str(&format!( in main() 42 code.push_str("];\n"); in main()
|
| /wasmtime-44.0.1/crates/core/src/alloc/ |
| H A D | string.rs | 18 s.push_str(self)?; in try_clone() 101 s.push_str(v).expect("reserved capacity"); in deserialize() 174 pub fn push_str(&mut self, s: &str) -> Result<(), OutOfMemory> { in push_str() method 176 self.inner.push_str(s); in push_str()
|
| H A D | try_cow.rs | 20 s.push_str(self)?; in try_to_owned() 216 s.to_mut()?.push_str(", world!")?; in to_mut()
|
| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | p2_cli_hostcall_fuel.rs | 114 name.push_str("a"); in mkdir() 124 name.push_str("a"); in resolve()
|
| H A D | p1_cli_hostcall_fuel.rs | 12 s.push_str("hello world"); in big_string()
|
| /wasmtime-44.0.1/cranelift/assembler-x64/src/ |
| H A D | fuzz.rs | 167 simm.push_str("-"); 174 simm.push_str(&format!("{:x}", abs)); 176 simm.push_str(&format!("0x{:x}", abs));
|
| /wasmtime-44.0.1/crates/gdbstub-component/artifact/ |
| H A D | build.rs | 53 file.push_str(parts.next().unwrap()); in main()
|
| /wasmtime-44.0.1/cranelift/assembler-x64/meta/src/generate/ |
| H A D | inst.rs | 293 implicit_ops.push_str(" ;; {trap}"); in generate_display_impl() 295 implicit_ops.push_str(", {trap}"); in generate_display_impl()
|
| /wasmtime-44.0.1/crates/fuzzing/tests/oom/ |
| H A D | string.rs | 44 s.push_str("hello")?; in try_string_push_str()
|
| /wasmtime-44.0.1/crates/test-programs/artifacts/ |
| H A D | build.rs | 236 generated_code.push_str(&format!( in build_adapter() 385 file.push_str(parts.next().unwrap()); in read_deps_of()
|