Lines Matching refs:State

12     let mut store = Store::<State>::default();  in call_wrapped_func()
15 fn verify(state: &State) { in call_wrapped_func() argument
26 |caller: Caller<State>, a: i32, b: i64, c: f32, d: f64| { in call_wrapped_func()
43 |caller: Caller<State>, params, results| { in call_wrapped_func()
61 Func::new_unchecked(&mut store, func_ty, |caller: Caller<State>, space| { in call_wrapped_func()
120 let mut store = Store::new(&engine, State::default()); in call_wrapped_async_func()
124 |caller: Caller<State>, (a, b, c, d): (i32, i64, f32, f64)| { in call_wrapped_async_func()
175 let mut store = Store::new(&engine, State::default()); in call_linked_func()
182 |caller: Caller<State>, a: i32, b: i64, c: f32, d: f64| { in call_linked_func()
241 let mut store = Store::new(&engine, State::default()); in call_linked_func_async()
246 |caller: Caller<State>, (a, b, c, d): (i32, i64, f32, f64)| { in call_linked_func_async()
311 let mut store = Store::<State>::default(); in instantiate()
330 let mut store = Store::new(&engine, State::default()); in instantiate_async()
351 let mut store = Store::new(&engine, State::default()); in recursion()
355 linker.func_wrap("host", "f", |mut caller: Caller<State>, n: i32| { in recursion()
429 |mut caller: Caller<State>, action: i32, recur: i32| -> Result<()> { in trapping()
469 let run = |action: i32, recur: bool| -> (State, Option<Error>) { in trapping()
470 let mut store = Store::new(&engine, State::default()); in trapping()
552 impl CallHookHandler<State> for HandlerR { in basic_async_hook()
555 ctx: StoreContextMut<'_, State>, in basic_async_hook() argument
562 let mut store = Store::new(&engine, State::default()); in basic_async_hook()
575 |caller: Caller<State>, a: i32, b: i64, c: f32, d: f64| { in basic_async_hook()
628 impl CallHookHandler<State> for HandlerR { in timeout_async_hook()
631 mut ctx: StoreContextMut<'_, State>, in timeout_async_hook() argument
651 let mut store = Store::new(&engine, State::default()); in timeout_async_hook()
664 |_caller: Caller<State>, a: i32, b: i64, c: f32, d: f64| { in timeout_async_hook()
818 pub struct State { struct
832 impl Default for State { argument
834 State { in default()
848 impl State { impl
897 pub fn sync_call_hook(mut ctx: StoreContextMut<'_, State>, transition: CallHook) -> Result<()> { in sync_call_hook() argument