Lines Matching defs:self
17 unsafe fn local_alloc(&self, layout: Layout) -> *mut u8; in local_alloc()
18 unsafe fn local_alloc_zeroed(&self, layout: Layout) -> *mut u8; in local_alloc_zeroed()
19 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout); in local_dealloc()
25 unsafe fn alloc_in_buddy(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in alloc_in_buddy()
47 unsafe fn free_in_buddy(&self, ptr: *mut u8, layout: Layout) { in free_in_buddy()
58 unsafe fn local_alloc(&self, layout: Layout) -> *mut u8 { in local_alloc()
65 unsafe fn local_alloc_zeroed(&self, layout: Layout) -> *mut u8 { in local_alloc_zeroed()
76 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout) { in local_dealloc()
83 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc()
88 unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { in alloc_zeroed()
92 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc()