| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/disabled/ |
| H A D | anyref.rs | 3 ArrayRef, AsContext, AsContextMut, EqRef, GcRefImpl, HeapType, I31, OwnedRooted, Result, 19 impl From<OwnedRooted<EqRef>> for OwnedRooted<AnyRef> { implementation 21 fn from(s: OwnedRooted<EqRef>) -> Self { in from() 33 impl From<OwnedRooted<StructRef>> for OwnedRooted<AnyRef> { implementation 35 fn from(s: OwnedRooted<StructRef>) -> Self { in from() 47 impl From<OwnedRooted<ArrayRef>> for OwnedRooted<AnyRef> { implementation 49 fn from(s: OwnedRooted<ArrayRef>) -> Self { in from()
|
| H A D | eqref.rs | 2 ArrayRef, AsContext, GcRefImpl, HeapType, I31, OwnedRooted, Result, Rooted, StructRef, 17 impl From<OwnedRooted<StructRef>> for OwnedRooted<EqRef> { implementation 19 fn from(s: OwnedRooted<StructRef>) -> Self { in from() 31 impl From<OwnedRooted<ArrayRef>> for OwnedRooted<EqRef> { implementation 33 fn from(s: OwnedRooted<ArrayRef>) -> Self { in from()
|
| H A D | rooting.rs | 102 pub fn to_owned_rooted(&self, _store: impl AsContextMut) -> Result<OwnedRooted<T>> { in to_owned_rooted() 160 pub struct OwnedRooted<T> struct 168 impl<T: GcRef> Debug for OwnedRooted<T> { implementation 174 impl<T: GcRef> Deref for OwnedRooted<T> { implementation 182 impl<T> OwnedRooted<T> impl 199 impl<T: GcRef> RootedGcRefImpl<T> for OwnedRooted<T> { implementation
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/ |
| H A D | eqref.rs | 5 OwnedRooted, RefType, Rooted, StructRef, StructType, ValRaw, ValType, WasmTy, 102 impl From<OwnedRooted<StructRef>> for OwnedRooted<EqRef> { implementation 104 fn from(s: OwnedRooted<StructRef>) -> Self { in from() 116 impl From<OwnedRooted<ArrayRef>> for OwnedRooted<EqRef> { implementation 118 fn from(s: OwnedRooted<ArrayRef>) -> Self { in from() 148 impl OwnedRooted<EqRef> { implementation 151 pub fn to_anyref(self) -> OwnedRooted<AnyRef> { in to_anyref() 546 unsafe impl WasmTy for OwnedRooted<EqRef> { implementation 576 unsafe impl WasmTy for Option<OwnedRooted<EqRef>> { 613 <OwnedRooted<EqRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store() [all …]
|
| H A D | rooting.rs | 1564 pub struct OwnedRooted<T> struct 1583 mem::size_of::<OwnedRooted<AnyRef>>() >= 16 && mem::size_of::<OwnedRooted<AnyRef>>() <= 24 argument 1593 impl<T: GcRef> Debug for OwnedRooted<T> { implementation 1610 OwnedRooted { in clone() 1618 impl<T> OwnedRooted<T> implementation 1651 Ok(OwnedRooted { in new() 1814 OwnedRooted { in unchecked_cast() 1907 ) -> OwnedRooted<T> { in from_borrowed_raw_parts_for_c_api() 1918 OwnedRooted { in from_borrowed_raw_parts_for_c_api() 1935 ) -> OwnedRooted<T> { in from_owned_raw_parts_for_c_api() [all …]
|
| H A D | anyref.rs | 8 OwnedRooted, RefType, Result, Rooted, StructRef, StructType, ValRaw, ValType, WasmTy, 106 impl From<OwnedRooted<EqRef>> for OwnedRooted<AnyRef> { implementation 108 fn from(e: OwnedRooted<EqRef>) -> Self { in from() 120 impl From<OwnedRooted<StructRef>> for OwnedRooted<AnyRef> { implementation 122 fn from(s: OwnedRooted<StructRef>) -> Self { in from() 134 impl From<OwnedRooted<ArrayRef>> for OwnedRooted<AnyRef> { implementation 136 fn from(s: OwnedRooted<ArrayRef>) -> Self { in from() 760 unsafe impl WasmTy for OwnedRooted<AnyRef> { implementation 790 unsafe impl WasmTy for Option<OwnedRooted<AnyRef>> { 827 <OwnedRooted<AnyRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store() [all …]
|
| H A D | structref.rs | 11 OwnedRooted, RefType, Rooted, StructType, Val, ValRaw, ValType, WasmTy, 191 impl OwnedRooted<StructRef> { implementation 194 pub fn to_anyref(self) -> OwnedRooted<AnyRef> { in to_anyref() 200 pub fn to_eqref(self) -> OwnedRooted<EqRef> { in to_eqref() 739 unsafe impl WasmTy for OwnedRooted<StructRef> { implementation 791 unsafe impl WasmTy for Option<OwnedRooted<StructRef>> { 812 OwnedRooted::<StructRef>::dynamic_concrete_type_check(s, store, nullable, ty) in dynamic_concrete_type_check() 830 <OwnedRooted<StructRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store() 834 <OwnedRooted<StructRef>>::wasm_ty_option_load( in load()
|
| H A D | arrayref.rs | 11 OwnedRooted, RefType, Rooted, Val, ValRaw, ValType, WasmTy, 218 impl OwnedRooted<ArrayRef> { impl 221 pub fn to_anyref(self) -> OwnedRooted<AnyRef> { in to_anyref() 227 pub fn to_eqref(self) -> OwnedRooted<EqRef> { in to_eqref() 945 unsafe impl WasmTy for OwnedRooted<ArrayRef> { implementation 997 unsafe impl WasmTy for Option<OwnedRooted<ArrayRef>> { 1017 Some(s) => OwnedRooted::<ArrayRef>::dynamic_concrete_type_check(s, store, nullable, ty), in dynamic_concrete_type_check() 1034 <OwnedRooted<ArrayRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store() 1038 <OwnedRooted<ArrayRef>>::wasm_ty_option_load( in load()
|
| H A D | externref.rs | 10 AsContextMut, GcHeapOutOfMemory, GcRefImpl, GcRootIndex, HeapType, OwnedRooted, RefType, 660 unsafe impl WasmTy for OwnedRooted<ExternRef> { implementation 690 unsafe impl WasmTy for Option<OwnedRooted<ExternRef>> { 713 <OwnedRooted<ExternRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::externref) in store() 717 <OwnedRooted<ExternRef>>::wasm_ty_option_load( in load()
|
| H A D | exnref.rs | 9 AsContext, AsContextMut, GcRefImpl, GcRootIndex, HeapType, OwnedRooted, RefType, Result, 709 unsafe impl WasmTy for OwnedRooted<ExnRef> { implementation 739 unsafe impl WasmTy for Option<OwnedRooted<ExnRef>> { 776 <OwnedRooted<ExnRef>>::wasm_ty_option_store(self, store, ptr, ValRaw::anyref) in store() 780 <OwnedRooted<ExnRef>>::wasm_ty_option_load( in load()
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | ref.rs | 209 Some(OwnedRooted::from_borrowed_raw_parts_for_c_api( 220 Some(OwnedRooted::from_owned_raw_parts_for_c_api( 234 impl From<Option<OwnedRooted<$wasmtime>>> for $c { 235 fn from(rooted: Option<OwnedRooted<$wasmtime>>) -> $c { 253 impl From<OwnedRooted<$wasmtime>> for $c { 254 fn from(rooted: OwnedRooted<$wasmtime>) -> $c { 766 crate::initialize(out, None::<OwnedRooted<StructRef>>.into()); in wasmtime_eqref_as_struct() 937 crate::initialize(out, None::<OwnedRooted<ArrayRef>>.into()); in wasmtime_eqref_as_array() 967 crate::initialize(out, None::<OwnedRooted<EqRef>>.into()); in wasmtime_anyref_as_eqref() 997 crate::initialize(out, None::<OwnedRooted<StructRef>>.into()); in wasmtime_anyref_as_struct() [all …]
|
| H A D | exn.rs | 9 exn: wasmtime::OwnedRooted<ExnRef>,
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | i31ref.rs | 62 let f = instance.get_typed_func::<Option<OwnedRooted<AnyRef>>, Option<OwnedRooted<AnyRef>>>( in owned_rooted_i31ref_through_typed_wasm_func()
|
| H A D | func.rs | 404 Func::wrap(&mut store, || -> OwnedRooted<ExternRef> { in func_constructors() 412 Func::wrap(&mut store, || -> OwnedRooted<AnyRef> { in func_constructors() 458 Func::wrap(&mut store, || -> Result<OwnedRooted<ExternRef>> { in func_constructors() 470 Func::wrap(&mut store, || -> Result<OwnedRooted<AnyRef>> { in func_constructors() 603 _: Option<OwnedRooted<ExternRef>>, in signatures_match() 605 _: Option<OwnedRooted<AnyRef>>, in signatures_match() 700 g: Option<OwnedRooted<ExternRef>>, in import_works() 703 j: Option<OwnedRooted<AnyRef>>, in import_works() 830 f.typed::<(), Option<OwnedRooted<ExternRef>>>(&store) in get_from_wrapper() 841 let f = Func::wrap(&mut store, || -> OwnedRooted<AnyRef> { in get_from_wrapper() [all …]
|
| /wasmtime-44.0.1/crates/debugger/src/host/ |
| H A D | opaque.rs | 8 Module, OwnedRooted, Result, Table, Tag, TagType, Val, ValType, 99 async fn exnref_get_tag(&mut self, exn: OwnedRooted<ExnRef>) -> Result<Tag>; in exnref_get_tag() 100 async fn exnref_get_fields(&mut self, exn: OwnedRooted<ExnRef>) -> Result<Vec<WasmValue>>; in exnref_get_fields() 102 -> Result<OwnedRooted<ExnRef>>; in exnref_new() 452 async fn exnref_get_tag(&mut self, exn: OwnedRooted<ExnRef>) -> Result<Tag> { in exnref_get_tag() 457 async fn exnref_get_fields(&mut self, exn: OwnedRooted<ExnRef>) -> Result<Vec<WasmValue>> { in exnref_get_fields() 475 ) -> Result<OwnedRooted<ExnRef>> { in exnref_new() 476 self.with_store(move |mut store| -> Result<OwnedRooted<ExnRef>> { in exnref_new()
|
| H A D | api.rs | 10 Engine, ExnRef, FrameHandle, Func, Global, Instance, Memory, Module, OwnedRooted, Result, 160 pub struct WasmException(OwnedRooted<ExnRef>); 171 Exn(Option<OwnedRooted<ExnRef>>),
|
| /wasmtime-44.0.1/crates/debugger/src/ |
| H A D | lib.rs | 26 AsContextMut, DebugEvent, DebugHandler, Engine, ExnRef, OwnedRooted, Result, Store, 518 CaughtExceptionThrown(OwnedRooted<ExnRef>), 520 UncaughtExceptionThrown(OwnedRooted<ExnRef>),
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | debug.rs | 10 OwnedRooted, StoreContext, StoreContextMut, Val, 873 CaughtExceptionThrown(OwnedRooted<ExnRef>), 875 UncaughtExceptionThrown(OwnedRooted<ExnRef>),
|
| H A D | store.rs | 80 use crate::OwnedRooted; 2693 ) -> Result<Option<OwnedRooted<ExnRef>>, crate::error::OutOfMemory> { in pending_exception_owned_rooted() 2700 OwnedRooted::new(&mut nogc, vmexnref.into()) in pending_exception_owned_rooted()
|