Lines Matching refs:engine

33     let engine = super::engine();  in thunks()  localVariable
34 let component = Component::new(&engine, component)?; in thunks()
35 let mut store = Store::new(&engine, ()); in thunks()
36 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in thunks()
88 let engine = Engine::default(); in typecheck() localVariable
89 let component = Component::new(&engine, component)?; in typecheck()
90 let mut store = Store::new(&engine, ()); in typecheck()
91 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in typecheck()
186 let engine = super::engine(); in integers() localVariable
187 let component = Component::new(&engine, component)?; in integers()
188 let mut store = Store::new(&engine, ()); in integers()
189 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in integers()
218 with_new_instance(&engine, &component, |store, instance| { in integers()
225 with_new_instance(&engine, &component, |store, instance| { in integers()
232 with_new_instance(&engine, &component, |store, instance| { in integers()
239 with_new_instance(&engine, &component, |store, instance| { in integers()
246 with_new_instance(&engine, &component, |store, instance| { in integers()
253 with_new_instance(&engine, &component, |store, instance| { in integers()
260 with_new_instance(&engine, &component, |store, instance| { in integers()
267 with_new_instance(&engine, &component, |store, instance| { in integers()
435 let engine = super::engine(); in type_layers() localVariable
436 let component = Component::new(&engine, component)?; in type_layers()
437 let mut store = Store::new(&engine, ()); in type_layers()
438 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in type_layers()
495 let engine = super::engine(); in floats() localVariable
496 let component = Component::new(&engine, component)?; in floats()
497 let mut store = Store::new(&engine, ()); in floats()
498 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in floats()
554 let engine = super::engine(); in bools() localVariable
555 let component = Component::new(&engine, component)?; in bools()
556 let mut store = Store::new(&engine, ()); in bools()
557 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in bools()
588 let engine = super::engine(); in chars() localVariable
589 let component = Component::new(&engine, component)?; in chars()
590 let mut store = Store::new(&engine, ()); in chars()
591 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in chars()
608 Linker::new(&engine) in chars()
665 let engine = super::engine(); in tuple_result() localVariable
666 let component = Component::new(&engine, component)?; in tuple_result()
667 let mut store = Store::new(&engine, ()); in tuple_result()
668 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in tuple_result()
748 let engine = super::engine(); in strings() localVariable
749 let component = Component::new(&engine, component)?; in strings()
750 let mut store = Store::new(&engine, ()); in strings()
751 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in strings()
909 let engine = &Engine::new(&config)?; in async_reentrance() localVariable
910 let component = Component::new(&engine, component)?; in async_reentrance()
911 let mut store = Store::new(&engine, ()); in async_reentrance()
913 let instance = Linker::new(&engine) in async_reentrance()
1121 let engine = &Engine::new(&config)?; in task_return_trap() localVariable
1122 let component = Component::new(&engine, component)?; in task_return_trap()
1123 let mut store = Store::new(&engine, ()); in task_return_trap()
1125 let instance = Linker::new(&engine) in task_return_trap()
1277 let engine = &Engine::new(&config)?; in test_many_parameters() localVariable
1278 let component = Component::new(&engine, component)?; in test_many_parameters()
1279 let mut store = Store::new(&engine, ()); in test_many_parameters()
1281 let instance = Linker::new(&engine) in test_many_parameters()
1732 let engine = &Engine::new(&config)?; in test_many_results() localVariable
1733 let component = Component::new(&engine, component)?; in test_many_results()
1734 let mut store = Store::new(&engine, ()); in test_many_results()
1736 let instance = Linker::new(&engine) in test_many_results()
1982 let engine = super::engine(); in some_traps() localVariable
1983 let component = Component::new(&engine, component)?; in some_traps()
1986 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
1996 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2007 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2033 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2040 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2047 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2054 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2061 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2075 with_new_instance(&engine, &component, |store, instance| { in some_traps()
2080 with_new_instance(&engine, &component, |store, instance| { in some_traps()
2085 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2092 with_new_instance(&engine, &component, |store, instance| { in some_traps()
2097 with_new_instance(&engine, &component, |store, instance| { in some_traps()
2102 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2109 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2123 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2133 let err = with_new_instance(&engine, &component, |store, instance| { in some_traps()
2188 let engine = super::engine(); in char_bool_memory() localVariable
2189 let component = Component::new(&engine, component)?; in char_bool_memory()
2190 let mut store = Store::new(&engine, ()); in char_bool_memory()
2191 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in char_bool_memory()
2254 let engine = super::engine(); in string_list_oob() localVariable
2255 let component = Component::new(&engine, component)?; in string_list_oob()
2256 let mut store = Store::new(&engine, ()); in string_list_oob()
2257 let ret_list_u8 = Linker::new(&engine) in string_list_oob()
2260 let ret_string = Linker::new(&engine) in string_list_oob()
2312 let engine = super::engine(); in tuples() localVariable
2313 let component = Component::new(&engine, component)?; in tuples()
2314 let mut store = Store::new(&engine, ()); in tuples()
2315 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in tuples()
2404 let engine = super::engine(); in option() localVariable
2405 let component = Component::new(&engine, component)?; in option()
2406 let mut store = Store::new(&engine, ()); in option()
2407 let linker = Linker::new(&engine); in option()
2555 let engine = super::engine(); in expected() localVariable
2556 let component = Component::new(&engine, component)?; in expected()
2557 let mut store = Store::new(&engine, ()); in expected()
2558 let linker = Linker::new(&engine); in expected()
2663 let engine = super::engine(); in fancy_list() localVariable
2664 let component = Component::new(&engine, component)?; in fancy_list()
2665 let mut store = Store::new(&engine, ()); in fancy_list()
2666 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in fancy_list()
2781 let engine = super::engine(); in invalid_alignment() localVariable
2782 let component = Component::new(&engine, component)?; in invalid_alignment()
2783 let mut store = Store::new(&engine, ()); in invalid_alignment()
2784 let instance = |store: &mut Store<()>| Linker::new(&engine).instantiate(store, &component); in invalid_alignment()
2868 let engine = super::engine(); in drop_component_still_works() localVariable
2869 let component = Component::new(&engine, component)?; in drop_component_still_works()
2870 let mut store = Store::new(&engine, 0); in drop_component_still_works()
2871 let mut linker = Linker::new(&engine); in drop_component_still_works()
2948 let engine = super::engine(); in raw_slice_of_various_types() localVariable
2949 let component = Component::new(&engine, component)?; in raw_slice_of_various_types()
2950 let mut store = Store::new(&engine, ()); in raw_slice_of_various_types()
2951 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in raw_slice_of_various_types()
3081 let engine = super::engine(); in lower_then_lift() localVariable
3082 let component = Component::new(&engine, component)?; in lower_then_lift()
3083 let mut store = Store::new(&engine, ()); in lower_then_lift()
3084 let mut linker = Linker::new(&engine); in lower_then_lift()
3117 let component = Component::new(&engine, component)?; in lower_then_lift()
3118 let mut store = Store::new(&engine, ()); in lower_then_lift()
3157 let component = Component::new(&engine, component)?; in lower_then_lift()
3158 let mut store = Store::new(&engine, ()); in lower_then_lift()
3213 let engine = super::engine(); in errors_that_poison_instance() localVariable
3214 let component = Component::new(&engine, component)?; in errors_that_poison_instance()
3215 let linker = Linker::new(&engine); in errors_that_poison_instance()
3218 let mut store = Store::new(&engine, ()); in errors_that_poison_instance()
3228 let mut store = Store::new(&engine, ()); in errors_that_poison_instance()
3242 let mut store = Store::new(&engine, ()); in errors_that_poison_instance()
3314 let engine = super::engine(); in run_export_with_internal_adapter() localVariable
3315 let component = Component::new(&engine, component)?; in run_export_with_internal_adapter()
3316 let mut store = Store::new(&engine, ()); in run_export_with_internal_adapter()
3317 let linker = Linker::new(&engine); in run_export_with_internal_adapter()
3373 let engine = super::engine(); in test_recurse() localVariable
3374 let component = Component::new(&engine, component)?; in test_recurse()
3375 let mut store = Store::new(&engine, Ctx::default()); in test_recurse()
3376 let mut linker = Linker::<Ctx>::new(&engine); in test_recurse()
3435 let engine = Engine::new(&style.config())?; in thread_index_via_instantiation() localVariable
3436 let component = Component::new(&engine, component)?; in thread_index_via_instantiation()
3437 let mut store = Store::new(&engine, ()); in thread_index_via_instantiation()
3438 let linker = Linker::new(&engine); in thread_index_via_instantiation()
3474 let engine = Engine::new(&style.config())?; in thread_index_via_call() localVariable
3475 let component = Component::new(&engine, component)?; in thread_index_via_call()
3476 let mut store = Store::new(&engine, ()); in thread_index_via_call()
3477 let linker = Linker::new(&engine); in thread_index_via_call()
3523 let engine = Engine::new(&style.config())?; in thread_index_via_post_return() localVariable
3524 let component = Component::new(&engine, component)?; in thread_index_via_post_return()
3525 let mut store = Store::new(&engine, ()); in thread_index_via_post_return()
3526 let linker = Linker::new(&engine); in thread_index_via_post_return()
3578 let engine = Engine::new(&style.config())?; in thread_index_via_cabi_realloc() localVariable
3579 let component = Component::new(&engine, component)?; in thread_index_via_cabi_realloc()
3580 let mut store = Store::new(&engine, ()); in thread_index_via_cabi_realloc()
3581 let linker = Linker::new(&engine); in thread_index_via_cabi_realloc()
3641 let engine = Engine::new(&style.config())?; in thread_index_via_resource_drop() localVariable
3642 let component = Component::new(&engine, component)?; in thread_index_via_resource_drop()
3643 let mut store = Store::new(&engine, ()); in thread_index_via_resource_drop()
3644 let linker = Linker::new(&engine); in thread_index_via_resource_drop()
3717 let engine = Engine::new(&style.config())?; in thread_index_via_guest_call() localVariable
3718 let component = Component::new(&engine, component)?; in thread_index_via_guest_call()
3719 let mut store = Store::new(&engine, ()); in thread_index_via_guest_call()
3720 let linker = Linker::new(&engine); in thread_index_via_guest_call()
3728 engine: &Engine, in with_new_instance()
3732 let mut store = Store::new(engine, ()); in with_new_instance()
3733 let instance = Linker::new(engine).instantiate(&mut store, component)?; in with_new_instance()
3754 let engine = &Engine::new(&Config::new())?; in drop_call_async_future() localVariable
3755 let component = Component::new(&engine, component)?; in drop_call_async_future()
3756 let mut store = Store::new(&engine, ()); in drop_call_async_future()
3757 let mut linker = Linker::new(&engine); in drop_call_async_future()
3788 let engine = Engine::new(&config)?; in host_call_with_concurrency_disabled() localVariable
3789 let mut store = Store::new(&engine, ()); in host_call_with_concurrency_disabled()
3790 let mut linker = Linker::<()>::new(&engine); in host_call_with_concurrency_disabled()
3806 &engine, in host_call_with_concurrency_disabled()
3953 let engine = Engine::new(&config)?; in map_trampoline_alignment() localVariable
3954 let component = Component::new(&engine, component)?; in map_trampoline_alignment()
3956 let mut store = Store::new(&engine, ()); in map_trampoline_alignment()
3957 let mut linker = Linker::new(&engine); in map_trampoline_alignment()
4087 let engine = Engine::new(&config)?; in map_trampoline_alignment_u32_u64() localVariable
4088 let component = Component::new(&engine, component)?; in map_trampoline_alignment_u32_u64()
4090 let mut store = Store::new(&engine, ()); in map_trampoline_alignment_u32_u64()
4091 let mut linker = Linker::new(&engine); in map_trampoline_alignment_u32_u64()
4218 let engine = Engine::new(&config)?; in map_trampoline_alignment_u8_u32() localVariable
4219 let component = Component::new(&engine, component)?; in map_trampoline_alignment_u8_u32()
4221 let mut store = Store::new(&engine, ()); in map_trampoline_alignment_u8_u32()
4222 let mut linker = Linker::new(&engine); in map_trampoline_alignment_u8_u32()
4349 let engine = Engine::new(&config)?; in map_trampoline_alignment_u16_u64() localVariable
4350 let component = Component::new(&engine, component)?; in map_trampoline_alignment_u16_u64()
4352 let mut store = Store::new(&engine, ()); in map_trampoline_alignment_u16_u64()
4353 let mut linker = Linker::new(&engine); in map_trampoline_alignment_u16_u64()
4480 let engine = Engine::new(&config)?; in map_trampoline_alignment_u8_u16() localVariable
4481 let component = Component::new(&engine, component)?; in map_trampoline_alignment_u8_u16()
4483 let mut store = Store::new(&engine, ()); in map_trampoline_alignment_u8_u16()
4484 let mut linker = Linker::new(&engine); in map_trampoline_alignment_u8_u16()
4611 let engine = Engine::new(&config)?; in map_trampoline_alignment_u64_u8() localVariable
4612 let component = Component::new(&engine, component)?; in map_trampoline_alignment_u64_u8()
4614 let mut store = Store::new(&engine, ()); in map_trampoline_alignment_u64_u8()
4615 let mut linker = Linker::new(&engine); in map_trampoline_alignment_u64_u8()