Home
last modified time | relevance | path

Searched refs:arrayref (Results 1 – 15 of 15) sorted by relevance

/wasmtime-44.0.1/crates/c-api/src/
H A Dref.rs800 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 Darrayref.rs406 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 Dgc.h454 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 Denabled.rs5 mod arrayref; module
14 pub use arrayref::*;
H A Ddisabled.rs12 mod arrayref; module
21 pub use arrayref::*;
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Denabled.rs3 mod arrayref; module
11 pub use arrayref::*;
H A Dgc_runtime.rs331 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 Dgc.rs337 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 Dnull.rs325 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 Ddrc.rs1009 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 Dstruct-types.wast10 …(type (struct (field i32 i64 i8) (field) (field) (field (ref null i31) anyref structref arrayref)))
H A Dref-test.wast158 (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 Darrays-of-different-types.wast25 (type $q (array arrayref))
/wasmtime-44.0.1/tests/all/
H A Dasync_functions.rs1100 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 Daudits.toml2113 [[audits.arrayref]]