Searched refs:from_raw_parts_in (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/rust/alloc/vec/ |
H A D | mod.rs | 644 unsafe { Self::from_raw_parts_in(ptr, length, capacity, Global) } in from_raw_parts() 869 /// let rebuilt = Vec::from_raw_parts_in(p, len, cap, alloc.clone()); 892 /// Vec::from_raw_parts_in(mem, 1, 16, Global) 901 pub unsafe fn from_raw_parts_in(ptr: *mut T, length: usize, capacity: usize, alloc: A) -> Self { in from_raw_parts_in() functions 902 unsafe { Vec { buf: RawVec::from_raw_parts_in(ptr, capacity, alloc), len: length } } in from_raw_parts_in() 947 /// arguments in the same order as the arguments to [`from_raw_parts_in`]. 952 /// into a `Vec` with the [`from_raw_parts_in`] function, allowing 955 /// [`from_raw_parts_in`]: Vec::from_raw_parts_in 976 /// Vec::from_raw_parts_in(pt [all...] |
/kernel/linux/linux-6.6/rust/alloc/ |
H A D | raw_vec.rs | 247 pub unsafe fn from_raw_parts_in(ptr: *mut T, capacity: usize, alloc: A) -> Self { in from_raw_parts_in() functions
|
H A D | slice.rs | 106 Vec::from_raw_parts_in(b as *mut T, len, len, alloc) in into_vec()
|
Completed in 6 milliseconds