Home
last modified time | relevance | path

Searched refs:unwrap_func (Results 1 – 25 of 26) sorted by relevance

12

/wasmtime-44.0.1/tests/all/
H A Dinvoke_func_via_table.rs27 .unwrap_func() in test_invoke_func_via_table()
H A Dexternals.rs255 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 Dlinker.rs41 unknown_import.ty().unwrap_func(); in test_unknown_import_error()
H A Dstructs.rs778 let res_ty = exp.ty().unwrap_func().result(0).unwrap(); in issue_9714()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_types.rs157 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 Dmodule_environ.rs598 let sig = self.types[sig_index].unwrap_func(); in translate_payload()
/wasmtime-44.0.1/winch/codegen/src/codegen/
H A Denv.rs207 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 Dtranslation_utils.rs34 .unwrap_func(); in blocktype_params_results()
/wasmtime-44.0.1/crates/environ/src/
H A Dmodule_types.rs131 .unwrap_func() in set_trampoline_type()
H A Dtypes.rs1263 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 Dadapt.rs295 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 Dinline.rs1332 let ty = entity_ty.unwrap_func().unwrap_module_type_index(); in initializer()
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dsignature.rs33 .unwrap_func(); in signature()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtypes.rs1484 (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 Dmodule.rs1151 .unwrap_func() in wasm_to_array_trampoline()
H A Dvalues.rs1021 pub fn unwrap_func(&self) -> Option<&Func> { in unwrap_func() method
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dcompile.rs386 .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 Dcompiler.rs131 let ty = types[sig].unwrap_func(); in compile_function()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs1092 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 Dcompiler.rs249 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 Dinstance.rs1031 let expected = match expected.unwrap_func() { in assert_type_matches()
H A Dtypes.rs1146 subty.unwrap_func().try_clone().panic_on_oom(), in from()
/wasmtime-44.0.1/crates/debugger/src/host/
H A Dapi.rs988 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 Dtranslate.rs805 .unwrap_func(); in translate_payload()
/wasmtime-44.0.1/crates/cranelift/src/compiler/
H A Dcomponent.rs1595 let sig = types[component.component.trampolines[trampoline_index]].unwrap_func(); in compile_trampoline()

12