Home
last modified time | relevance | path

Searched refs:vmctx_plus_offset (Results 1 – 2 of 2) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dcomponent.rs378 let ret = *self.vmctx_plus_offset::<VmPtr<_>>(self.offsets.runtime_memory(idx)); in runtime_memory()
391 let ret = *self.vmctx_plus_offset::<VMTableImport>(self.offsets.runtime_table(idx)); in runtime_table()
430 let ret = *self.vmctx_plus_offset::<VmPtr<_>>(self.offsets.runtime_realloc(idx)); in runtime_realloc()
442 let ret = *self.vmctx_plus_offset::<VmPtr<_>>(self.offsets.runtime_callback(idx)); in runtime_callback()
467 let ret = *self.vmctx_plus_offset::<VMLowering>(self.offsets.lowering(idx)); in lowering()
595 debug_assert!(*self.vmctx_plus_offset::<usize>(callee) == INVALID_PTR); in set_lowering()
597 debug_assert!(*self.vmctx_plus_offset::<usize>(data) == INVALID_PTR); in set_lowering()
613 debug_assert!(*self.vmctx_plus_offset::<usize>(offset) == INVALID_PTR); in set_trampoline()
634 debug_assert!(*self.vmctx_plus_offset::<usize>(offset) == INVALID_PTR); in set_intrinsic()
656 debug_assert!(*self.vmctx_plus_offset::<usize>(offset) == INVALID_PTR); in set_resource_destructor()
[all …]
H A Dinstance.rs377 unsafe { self.vmctx_plus_offset(self.offsets().vmctx_vmfunction_import(index)) } in imported_function()
382 unsafe { self.vmctx_plus_offset(self.offsets().vmctx_vmtable_import(index)) } in imported_table()
387 unsafe { self.vmctx_plus_offset(self.offsets().vmctx_vmmemory_import(index)) } in imported_memory()
392 unsafe { self.vmctx_plus_offset(self.offsets().vmctx_vmglobal_import(index)) } in imported_global()
397 unsafe { self.vmctx_plus_offset(self.offsets().vmctx_vmtag_import(index)) } in imported_tag()
454 self.vmctx_plus_offset::<VmPtr<_>>(self.offsets().vmctx_vmmemory_pointer(index)) in memory_ptr()
1870 unsafe fn vmctx_plus_offset<T: VmSafe>(&self, offset: impl Into<u32>) -> &T { in vmctx_plus_offset() method