Home
last modified time | relevance | path

Searched refs:VMArrayRef (Results 1 – 7 of 7) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Darrayref.rs23 pub struct VMArrayRef(VMGcRef); struct
25 impl fmt::Pointer for VMArrayRef { implementation
31 impl From<VMArrayRef> for VMGcRef {
33 fn from(x: VMArrayRef) -> Self { in from()
53 pub fn into_arrayref(self, gc_heap: &(impl GcHeap + ?Sized)) -> Result<VMArrayRef, VMGcRef> { in into_arrayref() argument
69 pub fn into_arrayref_unchecked(self) -> VMArrayRef { in into_arrayref_unchecked() argument
71 VMArrayRef(self) in into_arrayref_unchecked()
76 pub fn as_arrayref(&self, gc_heap: &(impl GcHeap + ?Sized)) -> Option<&VMArrayRef> { in as_arrayref() argument
89 pub fn as_arrayref_unchecked(&self) -> &VMArrayRef { in as_arrayref_unchecked() argument
93 assert!(matches!(ret, VMArrayRef(VMGcRef { .. }))); in as_arrayref_unchecked()
[all …]
H A Dnull.rs74 array: &'a VMArrayRef, in typed_ref() argument
309 ) -> Result<Result<VMArrayRef, u64>> { in alloc_uninit_array() argument
323 fn dealloc_uninit_array(&mut self, _array_ref: VMArrayRef) {} in dealloc_uninit_array() argument
325 fn array_len(&self, arrayref: &VMArrayRef) -> u32 { in array_len()
H A Ddrc.rs47 use super::VMArrayRef;
994 ) -> Result<Result<VMArrayRef, u64>> { in alloc_uninit_array() argument
1009 fn dealloc_uninit_array(&mut self, arrayref: VMArrayRef) { in dealloc_uninit_array() argument
1013 fn array_len(&self, arrayref: &VMArrayRef) -> u32 { in array_len()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Dgc_runtime.rs5 ExternRefHostDataId, ExternRefHostDataTable, GcHeapObject, SendSyncPtr, TypedGcRef, VMArrayRef,
323 ) -> Result<Result<VMArrayRef, u64>>; in alloc_uninit_array() argument
331 fn dealloc_uninit_array(&mut self, arrayref: VMArrayRef); in dealloc_uninit_array() argument
340 fn array_len(&self, arrayref: &VMArrayRef) -> u32; in array_len()
H A Ddisabled.rs9 pub enum VMArrayRef {} enum
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dgc.rs332 ) -> Result<Result<VMArrayRef, u64>> { in alloc_uninit_array() argument
337 pub fn dealloc_uninit_array(&mut self, arrayref: VMArrayRef) { in dealloc_uninit_array() argument
342 pub fn array_len(&self, arrayref: &VMArrayRef) -> u32 { in array_len()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Darrayref.rs7 use crate::vm::{self, VMArrayRef, VMGcHeader};
707 fn arrayref<'a>(&self, store: &'a AutoAssertNoGc<'_>) -> Result<&'a VMArrayRef> { in arrayref() argument