Lines Matching defs:u8

30     fn __rust_alloc(size: usize, align: usize) -> *mut u8;  in __rust_alloc()
33 fn __rust_dealloc(ptr: *mut u8, size: usize, align: usize); in __rust_dealloc()
36 fn __rust_realloc(ptr: *mut u8, old_size: usize, align: usize, new_size: usize) -> *mut u8; in __rust_realloc()
39 fn __rust_alloc_zeroed(size: usize, align: usize) -> *mut u8; in __rust_alloc_zeroed()
94 pub unsafe fn alloc(layout: Layout) -> *mut u8 { in alloc()
118 pub unsafe fn dealloc(ptr: *mut u8, layout: Layout) { in dealloc()
137 pub unsafe fn realloc(ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc()
171 pub unsafe fn alloc_zeroed(layout: Layout) -> *mut u8 { in alloc_zeroed()
178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl()
194 ptr: NonNull<u8>, in grow_impl()
198 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl()
242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate()
247 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed()
252 unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) { in deallocate()
263 ptr: NonNull<u8>, in grow()
266 ) -> Result<NonNull<[u8]>, AllocError> { in grow()
274 ptr: NonNull<u8>, in grow_zeroed()
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed()
285 ptr: NonNull<u8>, in shrink()
288 ) -> Result<NonNull<[u8]>, AllocError> { in shrink()
330 unsafe fn exchange_malloc(size: usize, align: usize) -> *mut u8 { in exchange_malloc()