Lines Matching refs:Layout
11 alloc::{AllocError, GlobalAlloc, Layout},
24 unsafe fn local_alloc(&self, layout: Layout) -> *mut u8; in local_alloc()
25 unsafe fn local_alloc_zeroed(&self, layout: Layout) -> *mut u8; in local_alloc_zeroed()
26 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout); in local_dealloc() argument
32 unsafe fn alloc_in_buddy(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in alloc_in_buddy()
54 pub(super) unsafe fn free_in_buddy(&self, ptr: *mut u8, layout: Layout) { in free_in_buddy() argument
65 unsafe fn local_alloc(&self, layout: Layout) -> *mut u8 { in local_alloc()
79 unsafe fn local_alloc_zeroed(&self, layout: Layout) -> *mut u8 { in local_alloc_zeroed()
97 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout) { in local_dealloc() argument
108 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc()
118 unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { in alloc_zeroed()
128 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc() argument
139 fn allocator_select_condition(layout: Layout) -> bool { in allocator_select_condition()
143 fn alloc_debug_log(source: LogSource, layout: Layout, ptr: *mut u8) { in alloc_debug_log() argument
150 fn dealloc_debug_log(source: LogSource, layout: Layout, ptr: *mut u8) { in dealloc_debug_log() argument
187 pub fn global_alloc_err_handler(layout: Layout) -> ! { in global_alloc_err_handler() argument