Home
last modified time | relevance | path

Searched refs:MemoryImage (Results 1 – 4 of 4) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dcow_disabled.rs18 ) -> Option<&Arc<MemoryImage>> { in get_memory_image() argument
24 pub enum MemoryImage {} enum
H A Dcow.rs22 memories: TryPrimaryMap<DefinedMemoryIndex, Option<Arc<MemoryImage>>>,
27 pub fn get_memory_image(&self, defined_index: DefinedMemoryIndex) -> Option<&Arc<MemoryImage>> { in get_memory_image() argument
33 pub struct MemoryImage { struct
75 impl MemoryImage { implementation
82 ) -> Result<Option<MemoryImage>> { in new() argument
119 return Ok(Some(MemoryImage { in new()
135 return Ok(Some(MemoryImage { in new()
313 image: Option<Arc<MemoryImage>>,
417 maybe_image: Option<&Arc<MemoryImage>>, in instantiate() argument
720 fn create_memfd_with_data(offset: usize, data: &[u8]) -> Result<MemoryImage> { in create_memfd_with_data() argument
[all …]
H A Dmemory.rs83 use crate::runtime::vm::{MemoryImage, MemoryImageSlot, SendSyncPtr};
245 memory_image: Option<&Arc<MemoryImage>>, in new_dynamic() argument
584 memory_image: Option<&Arc<MemoryImage>>, in new() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dvm.rs168 pub use self::cow::{MemoryImage, MemoryImageSlot, ModuleMemoryImages};
170 pub use self::cow_disabled::{MemoryImage, MemoryImageSlot, ModuleMemoryImages};
348 fn memory_image(&self, memory: DefinedMemoryIndex) -> crate::Result<Option<&Arc<MemoryImage>>> { in memory_image() argument