Home
last modified time | relevance | path

Searched refs:WasmStr (Results 1 – 9 of 9) sorted by relevance

/wasmtime-44.0.1/tests/all/component_model/
H A Dimport.rs750 WasmStr, in test_stack_and_heap_args_and_rets()
751 WasmStr, in test_stack_and_heap_args_and_rets()
1045 WasmStr, in bad_import_alignment()
1046 WasmStr, in bad_import_alignment()
1047 WasmStr, in bad_import_alignment()
1048 WasmStr, in bad_import_alignment()
1049 WasmStr, in bad_import_alignment()
1050 WasmStr, in bad_import_alignment()
1051 WasmStr, in bad_import_alignment()
1052 WasmStr, in bad_import_alignment()
[all …]
H A Dnested.rs170 .get_typed_func::<(u32,), (WasmStr,)>(&mut store, "run")? in thread_options_through_inner()
H A Dfunc.rs116 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()
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()
[all …]
H A Dpost_return.rs197 let get = instance.get_typed_func::<(), (WasmStr,)>(&mut store, "get")?; in post_return_string()
H A Dcall_hook.rs120 .get_typed_func::<(&[u8],), (WasmStr,)>(&mut store, "list8-to-str") in call_func_with_realloc()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dmod.rs128 ComponentNamedList, ComponentType, Func, Lift, Lower, TypedFunc, WasmList, WasmStr,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/
H A Dtyped.rs1016 let s = <WasmStr as Lift>::linear_lift_from_flat(cx, ty, src)?;
1023 let s = <WasmStr as Lift>::linear_lift_from_memory(cx, ty, bytes)?;
1674 pub struct WasmStr { struct
1681 impl WasmStr { impl
1682 pub(crate) fn new(ptr: usize, len: usize, cx: &mut LiftContext<'_>) -> Result<WasmStr> { in new() argument
1702 Ok(WasmStr { in new()
1788 unsafe impl ComponentType for WasmStr { implementation
1801 unsafe impl Lift for WasmStr { implementation
1810 WasmStr::new(ptr, len, cx) in linear_lift_from_flat()
1822 WasmStr::new(ptr, len, cx) in linear_lift_from_memory()
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Ddescriptors.rs3 use crate::{BlockingMode, ImportAlloc, State, TrappingUnwrap, WasmStr};
473 pub path: WasmStr,
H A Dlib.rs2726 pub struct WasmStr { struct
2733 base: *const WasmStr, argument
2739 key: WasmStr,
2740 value: WasmStr,