Lines Matching refs:State
4 use crate::call_hook::{Context, State, sync_call_hook};
46 let mut linker = Linker::<State>::new(&engine); in call_wrapped_func()
51 let mut store = Store::new(&engine, State::default()); in call_wrapped_func()
112 let linker = Linker::<State>::new(&engine); in call_func_with_realloc()
113 let mut store = Store::new(&engine, State::default()); in call_func_with_realloc()
160 let linker = Linker::<State>::new(&engine); in call_func_with_post_return()
161 let mut store = Store::new(&engine, State::default()); in call_func_with_post_return()
220 let mut linker = Linker::<State>::new(&engine); in call_wrapped_async_func()
225 let mut store = Store::new(&engine, State::default()); in call_wrapped_async_func()
259 let mut linker = Linker::<State>::new(&engine); in trapping()
310 let run = |action: i32, again: bool| -> (State, Option<wasmtime::Error>) { in trapping()
311 let mut store = Store::new(&engine, State::default()); in trapping()
406 impl CallHookHandler<State> for HandlerR { in timeout_async_hook()
409 mut ctx: StoreContextMut<'_, State>, in timeout_async_hook() argument
463 let mut linker = Linker::<State>::new(&engine); in timeout_async_hook()
468 let mut store = Store::new(&engine, State::default()); in timeout_async_hook()