Lines Matching refs:WasmStr
116 assert!(ret_string.typed::<(), (WasmStr,)>(&store).is_ok()); in typecheck()
753 instance.get_typed_func::<(&[u8],), (WasmStr,)>(&mut store, "list8-to-str")?; in strings()
757 instance.get_typed_func::<(&[u16],), (WasmStr,)>(&mut store, "list16-to-str")?; in strings()
2262 .get_typed_func::<(), (WasmStr,)>(&mut store, "ret-string")?; in string_list_oob()
2428 let option_string_to_tuple = instance.get_typed_func::<(Option<&str>,), ((u32, WasmStr),)>( in option()
2463 .get_typed_func::<(u32, &str), (Option<WasmStr>,)>(&mut store, "to-option-string")?; in option()
2574 .get_typed_func::<(Result<&str, &[u8]>,), ((u32, WasmStr),)>( in expected()
2811 .get_typed_func::<(), (WasmStr,)>(&mut store, "string-ret")? in invalid_alignment()
3121 .func_wrap("s", |store: StoreContextMut<'_, ()>, (x,): (WasmStr,)| { in lower_then_lift()
3161 .func_wrap("s2", |store: StoreContextMut<'_, ()>, (x,): (WasmStr,)| { in lower_then_lift()
3167 let f = instance.get_typed_func::<(&str,), (WasmStr,)>(&mut store, "f")?; in lower_then_lift()
3244 let f4 = instance.get_typed_func::<(), (WasmStr,)>(&mut store, "f4")?; in errors_that_poison_instance()