| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | ref.rs | 800 Ok(arrayref) => { in wasmtime_arrayref_new() 801 let owned = arrayref in wasmtime_arrayref_new() 816 arrayref: Option<&wasmtime_arrayref_t>, in wasmtime_arrayref_clone() 819 let arrayref = arrayref.and_then(|a| a.as_wasmtime()); in wasmtime_arrayref_clone() localVariable 827 if let Some(arrayref) = arrayref { in wasmtime_arrayref_unroot() 828 ManuallyDrop::drop(arrayref); in wasmtime_arrayref_unroot() 837 let anyref = arrayref in wasmtime_arrayref_to_anyref() 858 let arrayref = arrayref in wasmtime_arrayref_len() localVariable 861 match arrayref.len(&cx) { in wasmtime_arrayref_len() 877 let arrayref = arrayref in wasmtime_arrayref_get() localVariable [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/ |
| H A D | arrayref.rs | 406 let arrayref = store in new_from_iter() localVariable 426 Ok(()) => Ok(Rooted::new(&mut store, arrayref.into())), in new_from_iter() 620 let arrayref = gc_ref.as_arrayref_unchecked(); in _len() localVariable 621 Ok(arrayref.len(store)) in _len() 657 arrayref: self, in _elems() 664 arrayref: &'a ArrayRef, in _elems() field 681 Some(self.arrayref._get(&mut self.store, i).unwrap()) in _elems() 756 let arrayref = self.arrayref(store)?.unchecked_copy(); in _get() localVariable 759 let len = arrayref.len(store); in _get() 813 let arrayref = self.arrayref(&store)?.unchecked_copy(); in _set() localVariable [all …]
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | gc.h | 454 wasmtime_arrayref_clone(const wasmtime_arrayref_t *arrayref, 466 wasmtime_arrayref_to_anyref(const wasmtime_arrayref_t *arrayref, 473 wasmtime_arrayref_to_eqref(const wasmtime_arrayref_t *arrayref, 487 const wasmtime_arrayref_t *arrayref, uint32_t *out); 501 const wasmtime_arrayref_t *arrayref, uint32_t index, 516 const wasmtime_arrayref_t *arrayref, uint32_t index,
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/ |
| H A D | enabled.rs | 5 mod arrayref; module 14 pub use arrayref::*;
|
| H A D | disabled.rs | 12 mod arrayref; module 21 pub use arrayref::*;
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/ |
| H A D | enabled.rs | 3 mod arrayref; module 11 pub use arrayref::*;
|
| H A D | gc_runtime.rs | 331 fn dealloc_uninit_array(&mut self, arrayref: VMArrayRef); in dealloc_uninit_array() 340 fn array_len(&self, arrayref: &VMArrayRef) -> u32; in array_len()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | gc.rs | 337 pub fn dealloc_uninit_array(&mut self, arrayref: VMArrayRef) { in dealloc_uninit_array() 338 self.gc_heap.dealloc_uninit_array(arrayref); in dealloc_uninit_array() 342 pub fn array_len(&self, arrayref: &VMArrayRef) -> u32 { in array_len() 343 self.gc_heap.array_len(arrayref) in array_len()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/ |
| H A D | null.rs | 325 fn array_len(&self, arrayref: &VMArrayRef) -> u32 { in array_len() 326 let arrayref = VMNullArrayHeader::typed_ref(self, arrayref); in array_len() localVariable 327 self.index(arrayref).length in array_len()
|
| H A D | drc.rs | 1009 fn dealloc_uninit_array(&mut self, arrayref: VMArrayRef) { in dealloc_uninit_array() 1010 self.dealloc(arrayref.into()) in dealloc_uninit_array() 1013 fn array_len(&self, arrayref: &VMArrayRef) -> u32 { in array_len() 1014 debug_assert!(arrayref.as_gc_ref().is_typed::<VMDrcArrayHeader>(self)); in array_len() 1015 self.index::<VMDrcArrayHeader>(arrayref.as_gc_ref().as_typed_unchecked()) in array_len()
|
| /wasmtime-44.0.1/tests/misc_testsuite/gc/ |
| H A D | struct-types.wast | 10 …(type (struct (field i32 i64 i8) (field) (field) (field (ref null i31) anyref structref arrayref)))
|
| H A D | ref-test.wast | 158 (ref.test arrayref (ref.null any)) 160 (ref.test arrayref (ref.null eq)) 162 (ref.test arrayref (ref.null i31)) 164 (ref.test arrayref (ref.null array)) 166 (ref.test arrayref (ref.null array)) 168 (ref.test arrayref (ref.null none)) 186 (ref.test arrayref (array.new_default $a (i32.const 3))) 200 (ref.test arrayref (ref.i31 (i32.const 42))) 202 (ref.test arrayref (struct.new_default $s))
|
| H A D | arrays-of-different-types.wast | 25 (type $q (array arrayref))
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | async_functions.rs | 1100 let arrayref = ArrayRef::new_fixed_async(&mut cx, &array_pre, &[]).await?; in async_gc_with_func_new_and_func_wrap() localVariable 1102 Ok((Some(externref), Some(structref), Some(arrayref))) in async_gc_with_func_new_and_func_wrap()
|
| /wasmtime-44.0.1/supply-chain/ |
| H A D | audits.toml | 2113 [[audits.arrayref]]
|