Lines Matching defs:Layout
122 pub unsafe fn dealloc(ptr: *mut u8, layout: Layout) { in dealloc()
141 pub unsafe fn realloc(ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc()
182 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl()
199 old_layout: Layout, in grow_impl()
200 new_layout: Layout, in grow_impl()
256 unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) { in deallocate()
268 old_layout: Layout, in grow()
269 new_layout: Layout, in grow()
279 old_layout: Layout, in grow_zeroed()
280 new_layout: Layout, in grow_zeroed()
290 old_layout: Layout, in shrink()
291 new_layout: Layout, in shrink()
384 pub const fn handle_alloc_error(layout: Layout) -> ! { in handle_alloc_error()
385 const fn ct_error(_: Layout) -> ! { in handle_alloc_error()
389 fn rt_error(layout: Layout) -> ! { in handle_alloc_error()