Searched refs:alloc_zeroed (Results 1 – 2 of 2) sorted by relevance
70 unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { in alloc_zeroed() method
171 pub unsafe fn alloc_zeroed(layout: Layout) -> *mut u8 { in alloc_zeroed() function183 let raw_ptr = if zeroed { alloc_zeroed(layout) } else { alloc(layout) }; in alloc_impl()