Home
last modified time | relevance | path

Searched refs:current_length (Results 1 – 15 of 15) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dmemory.rs389 slice::from_raw_parts(definition.base.as_ptr(), definition.current_length()) in data()
409 slice::from_raw_parts_mut(definition.base.as_ptr(), definition.current_length()) in data_mut()
487 store[self.instance].memory(self.index).current_length() in internal_data_size()
906 slice::from_raw_parts(definition.base.as_ptr().cast(), definition.current_length()) in data()
H A Dstore.rs1930 assert_eq!(self.vm_store_context.gc_heap.current_length(), 0); in allocate_gc_store()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/memory/
H A Dstatic_.rs80 current_length: self.size.into(), in vmmemory()
H A Dmmap.rs248 current_length: self.len.into(), in vmmemory()
H A Dshared_memory.rs111 .current_length in grow()
H A Dmalloc.rs100 current_length: self.byte_len.into(), in vmmemory()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dvmcontext.rs385 pub current_length: AtomicUsize, field
402 pub fn current_length(&self) -> usize { in current_length() method
403 self.current_length.load(Ordering::Relaxed) in current_length()
413 current_length: other.current_length().into(), in load()
438 offset_of!(VMMemoryDefinition, current_length), in check_vmmemory_definition_offsets()
1300 current_length: AtomicUsize::new(0), in default()
1349 offset_of!(VMStoreContext, gc_heap) + offset_of!(VMMemoryDefinition, current_length), in field_offsets()
H A Dinstance.rs1096 let src = self.validate_inbounds(src_mem.current_length(), src, len)?; in memory_copy()
1097 let dst = self.validate_inbounds(dst_mem.current_length(), dst, len)?; in memory_copy()
1140 let dst = self.validate_inbounds(memory.current_length(), dst, len)?; in memory_fill()
1202 let dst = self.validate_inbounds(memory.current_length(), dst, len.into())?; in memory_init_segment()
H A Dmemory.rs801 let length = u64::try_from(def.current_length()).unwrap(); in validate_atomic_addr()
H A Dlibcalls.rs655 .current_length(), in grow_gc_heap()
673 .current_length(), in grow_gc_heap()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Dgc_runtime.rs413 let len = vmmemory.current_length(); in heap_slice()
422 let len = vmmemory.current_length(); in heap_slice_mut()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/
H A Dallocator.rs626 Some(end) if end <= memory.current_length() => { in check_memory_init_bounds()
669 .current_length(); in initialize_memories()
712 assert!(offset + src.len() <= memory.current_length()); in initialize_memories()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Ddrc.rs774 let len = memory.vmmemory().current_length(); in attach()
1073 current_length: AtomicUsize::new(vmmemory.current_length()), in vmmemory()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/
H A Dmemory.rs96 current_length: self.mem.byte_size().into(), in vmmemory()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dinstance.rs494 core::slice::from_raw_parts(memory.base.as_ptr(), memory.current_length()) in options_memory()
511 core::slice::from_raw_parts_mut(memory.base.as_ptr(), memory.current_length()) in options_memory_mut()