Home
last modified time | relevance | path

Searched refs:structref (Results 1 – 14 of 14) sorted by relevance

/wasmtime-44.0.1/crates/c-api/src/
H A Dref.rs645 Ok(structref) => { in wasmtime_structref_new()
646 let owned = structref in wasmtime_structref_new()
661 structref: Option<&wasmtime_structref_t>, in wasmtime_structref_clone()
664 let structref = structref.and_then(|s| s.as_wasmtime()); in wasmtime_structref_clone() localVariable
665 crate::initialize(out, structref.into()); in wasmtime_structref_clone()
672 if let Some(structref) = structref { in wasmtime_structref_unroot()
673 ManuallyDrop::drop(structref); in wasmtime_structref_unroot()
682 let anyref = structref in wasmtime_structref_to_anyref()
693 let eqref = structref in wasmtime_structref_to_eqref()
706 let structref = structref in wasmtime_structref_field() localVariable
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Dstructref.rs339 let structref = store in new_unchecked() localVariable
352 structref.initialize_field( in new_unchecked()
362 Ok(()) => Ok(Rooted::new(&mut store, structref.into())), in new_unchecked()
366 .dealloc_uninit_struct(structref); in new_unchecked()
464 structref: self, in _fields()
471 structref: &'a StructRef, in _fields() field
488 Some(self.structref._field(&mut self.store, i).unwrap()) in _fields()
512 fn structref<'a>(&self, store: &'a AutoAssertNoGc<'_>) -> Result<&'a VMStructRef> { in structref() method
564 let structref = self.structref(store)?.unchecked_copy(); in _field() localVariable
567 Ok(structref.read_field(store, &layout, field_ty.element_type(), index)) in _field()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/
H A Denabled.rs11 mod structref; module
20 pub use structref::*;
H A Ddisabled.rs18 mod structref; module
27 pub use structref::*;
/wasmtime-44.0.1/crates/c-api/include/wasmtime/
H A Dgc.h273 wasmtime_structref_clone(const wasmtime_structref_t *structref,
285 wasmtime_structref_to_anyref(const wasmtime_structref_t *structref,
292 wasmtime_structref_to_eqref(const wasmtime_structref_t *structref,
307 const wasmtime_structref_t *structref, size_t index,
323 const wasmtime_structref_t *structref,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Denabled.rs9 mod structref; module
15 pub use structref::*;
H A Dgc_runtime.rs305 fn dealloc_uninit_struct_or_exn(&mut self, structref: VMGcRef); in dealloc_uninit_struct_or_exn()
/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.wast147 (ref.test structref (ref.null any))
148 (ref.test structref (ref.null eq))
150 (ref.test structref (ref.null i31))
152 (ref.test structref (ref.null struct))
154 (ref.test structref (ref.null array))
156 (ref.test structref (ref.null none))
184 (ref.test structref (struct.new_default $s))
197 (ref.test structref (ref.i31 (i32.const 42)))
198 (ref.test structref (array.new_default $a (i32.const 3)))
H A Darrays-of-different-types.wast23 (type $o (array structref))
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dgc.rs298 pub fn dealloc_uninit_struct(&mut self, structref: VMStructRef) { in dealloc_uninit_struct()
299 self.gc_heap.dealloc_uninit_struct_or_exn(structref.into()) in dealloc_uninit_struct()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Dexnref.rs1 use super::structref::{initialize_field_impl, read_field_impl};
/wasmtime-44.0.1/tests/disas/gc/
H A Dtyped-select-and-stack-maps.wat9 (func (param structref i31ref i32)
/wasmtime-44.0.1/tests/all/
H A Dasync_functions.rs1093 let structref = StructRef::new_async(&mut cx, &struct_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()