Home
last modified time | relevance | path

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

/Linux-v6.1/rust/alloc/
Dboxed.rs471 unsafe { Ok(Box::from_raw_in(ptr.as_ptr(), alloc)) } in try_new_uninit_in()
543 unsafe { Ok(Box::from_raw_in(ptr.as_ptr(), alloc)) } in try_new_zeroed_in()
567 unsafe { Box::from_raw_in(raw as *mut [T; 1], alloc) } in into_boxed_slice()
805 unsafe { Box::from_raw_in(raw as *mut T, alloc) } in assume_init()
881 unsafe { Box::from_raw_in(raw as *mut [T], alloc) } in assume_init()
930 unsafe { Self::from_raw_in(raw, Global) } in from_raw()
985 pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Self { in from_raw_in() method
1539 unsafe { Box::from_raw_in(raw as *mut [u8], alloc) } in from()
1637 Box::from_raw_in(raw as *mut T, alloc) in downcast_unchecked()
1696 Box::from_raw_in(raw as *mut T, alloc) in downcast_unchecked()
[all …]
Draw_vec.rs166 Box::from_raw_in(slice, ptr::read(&me.alloc)) in into_box()