Lines Matching refs:VMGcRef
164 use crate::runtime::vm::{GcRootsList, GcStore, VMGcRef};
212 fn get_gc_ref<'a>(&self, store: &'a StoreOpaque) -> Option<&'a VMGcRef>; in get_gc_ref() argument
216 fn try_gc_ref<'a>(&self, store: &'a StoreOpaque) -> Result<&'a VMGcRef> { in try_gc_ref() argument
229 fn clone_gc_ref(&self, store: &mut AutoAssertNoGc<'_>) -> Option<VMGcRef> { in clone_gc_ref() argument
236 fn try_clone_gc_ref(&self, store: &mut AutoAssertNoGc<'_>) -> Result<VMGcRef> { in try_clone_gc_ref() argument
289 pub(crate) fn get_gc_ref<'a>(&self, store: &'a StoreOpaque) -> Option<&'a VMGcRef> { in get_gc_ref() argument
316 pub(crate) fn try_gc_ref<'a>(&self, store: &'a StoreOpaque) -> Result<&'a VMGcRef> { in try_gc_ref() argument
324 pub(crate) fn try_clone_gc_ref(&self, store: &mut AutoAssertNoGc<'_>) -> Result<VMGcRef> { in try_clone_gc_ref() argument
424 owned_rooted: Slab<VMGcRef>,
447 gc_ref: VMGcRef,
529 pub(crate) fn push_lifo_root(&mut self, store_id: StoreId, gc_ref: VMGcRef) -> GcRootIndex { in push_lifo_root()
937 fn get_gc_ref<'a>(&self, store: &'a StoreOpaque) -> Option<&'a VMGcRef> { in get_gc_ref() argument
970 pub(crate) fn new(store: &mut AutoAssertNoGc<'_>, gc_ref: VMGcRef) -> Rooted<T> { in new()
1234 from_cloned_gc_ref: impl Fn(&mut AutoAssertNoGc<'_>, VMGcRef) -> Self, in wasm_ty_load()
1237 let gc_ref = VMGcRef::from_raw_u32(raw_gc_ref).expect("non-null"); in wasm_ty_load()
1274 from_cloned_gc_ref: impl Fn(&mut AutoAssertNoGc<'_>, VMGcRef) -> Self, in wasm_ty_option_load()
1276 let gc_ref = VMGcRef::from_raw_u32(raw_gc_ref)?; in wasm_ty_option_load()
1633 gc_ref: VMGcRef, in new() argument
1848 from_cloned_gc_ref: impl Fn(&mut AutoAssertNoGc<'_>, VMGcRef) -> Rooted<T>, in wasm_ty_load()
1851 let gc_ref = VMGcRef::from_raw_u32(raw_gc_ref).expect("non-null"); in wasm_ty_load()
1881 from_cloned_gc_ref: impl Fn(&mut AutoAssertNoGc<'_>, VMGcRef) -> Rooted<T>, in wasm_ty_option_load()
1883 let gc_ref = VMGcRef::from_raw_u32(raw_gc_ref)?; in wasm_ty_option_load()
1950 fn get_gc_ref<'a>(&self, store: &'a StoreOpaque) -> Option<&'a VMGcRef> { in get_gc_ref() argument