Home
last modified time | relevance | path

Searched refs:from_raw_in (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/rust/alloc/
Dboxed.rs492 unsafe { Ok(Box::from_raw_in(ptr.as_ptr(), alloc)) } in try_new_uninit_in()
566 unsafe { Ok(Box::from_raw_in(ptr.as_ptr(), alloc)) } in try_new_zeroed_in()
593 unsafe { Box::from_raw_in(raw as *mut [T; 1], alloc) } in into_boxed_slice()
830 unsafe { Box::from_raw_in(raw as *mut T, alloc) } in assume_init()
905 unsafe { Box::from_raw_in(raw as *mut [T], alloc) } in assume_init()
955 unsafe { Self::from_raw_in(raw, Global) } in from_raw()
1010 pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Self { in from_raw_in() method
1627 unsafe { Box::from_raw_in(raw as *mut [u8], alloc) } in from()
1662 unsafe { Box::from_raw_in(ptr as *mut [T; N], alloc) }
1774 Box::from_raw_in(raw as *mut T, alloc) in downcast_unchecked()
[all …]
Draw_vec.rs172 Box::from_raw_in(slice, ptr::read(&me.alloc)) in into_box()