| /wasmtime-44.0.1/crates/fuzzing/tests/oom/ |
| H A D | table.rs | 19 let ty = TableType::new(RefType::FUNCREF, 1, None); in table_new() 34 let ty = TableType::new(RefType::FUNCREF, 1, None); in table_grow() 50 let ty = TableType::new(RefType::FUNCREF, 1, None); in table_set() 66 let ty = TableType::new(RefType::FUNCREF, 4, None); in table_copy() 82 let ty = TableType::new(RefType::FUNCREF, 4, None); in table_fill() 98 let ty = TableType::new(RefType::FUNCREF, 1, None); in table_get() 115 let ty = TableType::new(RefType::FUNCREF, 1, None); in table_ty() 131 let ty = TableType::new(RefType::FUNCREF, 2, None); in table_size()
|
| H A D | types.rs | 25 let ty = TableType::new(RefType::FUNCREF, 1, Some(10)); in table_type_accessors()
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | externals.rs | 25 let ty = TableType::new(RefType::FUNCREF, 0, Some(1)); in bad_tables() 29 let ty = TableType::new(RefType::FUNCREF, 0, Some(1)); in bad_tables() 36 let ty = TableType::new(RefType::FUNCREF, 1, Some(1)); in bad_tables() 43 let ty = TableType::new(RefType::FUNCREF, 1, Some(1)); in bad_tables() 50 let ty = TableType::new(RefType::FUNCREF, 1, Some(2)); in bad_tables() 72 let ty = TableType::new(RefType::FUNCREF, 1, None); in cross_store() 102 let ty = TableType::new(RefType::FUNCREF, 1, None); in cross_store() 222 GlobalType::new(ValType::FUNCREF, Mutability::Var), in get_set_funcref_globals_via_api() 235 GlobalType::new(ValType::FUNCREF, Mutability::Var), in get_set_funcref_globals_via_api() 251 let table_ty = TableType::new(RefType::FUNCREF, 10, None); in create_get_set_funcref_tables_via_api() [all …]
|
| H A D | linker.rs | 85 let ty = TableType::new(RefType::FUNCREF, 1, None); in link_twice_bad() 89 let ty = TableType::new(RefType::FUNCREF, 2, None); in link_twice_bad() 550 [ValType::FUNCREF], in linker_defines_func_subtype() 559 [ValType::FUNCREF], in linker_defines_func_subtype() 575 [ValType::FUNCREF], in linker_defines_func_subtype() 668 GlobalType::new(ValType::FUNCREF, Mutability::Const), in linker_defines_global_subtype_const_err() 701 GlobalType::new(ValType::FUNCREF, Mutability::Var), in linker_defines_global_subtype_mut_err() 757 TableType::new(RefType::FUNCREF, 0, None), in linker_defines_table_subtype_err()
|
| H A D | table.rs | 6 let ty = TableType::new(RefType::FUNCREF, 1, None); in get_none() 18 let ty = TableType::new(RefType::FUNCREF, 1, None); in fill_wrong() 42 let ty = TableType::new(RefType::FUNCREF, 1, None); in copy_wrong() 58 let ty = TableType::new(RefType::FUNCREF, 1, None); in null_elem_segment_works_with_imported_table()
|
| H A D | limits.rs | 53 TableType::new(RefType::FUNCREF, 0, None), in test_limits() 162 TableType::new(RefType::FUNCREF, 0, None), in test_limits_async() 225 TableType::new(RefType::FUNCREF, 0, None), in test_limits_memory_only() 299 TableType::new(RefType::FUNCREF, 0, None), in test_limits_table_only() 337 TableType::new(RefType::FUNCREF, 99, None), in test_initial_table_limits_exceeded() 1149 TableType::new(RefType::FUNCREF, 0, None), in growth_trap()
|
| H A D | funcref.rs | 144 let func_ty = FuncType::new(store2.engine(), None, Some(ValType::FUNCREF)); in func_new_returns_wrong_store()
|
| H A D | missing_async.rs | 335 let ty = TableType::new(RefType::FUNCREF, 1, None); in async_limiter_disallows_table_new() 344 let ty = TableType::new(RefType::FUNCREF, 1, None); in async_limiter_disallows_table_grow()
|
| H A D | gc.rs | 1037 (Ref::Any(Some(s)), RefType::FUNCREF, false), in ref_matches() 1049 (Ref::Any(Some(a)), RefType::FUNCREF, false), in ref_matches() 1061 (Ref::Any(Some(i31)), RefType::FUNCREF, false), in ref_matches() 1073 (Ref::Func(Some(f)), RefType::FUNCREF, true), in ref_matches() 1085 (Ref::Extern(Some(e)), RefType::FUNCREF, false), in ref_matches()
|
| H A D | func.rs | 260 GlobalType::new(ValType::FUNCREF, Mutability::Const), in call_indirect_native_from_wasm_import_global() 290 TableType::new(RefType::FUNCREF, 1, Some(1)), in call_indirect_native_from_wasm_import_table() 1147 [ValType::FUNCREF, ValType::EXTERNREF].iter().cloned(), in externref_signature_no_reference_types() 1148 [ValType::FUNCREF, ValType::EXTERNREF].iter().cloned(), in externref_signature_no_reference_types()
|
| H A D | structs.rs | 708 [FieldType::new(Mutability::Var, RefType::FUNCREF.into())], in can_put_funcrefs_in_structs()
|
| /wasmtime-44.0.1/crates/wast/src/ |
| H A D | spectest.rs | 69 let ty = TableType::new(RefType::FUNCREF, 10, Some(20)); in link_spectest() 73 let ty = TableType::new64(RefType::FUNCREF, 10, Some(20)); in link_spectest()
|
| /wasmtime-44.0.1/crates/c-api/src/types/ |
| H A D | val.rs | 38 WASM_FUNCREF => ValType::FUNCREF, in into_valtype()
|
| /wasmtime-44.0.1/crates/debugger/src/host/ |
| H A D | bindings.rs | 62 wit::WasmType::WasmFuncref => ValType::FUNCREF, in wasm_type_to_val_type()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | fact.rs | 43 ValType::FUNCREF, // start 44 ValType::FUNCREF, // return 605 .function(&[ValType::FUNCREF, ValType::I32], results); in import_sync_start_call() 636 &[ValType::FUNCREF, ValType::I32, ValType::I32, ValType::I32], in import_async_start_call()
|
| H A D | types.rs | 286 pub const FUNCREF: WasmRefType = WasmRefType { constant 311 Self::FUNCREF => write!(f, "funcref"), in fmt()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | coredump.rs | 186 HeapType::Func => wasm_encoder::ValType::FUNCREF, in _serialize()
|
| H A D | types.rs | 140 pub const FUNCREF: Self = ValType::Ref(RefType::FUNCREF); constant 447 pub const FUNCREF: Self = RefType { constant
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | val.rs | 88 kind: from_valtype(&ValType::FUNCREF), in from_val()
|
| H A D | ref.rs | 595 crate::WASMTIME_FUNCREF => StorageType::ValType(ValType::FUNCREF), in field_type_from_c()
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | stacks.rs | 148 .function(vec![wasm_encoder::ValType::FUNCREF], vec![]); in wasm()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/func/ |
| H A D | typed.rs | 565 ValType::FUNCREF in valtype()
|
| /wasmtime-44.0.1/crates/c-api/include/ |
| H A D | wasm.hh | 275 EXTERNREF = 128, FUNCREF, enumerator
|