Home
last modified time | relevance | path

Searched defs:alloc (Results 1 – 19 of 19) sorted by relevance

/wasmtime-44.0.1/crates/core/src/
H A Dlib.rs21 pub mod alloc; module
H A Dslab.rs366 pub fn alloc(&mut self, value: T) -> Result<Id, OutOfMemory> { in alloc() method
/wasmtime-44.0.1/crates/wizer/benches/uap-bench/src/
H A Dlib.rs51 pub extern "C" fn alloc(size: usize, align: usize) -> *mut u8 { in alloc() function
/wasmtime-44.0.1/examples/min-platform/embedding/src/
H A Dallocator.rs37 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc() method
84 fn alloc(&self, _size: usize) -> (*mut u8, usize, u32) { in alloc() method
/wasmtime-44.0.1/crates/wizer/benches/
H A Duap.rs18 let alloc = instance in run_iter() localVariable
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Dhost_data.rs44 pub fn alloc(&mut self, value: Box<dyn Any + Send + Sync>) -> ExternRefHostDataId { in alloc() method
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Dlib.rs211 let mut alloc = state.import_alloc.replace(ImportAlloc::None); in cabi_import_realloc() localVariable
318 unsafe fn alloc( in alloc() method
445 unsafe fn alloc(&mut self, align: usize, size: usize) -> *mut u8 { in alloc() method
487 let alloc = ImportAlloc::SeparateStringsAndPointers { in args_get() localVariable
529 let alloc = ImportAlloc::CountAndDiscardStrings { in args_sizes_get() localVariable
565 let alloc = ImportAlloc::SeparateStringsAndPointers { in environ_get() localVariable
622 let alloc = ImportAlloc::CountAndDiscardStrings { in environ_sizes_get() localVariable
2926 let alloc = unsafe { self.temporary_alloc() }; in with_one_temporary_alloc() localVariable
2935 let alloc = BumpAlloc { base, len }; in with_one_import_alloc() localVariable
2949 let alloc = self.import_alloc.replace(ImportAlloc::None); in with_import_alloc() localVariable
H A Ddescriptors.rs199 let alloc = ImportAlloc::CountAndDiscardStrings { in open_preopens() localVariable
236 let alloc = ImportAlloc::GetPreopenPath { in get_preopen_path() localVariable
/wasmtime-44.0.1/cranelift/jit/src/memory/
H A Darena.rs97 alloc: ManuallyDrop<Option<region::Allocation>>, field
114 let mut alloc = region::alloc(size, region::Protection::NONE)?; in new_with_size() localVariable
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/
H A Dgc_heap_pool.rs19 fn alloc(&mut self, memory_alloc_index: MemoryAllocationIndex) -> Option<Box<dyn GcHeap>> { in alloc() method
H A Dindex_allocator.rs38 pub fn alloc(&self) -> Option<SlotId> { in alloc() method
220 pub fn alloc(&self, for_memory: Option<MemoryInModule>) -> Option<SlotId> { in alloc() method
/wasmtime-44.0.1/crates/fuzzing/src/
H A Doom.rs78 unsafe fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 { in alloc() method
H A Doracles.rs108 fn alloc(&mut self, amt: usize) -> bool { in alloc() method
/wasmtime-44.0.1/winch/codegen/src/
H A Dregset.rs171 let alloc = Reg::int(2); in test_gpr() localVariable
/wasmtime-44.0.1/cranelift/codegen/src/machinst/
H A Dvcode.rs1001 let alloc = in emit() localVariable
1005 let alloc: Reg = alloc.into(); in emit() localVariable
1011 let alloc: Reg = alloc.into(); in emit() localVariable
1714 pub fn alloc(&mut self, ty: Type) -> CodegenResult<ValueRegs<Reg>> { in alloc() method
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Dfree_list.rs236 pub fn alloc(&mut self, layout: Layout) -> Result<Option<NonZeroU32>> { in alloc() method
H A Dnull.rs126 fn alloc(&mut self, mut header: VMGcHeader, layout: Layout) -> Result<Result<VMGcRef, u64>> { in alloc() method
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dmemory.rs568 alloc: Box<dyn RuntimeLinearMemory>, field
/wasmtime-44.0.1/cranelift/entity/src/
H A Dlist.rs193 fn alloc(&mut self, sclass: SizeClass) -> usize { in alloc() method