Home
last modified time | relevance | path

Searched refs:instance2 (Results 1 – 16 of 16) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/tests/
H A Dcustom_signal_handler.rs260 let instance2 = in test_custom_signal_handler_multiple_instances() localVariable
265 let (base2, length2) = set_up_memory(&mut store, instance2); in test_custom_signal_handler_multiple_instances()
289 let mut exports2 = instance2.exports(&mut store); in test_custom_signal_handler_multiple_instances()
294 let result = invoke_export(&mut store, instance2, "read").expect("read succeeded"); in test_custom_signal_handler_multiple_instances()
328 let instance2 = Instance::new(&mut store, &module2, &[instance1_read])?; in test_custom_signal_handler_instance_calling_another_instance() localVariable
338 let result = invoke_export(&mut store, instance2, "run")?; in test_custom_signal_handler_instance_calling_another_instance()
/wasmtime-44.0.1/tests/all/
H A Dwait_notify.rs79 let instance2 = Instance::new(&mut store, &module, &[shared_memory.into()]).unwrap(); in atomic_wait_notify_basic() localVariable
81 let instance2_first_word = instance2 in atomic_wait_notify_basic()
H A Dmemory_creator.rs168 let instance2 = Instance::new(&mut store, &module, &[])?; in host_memory_grow() localVariable
173 instance2 in host_memory_grow()
H A Dexceptions.rs89 let instance2 = Instance::new(&mut store, &module, &[Extern::Tag(tag0), Extern::Tag(tag0)])?; in dynamic_tags() localVariable
90 let func2 = instance2.get_func(&mut store, "catch").unwrap(); in dynamic_tags()
H A Ddebug.rs357 let instance2 = Instance::new(&mut store, &module2, &[Extern::Func(host2)])?; in stack_values_two_activations() localVariable
358 let inner = instance2.get_func(&mut store, "inner").unwrap(); in stack_values_two_activations()
1258 let instance2 = Instance::new(&mut store, &module2, &[])?; in debug_ids() localVariable
1267 instance2.debug_index_in_store() in debug_ids()
1284 instance2 in debug_ids()
1330 let m_via_export = instance2 in debug_ids()
1335 let m_via_introspection = instance2.debug_memory(&mut store, 0).unwrap(); in debug_ids()
H A Dthreads.rs103 let instance2 = Instance::new(&mut store, &module, &[shared_memory.clone().into()])?; in test_sharing_of_shared_memory() localVariable
123 let instance2_first_word = instance2 in test_sharing_of_shared_memory()
H A Dpooling_allocator.rs967 let instance2 = linker.instantiate_async(&mut store2, &module).await?; in total_stacks_limit() localVariable
968 let run2 = instance2.get_func(&mut store2, "run").unwrap(); in total_stacks_limit()
991 let instance2 = linker.instantiate_async(&mut store2, &module).await?; in total_stacks_limit() localVariable
992 let run2 = instance2.get_func(&mut store2, "run").unwrap(); in total_stacks_limit()
H A Dasync_functions.rs912 let instance2 = linker2.instantiate_async(&mut store2, &module2).await?; in non_stacky_async_activations() localVariable
914 instance2 in non_stacky_async_activations()
H A Dtraps.rs1605 let instance2 = Instance::new(&mut store2, &module, &[f2.into(), call_ref2.into()])?; in same_module_multiple_stores() localVariable
1615 instance2 in same_module_multiple_stores()
/wasmtime-44.0.1/crates/c-api/tests/
H A Dexception.cc169 auto instance2 = Instance::create(cx, module2, imports2).unwrap(); in TEST() local
170 auto read_fn = std::get<Func>(*instance2.get(cx, "read")); in TEST()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dmemory.rs1106 let instance2 = Instance::new(&mut store, &module, &[])?; in hash_key_is_stable_across_duplicate_store_data_entries() localVariable
1107 let m3 = instance2.get_memory(&mut store, "m").unwrap(); in hash_key_is_stable_across_duplicate_store_data_entries()
H A Dfunc.rs2795 let instance2 = Instance::new(&mut store, &module, &[])?; in hash_key_is_stable_across_duplicate_store_data_entries() localVariable
2796 let f3 = instance2.get_func(&mut store, "f").unwrap(); in hash_key_is_stable_across_duplicate_store_data_entries()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/externals/
H A Dglobal.rs491 let instance2 = Instance::new(&mut store, &module, &[])?; in hash_key_is_stable_across_duplicate_store_data_entries() localVariable
492 let g3 = instance2.get_global(&mut store, "g").unwrap(); in hash_key_is_stable_across_duplicate_store_data_entries()
H A Dtable.rs706 let instance2 = Instance::new(&mut store, &module, &[])?; in hash_key_is_stable_across_duplicate_store_data_entries() localVariable
707 let t3 = instance2.get_table(&mut store, "t").unwrap(); in hash_key_is_stable_across_duplicate_store_data_entries()
/wasmtime-44.0.1/tests/all/component_model/
H A Ddynamic.rs184 let instance2 = Linker::new(&engine).instantiate(&mut store2, &component)?; in maps() localVariable
185 let func2 = instance2.get_func(&mut store2, "echo").unwrap(); in maps()
/wasmtime-44.0.1/crates/environ/src/component/translate/
H A Dinline.rs1224 let instance2 = self.runtime_instances.push(instance_module); in initializer() localVariable
1225 assert_eq!(instance, instance2); in initializer()