Home
last modified time | relevance | path

Searched refs:into_box (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/rust/alloc/
Dboxed.rs639 unsafe { RawVec::with_capacity(len).into_box(len) } in new_uninit_slice()
664 unsafe { RawVec::with_capacity_zeroed(len).into_box(len) } in new_zeroed_slice()
699 unsafe { Ok(RawVec::from_raw_parts_in(ptr.as_ptr(), len, Global).into_box(len)) } in try_new_uninit_slice()
733 unsafe { Ok(RawVec::from_raw_parts_in(ptr.as_ptr(), len, Global).into_box(len)) } in try_new_zeroed_slice()
765 unsafe { RawVec::with_capacity_in(len, alloc).into_box(len) } in new_uninit_slice_in()
793 unsafe { RawVec::with_capacity_zeroed_in(len, alloc).into_box(len) } in new_zeroed_slice_in()
1506 buf.into_box(slice.len()).assume_init() in from_slice()
Draw_vec.rs162 pub unsafe fn into_box(self, len: usize) -> Box<[MaybeUninit<T>], A> { in into_box() method
/linux-6.6.21/rust/alloc/vec/
Dmod.rs1224 buf.into_box(len).assume_init() in into_boxed_slice()