Home
last modified time | relevance | path

Searched defs:instance (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/wasmtime-44.0.1/tests/all/component_model/
H A Dmacros.rs28 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in record_derive() localVariable
43 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in record_derive() localVariable
60 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in record_derive() localVariable
74 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in record_derive() localVariable
88 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in record_derive() localVariable
115 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in record_derive() localVariable
149 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in variant_derive() localVariable
164 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in variant_derive() localVariable
181 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in variant_derive() localVariable
195 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in variant_derive() localVariable
[all …]
H A Ddynamic.rs39 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in primitives() localVariable
52 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in primitives() localVariable
98 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in strings() localVariable
114 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in lists() localVariable
145 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in maps() localVariable
221 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in maps_complex_types() localVariable
318 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in maps_duplicate_keys() localVariable
351 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in maps_all_primitive_types() localVariable
363 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in maps_all_primitive_types() localVariable
386 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in maps_alignment() localVariable
[all …]
H A Dimport.rs139 let instance = linker.instantiate(&mut store, &component)?; in simple() localVariable
161 let instance = linker.instantiate(&mut store, &component)?; in simple() localVariable
241 let instance = linker.instantiate(&mut store, &component)?; in functions_in_instances() localVariable
262 let instance = linker.instantiate(&mut store, &component)?; in functions_in_instances() localVariable
458 let instance = linker.instantiate(&mut store, &component)?; in attempt_to_reenter_during_host() localVariable
484 let instance = linker.instantiate(&mut store, &component)?; in attempt_to_reenter_during_host() localVariable
1131 let instance = linker.instantiate(&mut store, &component)?; in no_actual_wasm_code() localVariable
1149 let instance = linker.instantiate(&mut store, &component)?; in no_actual_wasm_code() localVariable
1184 let instance = linker.instantiate(&mut store, &component)?; in use_types_across_component_boundaries() localVariable
1212 let instance = linker.instantiate(&mut store, &component)?; in use_types_across_component_boundaries() localVariable
[all …]
H A Dfunc.rs913 let instance = Linker::new(&engine) in async_reentrance() localVariable
1125 let instance = Linker::new(&engine) in task_return_trap() localVariable
1281 let instance = Linker::new(&engine) in test_many_parameters() localVariable
1736 let instance = Linker::new(&engine) in test_many_results() localVariable
2408 let instance = linker.instantiate(&mut store, &component)?; in option() localVariable
2442 let instance = linker.instantiate(&mut store, &component)?; in option() localVariable
2450 let instance = linker.instantiate(&mut store, &component)?; in option() localVariable
2461 let instance = linker.instantiate(&mut store, &component)?; in option() localVariable
2559 let instance = linker.instantiate(&mut store, &component)?; in expected() localVariable
2585 let instance = linker.instantiate(&mut store, &component)?; in expected() localVariable
[all …]
H A Dpost_return.rs74 let instance = style.instantiate(&mut store, &linker, &component).await?; in invoke_post_return() localVariable
145 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in post_return_all_types() localVariable
196 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in post_return_string() localVariable
225 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in trap_in_post_return_poisons_instance() localVariable
H A Dasync.rs31 let instance = Linker::new(&engine) in smoke() localVariable
84 let instance = linker.instantiate_async(&mut store, &component).await?; in smoke_func_wrap() localVariable
212 let instance = linker.instantiate_async(&mut store, &component).await?; in poll_through_wasm_activation() localVariable
646 let instance = Linker::new(&engine) in task_deletion() localVariable
733 let instance = Linker::new(&engine) in cancel_host_future() localVariable
941 let instance = linker.instantiate_async(&mut store, &component).await?; in cancel_host_task_does_not_leak() localVariable
1023 let instance = linker.instantiate_async(&mut store, &component).await?; in sync_lower_async_host_does_not_leak() localVariable
1145 let instance = Linker::new(&engine) in stream_cancel_read_async_does_not_corrupt_state() localVariable
1262 let instance = linker.instantiate_async(&mut store, &component).await?; in concurrent_sync_calls_to_async_host() localVariable
1308 let instance = linker.instantiate_async(&mut store, &component).await?; in bytes_stream_producer() localVariable
H A Dinstance.rs36 let instance = linker.instantiate(&mut store, &component)?; in instance_exports() localVariable
85 let instance = linker.instantiate(&mut store, &component)?; in export_old_get_new() localVariable
120 let instance = linker.instantiate(&mut store, &component)?; in export_new_get_old() localVariable
157 let instance = Linker::new(&engine).instantiate(&mut store, &component)?; in export_missing_get_max() localVariable
/wasmtime-44.0.1/crates/fuzzing/wasm-spec-interpreter/src/
H A Dwith_library.rs48 let instance = ocaml_bindings::instantiate(ocaml_runtime, &module); in instantiate() localVariable
63 let instance = instance.to_boxroot(ocaml_runtime); in interpret() localVariable
97 let instance = instance.to_boxroot(ocaml_runtime); in export() localVariable
188 let instance = instantiate(&module).unwrap(); in invalid_function_name() localVariable
200 let instance = instantiate(&module).unwrap(); in multiple_invocation() localVariable
243 let instance = instantiate(&module).unwrap(); in oob() localVariable
264 let instance = instantiate(&module).unwrap(); in simd_not() localVariable
300 let instance = instantiate(&module).unwrap(); in order_of_params() localVariable
328 let instance = instantiate(&module).unwrap(); in load_store_and_export() localVariable
/wasmtime-44.0.1/tests/all/
H A Dtraps.rs126 let instance = Instance::new(&mut store, &module, &[])?; in test_trap_trace() localVariable
197 let instance = Instance::new( in test_trap_through_host() localVariable
226 let instance = Instance::new(&mut store, &module, &[])?; in test_trap_backtrace_disabled() localVariable
309 let instance = Instance::new(&mut store, &module, &[])?; in trap_display_pretty() localVariable
339 let instance = Instance::new(&mut store, &module, &[])?; in trap_display_multi_module() localVariable
524 let instance = Instance::new(&mut store, &module, &[])?; in mismatched_arguments() localVariable
603 let instance = Instance::new(&mut store, &module, &[])?; in present_after_module_drop() localVariable
832 let instance = Instance::new(&mut store, &module, &[])?; in multithreaded_traps() localVariable
870 let instance = Instance::new(&mut store, &module, &[])?; in traps_without_address_map() localVariable
1230 let instance = Instance::new(&mut store, &module, &[])?; in div_plus_load_reported_right() localVariable
[all …]
H A Dlimits.rs28 let instance = Instance::new(&mut store, &module, &[])?; in test_limits() localVariable
79 let instance = Instance::new(&mut store, &module, &[])?; in test_limits() localVariable
136 let instance = Instance::new_async(&mut store, &module, &[]).await?; in test_limits_async() localVariable
200 let instance = Instance::new(&mut store, &module, &[])?; in test_limits_memory_only() localVariable
281 let instance = Instance::new(&mut store, &module, &[])?; in test_limits_table_only() localVariable
468 let instance = linker.instantiate(&mut store, &module)?; in test_custom_memory_limiter() localVariable
673 let instance = linker.instantiate(&mut store, &module)?; in test_custom_table_limiter() localVariable
766 let instance = linker.instantiate(&mut store, &module)?; in custom_limiter_detect_grow_failure() localVariable
986 let instance = linker.instantiate(&mut store, &module).unwrap(); in panic_in_memory_limiter() localVariable
1133 let instance = Instance::new(&mut store, &module, &[])?; in growth_trap() localVariable
[all …]
H A Ddebug.rs28 let instance = Instance::new(&mut store, &module, &[])?; in debugging_apis_are_denied_without_debugging() localVariable
62 let instance = Instance::new(&mut store, &module, &[Extern::Func(func)])?; in test_stack_values() localVariable
439 let instance = Instance::new( in private_entity_access() localVariable
510 let instance = Instance::new(&mut store, &module, &[])?; in private_entity_access_shared_memory() localVariable
641 let instance = Instance::new_async(&mut store, &module, &[]).await?; in uncaught_exception_events() localVariable
694 let instance = Instance::new_async(&mut store, &module, &[]).await?; in caught_exception_events() localVariable
737 let instance = Instance::new_async(&mut store, &module, &[]).await?; in hostcall_trap_events() localVariable
833 let instance = Instance::new_async(&mut store, &module, &[]).await?; in breakpoint_events() localVariable
971 let instance = Instance::new_async(&mut store, &module, &[]).await?; in breakpoints_in_inlined_code() localVariable
1025 let instance = Instance::new_async(&mut store, &module, &[]).await?; in epoch_events() localVariable
[all …]
H A Dcompile_time_builtins.rs83 let instance = linker.instantiate(&mut store, &component)?; in smoke() localVariable
130 let instance = linker.instantiate(&mut store, &component)?; in unused_compile_time_builtins() localVariable
190 let instance = linker.instantiate(&mut store, &component)?; in multiple_compile_time_builtins() localVariable
H A Dpooling_allocator.rs67 let instance = Instance::new(&mut store, &module, &[])?; in memory_limit() localVariable
85 let instance = Instance::new(&mut store, &module, &[])?; in memory_limit() localVariable
121 let instance = Instance::new(&mut store, &module, &[])?; in memory_init() localVariable
156 let instance = Instance::new(&mut store, &module, &[])?; in memory_guard_page_trap() localVariable
217 let instance = Instance::new(&mut store, &module, &[])?; in memory_zeroed() localVariable
296 let instance = Instance::new(&mut store, &module, &[])?; in table_limit() localVariable
343 let instance = Instance::new(&mut store, &module, &[])?; in table_init() localVariable
621 let instance = Instance::new(&mut store, &module2, &[])?; in switch_image_and_non_image() localVariable
812 let instance = Instance::new(&mut store, &module, &[])?; in zero_memory_pages_disallows_oob() localVariable
1438 let instance = Instance::new(&mut store, &a, &[])?; in pooling_reuse_resets() localVariable
[all …]
H A Diloop.rs33 let instance = Instance::new(&mut store, &module, &[])?; in loops_interruptible() localVariable
46 let instance = Instance::new(&mut store, &module, &[func.into()])?; in functions_interruptible() localVariable
79 let instance = Instance::new(&mut store, &module, &[func.into()])?; in loop_interrupt_from_afar() localVariable
116 let instance = Instance::new(&mut store, &module, &[func.into()])?; in function_interrupt_from_afar() localVariable
H A Dfuel.rs240 let instance = Instance::new(&mut store, &module, &[func.into()]).unwrap(); in host_function_consumes_all() localVariable
288 let instance = Instance::new(&mut store, &module, &[]).unwrap(); in unconditionally_trapping_memory_accesses_save_fuel_before_trapping() localVariable
319 let instance = Instance::new(&mut store, &module, &[])?; in get_fuel_clamps_at_zero() localVariable
357 let instance = Instance::new(&mut store, &module, &[])?; in immediate_trap_with_fuel1() localVariable
376 let instance = Instance::new(&mut store, &module, &[])?; in ensure_stack_alignment() localVariable
417 let instance = Instance::new(&mut store, &module, &[])?; in custom_operator_cost() localVariable
H A Dfunc.rs28 let instance = Instance::new(&mut store, &module, &[])?; in call_wasm_to_wasm() localVariable
116 let instance = Instance::new(&mut store, &module, &[])?; in call_native_to_wasm() localVariable
177 let instance = Instance::new(&mut store, &module, &[])?; in call_array_to_wasm() localVariable
348 let instance = Instance::new(&mut store, &module, &[])?; in call_indirect_native_from_exported_table() localVariable
380 let instance = Instance::new(&mut store, &module, &[])?; in call_indirect_native_from_exported_global() localVariable
941 let instance = Instance::new(&mut store, &module, &[])?; in get_from_module() localVariable
1201 let instance = Instance::new(&mut store, &module, &[])?; in typed_multiple_results() localVariable
1447 let instance = Instance::new(&mut store, &module, &[])?; in trampoline_for_declared_elem() localVariable
1529 let instance = Instance::new(&mut store, &module, &[])?; in typed_funcs_count_params_correctly_in_error_messages() localVariable
1594 let instance = linker.instantiate(&mut store, &module)?; in calls_with_funcref_and_externref() localVariable
[all …]
H A Dgc.rs105 let instance = Instance::new(&mut store, &module, &[])?; in wasm_dropping_refs() localVariable
234 let instance = Instance::new(&mut store, &module, &[])?; in drop_externref_via_table_set() localVariable
468 let instance = linker.instantiate(&mut store, &module)?; in no_gc_middle_of_args() localVariable
641 let instance = linker.instantiate(&mut store, &module)?; in gc_and_tail_calls_and_stack_arguments() localVariable
970 let instance = Instance::new(&mut store, &module, &[])?; in table_init_doesnt_leak() localVariable
1147 let instance = Instance::new(&mut store, &module, &[])?; in issue_9669() localVariable
1435 let instance = linker.instantiate(&mut store, &module)?; in issue_10772() localVariable
1606 let instance = Instance::new(&mut store, &module, &[])?; in runtime_table_init_oom() localVariable
1748 let instance = Instance::new(&mut store, &module, &[])?; in array_new_elem_oom() localVariable
1795 let instance = Instance::new(&mut store, &module, &[])?; in array_init_elem_oom() localVariable
[all …]
H A Dcoredump.rs23 let instance = Instance::new(&mut store, &module, &[hello_func.into()])?; in coredump_attached_to_error() localVariable
61 let instance = Instance::new(&mut store, &module, &[])?; in coredump_has_stack() localVariable
149 let instance = linker.instantiate(&mut store, &module)?; in coredump_has_host_globals_and_memory() localVariable
190 let instance = Instance::new(&mut store, &module, &[])?; in coredump_has_defined_globals_and_memory() localVariable
280 let instance = Instance::new(&mut store, &module, &[])?; in core_dump_with_shared_memory() localVariable
/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dinstance.rs36 let instance = instance_pre.instantiate(&mut store)?; in call_exported_func() localVariable
88 let instance = instance_pre.instantiate(&mut store)?; in instance_get_export() localVariable
116 let instance = instance_pre.instantiate(&mut store)?; in instance_exports() localVariable
145 let instance = instance_pre.instantiate(&mut store)?; in instance_get_func() localVariable
174 let instance = instance_pre.instantiate(&mut store)?; in instance_get_typed_func() localVariable
198 let instance = instance_pre.instantiate(&mut store)?; in instance_get_table() localVariable
223 let instance = instance_pre.instantiate(&mut store)?; in instance_get_memory() localVariable
252 let instance = instance_pre.instantiate(&mut store)?; in instance_get_global() localVariable
H A Dcaller.rs39 let instance = wasmtime::Instance::new(&mut store, &module, &[host_func.into()])?; in caller_get_export() localVariable
77 let instance = wasmtime::Instance::new(&mut store, &module, &[host_func.into()])?; in caller_data() localVariable
115 let instance = wasmtime::Instance::new(&mut store, &module, &[host_func.into()])?; in caller_engine() localVariable
/wasmtime-44.0.1/benches/
H A Dtrap.rs39 let instance = Instance::new(&mut store, &module, &[]).unwrap(); in bench_multi_threaded_traps() localVariable
67 let instance = Instance::new(&mut store, &module, &[]).unwrap(); in bench_multi_threaded_traps() localVariable
109 let instance = Instance::new(&mut store, modules.last().unwrap(), &[]).unwrap(); in bench_many_modules_registered_traps() localVariable
139 let instance = Instance::new(&mut store, &module, &[]).unwrap(); in bench_many_stack_frames_traps() localVariable
197 let instance = Instance::new(&mut store, &module, &[host_func.into()]).unwrap(); in bench_host_wasm_frames_traps() localVariable
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtrampoline.rs27 let instance = create_memory(store, limiter, m, preallocation).await?; in generate_memory_export() localVariable
39 let instance = create_table(store, limiter, t).await?; in generate_table_export() localVariable
47 let instance = create_tag(store, t)?; in generate_tag_export() localVariable
/wasmtime-44.0.1/crates/c-api/include/wasmtime/
H A Dinstance.hh36 wasmtime_instance_t instance; member in wasmtime::Instance
40 Instance(wasmtime_instance_t instance) : instance(instance) {} in Instance()
66 wasmtime_instance_t instance; in create() local
/wasmtime-44.0.1/crates/wasmtime/src/runtime/externals/
H A Dglobal.rs32 instance: u32, field
356 let instance = InstanceId::from_u32(self.instance); in wasmtime_ty() localVariable
376 let instance = InstanceId::from_u32(self.instance); in vmimport() localVariable
382 let instance = crate::component::ComponentInstanceId::from_u32(self.instance); in vmimport() localVariable
432 let instance = InstanceId::from_u32(self.instance); in definition() localVariable
440 let instance = crate::component::ComponentInstanceId::from_u32(self.instance); in definition() localVariable
472 let instance = Instance::new(&mut store, &module, &[])?; in hash_key_is_stable_across_duplicate_store_data_entries() localVariable
/wasmtime-44.0.1/crates/c-api/include/wasmtime/component/
H A Dinstance.hh23 wasmtime_component_instance_t instance; member in wasmtime::component::Instance
38 const ExportIndex *instance, in get_export_index()

12345678910>>...14