Searched refs:new_vec (Results 1 – 1 of 1) sorted by relevance
308 if let Some(new_vec) = vec { in allocate_vec_with_buffer()311 *buffer = new_vec.as_mut_ptr() as *mut T; in allocate_vec_with_buffer()333 let mut new_vec: Vec<T::UninitType> = Vec::with_capacity(len as usize); in allocate_vec() localVariable334 new_vec.resize_with(len as usize, T::uninit); in allocate_vec()338 ptr::write(vec, Some(new_vec)); in allocate_vec()