Lines Matching refs:align
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()
100 __rust_alloc(layout.size(), layout.align()) in alloc()
119 unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) } in dealloc()
138 unsafe { __rust_realloc(ptr, layout.size(), layout.align(), new_size) } in realloc()
172 unsafe { __rust_alloc_zeroed(layout.size(), layout.align()) } in alloc_zeroed()
209 old_size if old_layout.align() == new_layout.align() => unsafe { in grow_impl()
302 new_size if old_layout.align() == new_layout.align() => unsafe { in shrink()
330 unsafe fn exchange_malloc(size: usize, align: usize) -> *mut u8 { in exchange_malloc()
331 let layout = unsafe { Layout::from_size_align_unchecked(size, align) }; in exchange_malloc()
345 fn __rust_alloc_error_handler(size: usize, align: usize) -> !; in __rust_alloc_error_handler()
371 __rust_alloc_error_handler(layout.size(), layout.align()); in handle_alloc_error()