Searched defs:alloc (Results 1 – 7 of 7) sorted by relevance
230 pub mod alloc; module
97 pub unsafe fn alloc(layout: Layout) -> *mut u8 { in alloc() function
56 alloc: A, field
1113 let alloc = unsafe { ptr::read(&b.1) }; in into_unique() localVariable2025 let alloc = Box::allocator(self).clone(); in clone() localVariable
44 pub(super) alloc: ManuallyDrop<A>, field167 let alloc = ManuallyDrop::take(&mut this.alloc); in into_vecdeque() localVariable408 let alloc = ManuallyDrop::take(&mut self.0.alloc); in drop() localVariable
986 let alloc = unsafe { ptr::read(me.allocator()) }; in into_raw_parts_with_alloc() localVariable2887 let alloc = self.allocator().clone(); in clone() localVariable2897 let alloc = self.allocator().clone(); in clone() localVariable2985 let alloc = ManuallyDrop::new(ptr::read(me.allocator())); in into_iter() localVariable
43 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc() method