| /wasmtime-44.0.1/tests/all/ |
| H A D | invoke_func_via_table.rs | 27 .unwrap_func() in test_invoke_func_via_table()
|
| H A D | externals.rs | 255 assert!(table.get(&mut store, 5).unwrap().unwrap_func().is_some()); in create_get_set_funcref_tables_via_api() 257 assert!(table.get(&mut store, 5).unwrap().unwrap_func().is_none()); in create_get_set_funcref_tables_via_api() 273 assert!(table.get(&mut store, i).unwrap().unwrap_func().is_none()); in fill_funcref_tables_via_api() 280 assert!(table.get(&mut store, i).unwrap().unwrap_func().is_none()); in fill_funcref_tables_via_api() 283 assert!(table.get(&mut store, i).unwrap().unwrap_func().is_some()); in fill_funcref_tables_via_api()
|
| H A D | linker.rs | 41 unknown_import.ty().unwrap_func(); in test_unknown_import_error()
|
| H A D | structs.rs | 778 let res_ty = exp.ty().unwrap_func().result(0).unwrap(); in issue_9714()
|
| /wasmtime-44.0.1/crates/environ/src/compile/ |
| H A D | module_types.rs | 157 let trampoline = sub_ty.unwrap_func().trampoline_type().panic_on_oom(); in intern_trampoline_type() 336 .unwrap_func() in define_exception_type_for_tag() 456 pub fn unwrap_func(&self, interned_ty: ModuleInternedTypeIndex) -> WasmResult<&WasmFuncType> { in unwrap_func() method 463 Ok(composite_type.inner.unwrap_func()) in unwrap_func()
|
| H A D | module_environ.rs | 598 let sig = self.types[sig_index].unwrap_func(); in translate_payload()
|
| /wasmtime-44.0.1/winch/codegen/src/codegen/ |
| H A D | env.rs | 207 let sig = self.types[sig_index].unwrap_func(); in resolve_block_sig() 344 let ty = types[types.core_function_at(idx.as_u32())].unwrap_func(); in callee_sig() 357 let ty = self.types[sig_index].unwrap_func(); in callee_sig()
|
| /wasmtime-44.0.1/crates/cranelift/src/translate/ |
| H A D | translation_utils.rs | 34 .unwrap_func(); in blocktype_params_results()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | module_types.rs | 131 .unwrap_func() in set_trampoline_type()
|
| H A D | types.rs | 1263 pub fn unwrap_func(&self) -> &WasmFuncType { in unwrap_func() method 1411 pub fn unwrap_func(&self) -> &WasmFuncType { in unwrap_func() method 1413 self.composite_type.inner.unwrap_func() in unwrap_func() 1842 pub fn unwrap_func(&self) -> EngineOrModuleTypeIndex { in unwrap_func() method
|
| /wasmtime-44.0.1/crates/environ/src/component/translate/ |
| H A D | adapt.rs | 295 let signature = ty.unwrap_func(); in fact_import_to_core_def() 312 let signature = ty.unwrap_func(); in fact_import_to_core_def()
|
| H A D | inline.rs | 1332 let ty = entity_ty.unwrap_func().unwrap_module_type_index(); in initializer()
|
| /wasmtime-44.0.1/crates/environ/src/fact/ |
| H A D | signature.rs | 33 .unwrap_func(); in signature()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | types.rs | 1484 (Func(FuncType) func unwrap_func) 1511 subty.unwrap_func().clone_panic_on_oom(), in from_wasmtime() 2568 .unwrap_func() in param() 2579 .unwrap_func() in params() 2591 .unwrap_func() in result() 2602 .unwrap_func() in results()
|
| H A D | module.rs | 1151 .unwrap_func() in wasm_to_array_trampoline()
|
| H A D | values.rs | 1021 pub fn unwrap_func(&self) -> Option<&Func> { in unwrap_func() method
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | compile.rs | 386 .compile_wasm_to_array_trampoline(types[sig].unwrap_func(), key, &symbol) in for_component() 517 let trampoline_func_ty = types[trampoline_type_index].unwrap_func(); in collect_inputs_in_translations()
|
| /wasmtime-44.0.1/crates/winch/src/ |
| H A D | compiler.rs | 131 let ty = types[sig].unwrap_func(); in compile_function()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | func_environ.rs | 1092 self.types[ty].unwrap_func().params().len() in num_params_for_func() 1100 self.types[ty].unwrap_func().params().len() in num_params_for_function_type() 1435 let wasm_func_ty = self.types[index].unwrap_func(); in make_sig_ref() 1682 .unwrap_func(func_ty) in tag_param_arity() 3800 .unwrap_func() in continuation_arguments() 3807 .unwrap_func() in continuation_returns() 3814 .unwrap_func() in tag_params() 3821 .unwrap_func() in tag_returns()
|
| H A D | compiler.rs | 249 let wasm_func_ty = types[sig].unwrap_func(); in compile_function() 367 types[sig].unwrap_func(), in compile_array_to_wasm_trampoline()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | instance.rs | 1031 let expected = match expected.unwrap_func() { in assert_type_matches()
|
| H A D | types.rs | 1146 subty.unwrap_func().try_clone().panic_on_oom(), in from()
|
| /wasmtime-44.0.1/crates/debugger/src/host/ |
| H A D | api.rs | 988 async fn unwrap_func(&mut self, self_: Resource<WasmValue>) -> Result<Option<Resource<Func>>> { in unwrap_func() method
|
| /wasmtime-44.0.1/crates/environ/src/component/ |
| H A D | translate.rs | 805 .unwrap_func(); in translate_payload()
|
| /wasmtime-44.0.1/crates/cranelift/src/compiler/ |
| H A D | component.rs | 1595 let sig = types[component.component.trampolines[trampoline_index]].unwrap_func(); in compile_trampoline()
|