Searched refs:runtime_memory (Results 1 – 6 of 6) sorted by relevance
376 pub fn runtime_memory(&self, idx: RuntimeMemoryIndex) -> NonNull<VMMemoryDefinition> { in runtime_memory() method378 let ret = *self.vmctx_plus_offset::<VmPtr<_>>(self.offsets.runtime_memory(idx)); in runtime_memory()523 let offset = self.offsets.runtime_memory(idx); in set_runtime_memory()750 let offset = self.offsets.runtime_memory(i); in initialize_vmctx()
840 memory: memory.map(|mem| self.runtime_memory(mem)), in convert_options()860 fn runtime_memory(&mut self, mem: MemoryId) -> RuntimeMemoryIndex { in runtime_memory() method953 from: self.runtime_memory(*from), in trampoline()955 to: self.runtime_memory(*to), in trampoline()1152 memory: memory.map(|v| self.runtime_memory(v)), in trampoline()
308 pub fn runtime_memory(&self, index: RuntimeMemoryIndex) -> u32 { in runtime_memory() method
476 Some(instance.runtime_memory(memory)) in options_memory_raw()
2947 let actual = self.id().get(store).runtime_memory(memory); in task_return()5362 .map(|i| instance.runtime_memory(i)) in prepare_call()
1338 i32::try_from(self.offsets.runtime_memory(memory)).unwrap(), in load_memory()