Searched refs:from_raw_in (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.6/rust/alloc/ |
| D | boxed.rs | 488 unsafe { Ok(Box::from_raw_in(ptr.as_ptr(), alloc)) } in try_new_uninit_in() 558 unsafe { Ok(Box::from_raw_in(ptr.as_ptr(), alloc)) } in try_new_zeroed_in() 585 unsafe { Box::from_raw_in(raw as *mut [T; 1], alloc) } in into_boxed_slice() 818 unsafe { Box::from_raw_in(raw as *mut T, alloc) } in assume_init() 893 unsafe { Box::from_raw_in(raw as *mut [T], alloc) } in assume_init() 943 unsafe { Self::from_raw_in(raw, Global) } in from_raw() 998 pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Self { in from_raw_in() method 1605 unsafe { Box::from_raw_in(raw as *mut [u8], alloc) } in from() 1640 unsafe { Box::from_raw_in(ptr as *mut [T; N], alloc) } 1752 Box::from_raw_in(raw as *mut T, alloc) in downcast_unchecked() [all …]
|
| D | raw_vec.rs | 172 Box::from_raw_in(slice, ptr::read(&me.alloc)) in into_box()
|