Home
last modified time | relevance | path

Searched refs:to_bytes (Results 1 – 21 of 21) sorted by relevance

/wasmtime-44.0.1/fuzz/fuzz_targets/
H A Dcall_async.rs36 oracles::call_async(&module.to_bytes(), &config, &poll_amts); in run_one()
H A Dinstantiate-many.rs40 .map(|_| Ok(config.generate(&mut u, None)?.to_bytes())) in execute_one()
H A Dinstantiate.rs78 Ok((module.to_bytes(), known_valid)) in gen_module()
H A Ddifferential.rs100 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 Dmod.rs401 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 Dargs.rs1051 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 Derror.rs27 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 Dmutators.rs79 let wasm = module.to_bytes(); in wasm_mutate()
H A Dsingle_module_fuzzer.rs348 u.arbitrary::<wasm_smith::Module>()?.to_bytes(), in changing_configuration_does_not_change_module()
H A Doracles.rs1380 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 Dmod.rs520 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 Dp2.rs388 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 Dapi.rs100 wasm: wasm.to_bytes(), in arbitrary()
H A Dsingle_inst_module.rs55 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 Dresponse.rs152 let chunks = collected.unwrap().to_bytes(); in test_response_from_http()
H A Drequest.rs557 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 Dsame_result.rs71 let wasm = module.to_bytes();
/wasmtime-44.0.1/winch/codegen/src/isa/x64/
H A Dmasm.rs1452 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 Dasm.rs325 let constant = self.add_constant(&imm.to_bytes()); in mov_ir()
/wasmtime-44.0.1/winch/codegen/src/
H A Dmasm.rs1198 pub fn to_bytes(&self) -> Vec<u8> { in to_bytes() method
/wasmtime-44.0.1/tests/all/
H A Dcli_tests.rs1657 let body = std::str::from_utf8(&body.to_bytes())?.to_string(); in send_request_with()