Lines Matching full:reserve
64 /// v.reserve(10, GFP_KERNEL)?;
68 /// v.reserve(10, GFP_KERNEL)?;
74 fn reserve(&mut self, additional: usize, flags: Flags) -> Result<(), AllocError>; in reserve() method
80 <Self as VecExt<_>>::reserve(&mut v, capacity, flags)?; in with_capacity()
85 <Self as VecExt<_>>::reserve(self, 1, flags)?; in push()
91 // `reserve` above. in push()
100 <Self as VecExt<_>>::reserve(self, other.len(), flags)?; in extend_from_slice()
107 // of the previous call to `reserve` above. in extend_from_slice()
113 fn reserve(&mut self, additional: usize, _flags: Flags) -> Result<(), AllocError> { in reserve() method
114 Vec::reserve(self, additional); in reserve()
119 fn reserve(&mut self, additional: usize, flags: Flags) -> Result<(), AllocError> { in reserve() method