Home
last modified time | relevance | path

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

/rust/alloc/
Dlib.rs205 pub mod alloc; module
Dalloc.rs90 pub unsafe fn alloc(layout: Layout) -> *mut u8 { in alloc() function
Draw_vec.rs57 alloc: A, field
Dboxed.rs1102 let alloc = unsafe { ptr::read(&b.1) }; in into_unique() localVariable
1912 let alloc = Box::allocator(self).clone(); in clone() localVariable
/rust/kernel/
Dallocator.rs43 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc() method
/rust/alloc/vec/
Dinto_iter.rs41 pub(super) alloc: ManuallyDrop<A>, field
326 let alloc = ManuallyDrop::take(&mut self.0.alloc); in drop() localVariable
Dmod.rs778 let alloc = unsafe { ptr::read(me.allocator()) }; in into_raw_parts_with_alloc() localVariable
2567 let alloc = self.allocator().clone(); in clone() localVariable
2577 let alloc = self.allocator().clone(); in clone() localVariable
2663 let alloc = ManuallyDrop::new(ptr::read(me.allocator())); in into_iter() localVariable