Lines Matching refs:align
32 fn __rust_alloc(size: usize, align: usize) -> *mut u8; in __rust_alloc()
35 fn __rust_dealloc(ptr: *mut u8, size: usize, align: usize); in __rust_dealloc()
38 fn __rust_realloc(ptr: *mut u8, old_size: usize, align: usize, new_size: usize) -> *mut u8; in __rust_realloc()
41 fn __rust_alloc_zeroed(size: usize, align: usize) -> *mut u8; in __rust_alloc_zeroed()
104 __rust_alloc(layout.size(), layout.align()) in alloc()
123 unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) } in dealloc()
142 unsafe { __rust_realloc(ptr, layout.size(), layout.align(), new_size) } in realloc()
176 unsafe { __rust_alloc_zeroed(layout.size(), layout.align()) } in alloc_zeroed()
213 old_size if old_layout.align() == new_layout.align() => unsafe { in grow_impl()
306 new_size if old_layout.align() == new_layout.align() => unsafe { in shrink()
334 unsafe fn exchange_malloc(size: usize, align: usize) -> *mut u8 { in exchange_malloc()
335 let layout = unsafe { Layout::from_size_align_unchecked(size, align) }; in exchange_malloc()
352 let align = min_align_of_val(ptr.as_ref()); in box_free() localVariable
353 let layout = Layout::from_size_align_unchecked(size, align); in box_free()
365 fn __rust_alloc_error_handler(size: usize, align: usize) -> !; in __rust_alloc_error_handler()
391 __rust_alloc_error_handler(layout.size(), layout.align()); in handle_alloc_error()