| /wasmtime-44.0.1/fuzz/fuzz_targets/ |
| H A D | call_async.rs | 36 oracles::call_async(&module.to_bytes(), &config, &poll_amts); in run_one()
|
| H A D | instantiate-many.rs | 40 .map(|_| Ok(config.generate(&mut u, None)?.to_bytes())) in execute_one()
|
| H A D | instantiate.rs | 78 Ok((module.to_bytes(), known_valid)) in gen_module()
|
| H A D | differential.rs | 100 Ok(module.to_bytes()) in execute_one() 106 Ok(module.to_bytes()) in execute_one()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | mod.rs | 401 let divisor = pretty_print_reg(divisor.to_reg(), size.to_bytes()); in pretty_print() 402 let dividend_lo = pretty_print_reg(dividend_lo.to_reg(), size.to_bytes()); in pretty_print() 403 let dividend_hi = pretty_print_reg(dividend_hi.to_reg(), size.to_bytes()); in pretty_print() 405 pretty_print_reg(dst_quotient.to_reg().to_reg(), size.to_bytes()); in pretty_print() 407 pretty_print_reg(dst_remainder.to_reg().to_reg(), size.to_bytes()); in pretty_print() 467 let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size.to_bytes()); in pretty_print() 490 let src = pretty_print_reg(src.to_reg(), src_size.to_bytes()); in pretty_print() 491 let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size.to_bytes()); in pretty_print() 513 let src = pretty_print_reg(src.to_reg(), src_size.to_bytes()); in pretty_print() 514 let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size.to_bytes()); in pretty_print()
|
| H A D | args.rs | 1051 pub(crate) fn to_bytes(&self) -> u8 { in to_bytes() method 1061 self.to_bytes() * 8 in to_bits()
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | error.rs | 27 let msg_bytes = unsafe { std::ffi::CStr::from_ptr(msg).to_bytes() }; in wasmtime_error_new()
|
| /wasmtime-44.0.1/crates/fuzzing/src/ |
| H A D | mutators.rs | 79 let wasm = module.to_bytes(); in wasm_mutate()
|
| H A D | single_module_fuzzer.rs | 348 u.arbitrary::<wasm_smith::Module>()?.to_bytes(), in changing_configuration_does_not_change_module()
|
| H A D | oracles.rs | 1380 let wasm = config.generate(u, None)?.to_bytes(); in module_generation_uses_expected_proposals()
|
| /wasmtime-44.0.1/crates/wasi-http/tests/all/p3/ |
| H A D | mod.rs | 520 let collected_body = collected_body.to_bytes(); in test_http_echo() 580 .to_bytes() in p3_http_proxy() 677 let collected_body = collected_body.to_bytes(); in p3_http_empty_frame_at_end_of_stream() 729 let collected_body = collected_body.to_bytes(); in p3_http_data_frame_at_end_of_stream() 820 let collected_body = collected_body.to_bytes(); in p3_http_empty_frames_interleaved()
|
| /wasmtime-44.0.1/crates/wasi-http/tests/all/ |
| H A D | p2.rs | 388 let body = response.into_body().to_bytes(); in do_wasi_http_hash_all() 436 let body = response.into_body().to_bytes(); in wasi_http_hash_all_with_reject() 562 let received = Vec::from(response.into_body().to_bytes()); in do_wasi_http_echo()
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | api.rs | 100 wasm: wasm.to_bytes(), in arbitrary()
|
| H A D | single_inst_module.rs | 55 pub fn to_bytes(&self) -> Vec<u8> { in to_bytes() method 593 let wasm = sut.to_bytes(); in sanity() 613 assert!(wat::parse_bytes(&inst.to_bytes()).is_ok()); in instructions_encode_to_valid_modules()
|
| /wasmtime-44.0.1/crates/wasi-http/src/p3/ |
| H A D | response.rs | 152 let chunks = collected.unwrap().to_bytes(); in test_response_from_http()
|
| H A D | request.rs | 557 assert_eq!(body_bytes.to_bytes(), b"body".as_slice()); in test_request_into_http_schemes()
|
| /wasmtime-44.0.1/crates/wizer/fuzz/fuzz_targets/ |
| H A D | same_result.rs | 71 let wasm = module.to_bytes();
|
| /wasmtime-44.0.1/winch/codegen/src/isa/x64/ |
| H A D | masm.rs | 1452 let src = self.asm.add_constant(&imm.to_bytes()); in splat() 1463 let src = self.asm.add_constant(&imm.to_bytes()); in splat() 1662 let address = self.asm.add_constant(&imm.to_bytes()); in replace_lane() 1676 let address = self.asm.add_constant(&val.to_bytes()); in replace_lane() 1688 let address = self.asm.add_constant(&imm.to_bytes()); in replace_lane() 3288 I::F32(_) => Ok(self.asm.load_fp_const(dst, &constant.to_bytes(), size)), in load_constant() 3289 I::F64(_) => Ok(self.asm.load_fp_const(dst, &constant.to_bytes(), size)), in load_constant() 3290 I::V128(_) => Ok(self.asm.load_fp_const(dst, &constant.to_bytes(), size)), in load_constant()
|
| /wasmtime-44.0.1/winch/codegen/src/isa/aarch64/ |
| H A D | asm.rs | 325 let constant = self.add_constant(&imm.to_bytes()); in mov_ir()
|
| /wasmtime-44.0.1/winch/codegen/src/ |
| H A D | masm.rs | 1198 pub fn to_bytes(&self) -> Vec<u8> { in to_bytes() method
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | cli_tests.rs | 1657 let body = std::str::from_utf8(&body.to_bytes())?.to_string(); in send_request_with()
|