Lines Matching refs:engine

11     let engine = Engine::new(&config)?;  in func_new()  localVariable
14 let mut store = Store::try_new(&engine, ())?; in func_new()
25 let engine = Engine::new(&config)?; in func_new_with_type() localVariable
28 let mut store = Store::try_new(&engine, ())?; in func_new_with_type()
29 let ty = FuncType::try_new(&engine, [ValType::I32], [ValType::I32])?; in func_new_with_type()
43 let engine = Engine::new(&config)?; in func_call() localVariable
45 &engine, in func_call()
53 let engine = Engine::new(&config)?; in func_call() localVariable
54 let module = unsafe { Module::deserialize(&engine, &module_bytes)? }; in func_call()
55 let linker = Linker::<()>::new(&engine); in func_call()
59 let mut store = Store::try_new(&engine, ())?; in func_call()
74 let engine = Engine::new(&config)?; in func_call_async() localVariable
76 &engine, in func_call_async()
84 let engine = Engine::new(&config)?; in func_call_async() localVariable
85 let module = unsafe { Module::deserialize(&engine, &module_bytes)? }; in func_call_async()
86 let linker = Linker::<()>::new(&engine); in func_call_async()
91 let mut store = Store::try_new(&engine, ())?; in func_call_async()
108 let engine = Engine::new(&config)?; in func_typed() localVariable
110 &engine, in func_typed()
118 let engine = Engine::new(&config)?; in func_typed() localVariable
119 let module = unsafe { Module::deserialize(&engine, &module_bytes)? }; in func_typed()
120 let linker = Linker::<()>::new(&engine); in func_typed()
124 let mut store = Store::try_new(&engine, ())?; in func_typed()
138 let engine = Engine::new(&config)?; in func_ty() localVariable
141 let mut store = Store::try_new(&engine, ())?; in func_ty()