Lines Matching full:pub
17 pub use core::alloc::*;
54 pub struct Global;
57 pub use std::alloc::Global;
90 pub unsafe fn alloc(layout: Layout) -> *mut u8 { in alloc()
108 pub unsafe fn dealloc(ptr: *mut u8, layout: Layout) { in dealloc()
127 pub unsafe fn realloc(ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc()
161 pub unsafe fn alloc_zeroed(layout: Layout) -> *mut u8 { in alloc_zeroed()
336 pub(crate) const unsafe fn box_free<T: ?Sized, A: ~const Allocator + ~const Destruct>( in box_free()
374 pub const fn handle_alloc_error(layout: Layout) -> ! { in handle_alloc_error()
390 pub use std::alloc::handle_alloc_error;
396 pub mod __alloc_error_handler {
403 pub unsafe extern "C-unwind" fn __rdl_oom(size: usize, _align: usize) -> ! { in __rdl_oom()
409 pub unsafe extern "C-unwind" fn __rg_oom(size: usize, align: usize) -> ! { in __rg_oom()
421 pub(crate) trait WriteCloneIntoRaw: Sized {