Lines Matching defs:Layout
108 pub unsafe fn dealloc(ptr: *mut u8, layout: Layout) { in dealloc()
127 pub unsafe fn realloc(ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc()
168 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl()
185 old_layout: Layout, in grow_impl()
186 new_layout: Layout, in grow_impl()
242 unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) { in deallocate()
254 old_layout: Layout, in grow()
255 new_layout: Layout, in grow()
265 old_layout: Layout, in grow_zeroed()
266 new_layout: Layout, in grow_zeroed()
276 old_layout: Layout, in shrink()
277 new_layout: Layout, in shrink()
374 pub const fn handle_alloc_error(layout: Layout) -> ! { in handle_alloc_error()
375 const fn ct_error(_: Layout) -> ! { in handle_alloc_error()
379 fn rt_error(layout: Layout) -> ! { in handle_alloc_error()
413 fn oom_impl(layout: Layout) -> !; in __rg_oom()