| /wasmtime-44.0.1/crates/wasmtime/src/runtime/externals/ |
| H A D | table.rs | 226 let element = val.into_table_func(store, ty.element())?; in set_() localVariable 228 table.set_func(index, element)?; in set_() 232 let element = val.into_table_gc_ref(&mut store, ty.element())?; in set_() localVariable 236 let element = element.map(|r| r.unchecked_copy()); in set_() localVariable 296 let element = init in _grow() localVariable 297 .into_table_func(store, ty.element())? in _grow() 311 let element = init in _grow() localVariable 385 .element() in copy() 386 .ensure_matches(store.engine(), dst_ty.element()) in copy() 535 .element() in trace_roots() [all …]
|
| /wasmtime-44.0.1/crates/explorer/src/ |
| H A D | index.js | 111 const adjustColorForOffset = (element, offset) => { argument 113 element.style.backgroundColor = rgbToCss(backgroundColor); 114 element.classList.add( 138 const linkElements = element => { argument 139 element.addEventListener( 154 element.addEventListener("mouseenter", event => { 175 element.addEventListener("mouseleave", event => {
|
| /wasmtime-44.0.1/tests/misc_testsuite/function-references/ |
| H A D | call_indirect.wast | 41 (assert_trap (invoke "t1" (i32.const 1)) "uninitialized element") 44 (assert_trap (invoke "t1-wrong-type" (i32.const 1)) "uninitialized element") 47 (assert_trap (invoke "t2" (i32.const 1)) "uninitialized element") 50 (assert_trap (invoke "t2-wrong-type" (i32.const 1)) "uninitialized element")
|
| /wasmtime-44.0.1/tests/misc_testsuite/ |
| H A D | elem_drop.wast | 7 (func (export "elem.drop non-passive element") 10 (invoke "elem.drop non-passive element")
|
| H A D | many_table_gets_lead_to_gc.wast | 21 ;; Set the table element back into the table, just so that the element is
|
| H A D | table_copy.wast | 65 "undefined element")
|
| /wasmtime-44.0.1/crates/c-api/tests/ |
| H A D | table_type.cc | 11 EXPECT_EQ(ty->element().kind(), ValKind::FuncRef); in TEST() 16 EXPECT_EQ(ty->element().kind(), ValKind::ExternRef); in TEST()
|
| H A D | table.cc | 24 EXPECT_EQ(t.type(store)->element().kind(), ValKind::FuncRef); in TEST()
|
| H A D | types.cc | 47 EXPECT_EQ(t->element().kind(), ValKind::FuncRef); in TEST()
|
| /wasmtime-44.0.1/tests/misc_testsuite/gc/ |
| H A D | array-new-elem.wast | 18 ;; In-bounds element segment accesses. 24 ;; Out-of-bounds element segment accesses.
|
| H A D | func-refs-in-gc-heap.wast | 78 (assert_trap (invoke "get-s2") "uninitialized element") 82 (assert_trap (invoke "set-s2") "uninitialized element")
|
| H A D | i31ref-tables.wast | 60 ;; Initialize the passive element at table[1..4].
|
| H A D | array-new-data.wast | 70 ;; Data inside the segment doesn't need to be aligned to the element size.
|
| /wasmtime-44.0.1/crates/environ/src/component/ |
| H A D | types_builder.rs | 584 let element = self.valtype(types, ty)?; in fixed_length_list_type() localVariable 585 Ok(self.new_fixed_length_list_type(element, size)) in fixed_length_list_type() 590 element: InterfaceType, in new_fixed_length_list_type() 593 let element_abi = self.component_types.canonical_abi(&element); in new_fixed_length_list_type() 602 self.add_fixed_length_list_type(TypeFixedLengthList { element, size, abi }) in new_fixed_length_list_type() 691 let element = self.valtype(types, ty)?; in list_type() localVariable 692 Ok(self.add_list_type(TypeList { element })) in list_type() 1162 let element_info = types.type_information(&ty.element); in fixed_length_lists() 1220 let info = types.type_information(&ty.element); in lists()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/ |
| H A D | table.rs | 44 table.element().clone().into_registered_type(), in create_table()
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/runtests/ |
| H A D | simd-popcnt-large.clif | 8 ;; This file contains tests for the popcnt instruction with element sizes larger than i8.
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/types/ |
| H A D | table.hh | 52 ValType::Ref element() const { return wasm_tabletype_element(ptr); } in element() function in wasmtime::TableType::Ref
|
| /wasmtime-44.0.1/cranelift/entity/src/ |
| H A D | list.rs | 389 pub fn push(&mut self, element: T, pool: &mut ListPool<T>) -> usize { in push() 397 pool.data[block + 1] = element; in push() 413 pool.data[block + new_len] = element; in push() 530 pub fn insert(&mut self, index: usize, element: T, pool: &mut ListPool<T>) { in insert() 532 self.push(element, pool); in insert() 541 tail[0] = element; in insert()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | types.rs | 3074 element: RefType, field 3081 pub fn new(element: RefType, min: u32, max: Option<u32>) -> TableType { in new() 3082 let ref_type = element.to_wasm_type(); in new() 3095 element, in new() 3109 let ref_type = element.to_wasm_type(); in new64() 3117 element, in new64() 3135 pub fn element(&self) -> &RefType { in element() method 3136 &self.element in element() 3153 let element = RefType::from_wasm_type(engine, &table.ref_type); in from_wasmtime_table() localVariable 3155 element, in from_wasmtime_table() [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/types/ |
| H A D | table.rs | 69 ty: ValType::Ref(tt.ty.element().clone()), in wasm_tabletype_element()
|
| /wasmtime-44.0.1/crates/wasi-nn/wit/ |
| H A D | wasi-nn.wit | 22 /// The array length matches the tensor rank and each element in the array describes the size of 53 // Describe the type of element in the tensor (e.g., `f32`).
|
| /wasmtime-44.0.1/tests/disas/ |
| H A D | readonly-funcrefs.wat | 6 ;; element section, and never writing to it again. This test tracks what code
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | table.rs | 357 let fty = ty.element().heap_type().unwrap_concrete_func(); in host_table_keep_type_registration() 363 let fty = ty.element().heap_type().unwrap_concrete_func(); in host_table_keep_type_registration()
|
| /wasmtime-44.0.1/cranelift/entity/ |
| H A D | README.md | 13 one map to access an element in another. Where `SlotMap`, `Slab`, and `Arena`
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | libcalls.rs | 317 let element = NonNull::new(init_value.cast::<VMFuncRef>()).map(SendSyncPtr::new); in table_grow_func_ref() localVariable 329 table.grow_func(limiter, delta, element).await in table_grow_func_ref() 347 let element = VMGcRef::from_raw_u32(init_value); in table_grow_gc_ref() localVariable 361 .grow_gc_ref(limiter, gc_store, delta, element.as_ref()) in table_grow_gc_ref() 382 let element = unsafe { VMContObj::from_raw_parts(init_value_contref, init_value_revision) }; in table_grow_cont_obj() localVariable 394 table.grow_cont(limiter, delta, element).await in table_grow_cont_obj()
|