Searched refs:defined_memory_index (Results 1 – 8 of 8) sorted by relevance
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | instance.rs | 425 if let Some(defined_index) = self.env_module().defined_memory_index(index) { in get_memory() 604 if let Some(def_index) = self.env_module().defined_memory_index(index) { in get_exported_memory() 622 if let Some(def_index) = self.env_module().defined_memory_index(index) { in get_exported_memory() 1478 let defined_memory_index = DefinedMemoryIndex::new(i); in initialize_vmctx() localVariable 1479 let memory_index = module.memory_index(defined_memory_index); in initialize_vmctx() 1481 let def_ptr = memories[defined_memory_index] in initialize_vmctx() 1488 owned_ptr.write(memories[defined_memory_index].1.vmmemory()); in initialize_vmctx()
|
| H A D | cow.rs | 190 let defined_memory = match module.defined_memory_index(memory_index) { in new()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/ |
| H A D | allocator.rs | 415 .defined_memory_index(memory_index) in allocate_memories() 700 if let Some(memory_index) = self.module.defined_memory_index(memory_index) { in initialize_memories()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | func_environ.rs | 1516 if let Some(def_index) = self.module.defined_memory_index(index) { in make_heap() 3181 match self.module.defined_memory_index(index) { in memory_vmctx_and_defined_index() 3255 let (memory_vmctx, defined_memory_index) = in translate_memory_grow() 3262 .call(memory_grow, &[memory_vmctx, val, defined_memory_index]); in translate_memory_grow() 3286 let current_length_in_bytes = match self.module.defined_memory_index(index) { in translate_memory_size() 3408 let (memory_vmctx, defined_memory_index) = in translate_memory_fill() 3413 &[memory_vmctx, defined_memory_index, dst, val, len], in translate_memory_fill() 3555 let (memory_vmctx, defined_memory_index) = in translate_atomic_wait() 3560 &[memory_vmctx, defined_memory_index, addr, expected, timeout], in translate_atomic_wait() 3588 let (memory_vmctx, defined_memory_index) = in translate_atomic_notify() [all …]
|
| /wasmtime-44.0.1/winch/codegen/src/codegen/ |
| H A D | env.rs | 274 match self.translation.module.defined_memory_index(index) { in resolve_heap()
|
| H A D | mod.rs | 1560 match self.env.translation.module.defined_memory_index(mem) { in prepare_builtin_defined_memory_arg()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | module.rs | 481 pub fn defined_memory_index(&self, memory: MemoryIndex) -> Option<DefinedMemoryIndex> { in defined_memory_index() method
|
| /wasmtime-44.0.1/crates/environ/src/compile/ |
| H A D | module_environ.rs | 1047 if self.module.defined_memory_index(memory).is_none() { in try_static_init()
|