Searched refs:with_capacity_in (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/rust/alloc/ |
D | raw_vec.rs | 94 Self::with_capacity_in(capacity, Global) in with_capacity() 131 pub fn with_capacity_in(capacity: usize, alloc: A) -> Self { in with_capacity_in() method
|
D | slice.rs | 141 let mut vec = Vec::with_capacity_in(s.len(), alloc); in to_vec() 164 let mut v = Vec::with_capacity_in(s.len(), alloc); in to_vec()
|
D | boxed.rs | 753 unsafe { RawVec::with_capacity_in(len, alloc).into_box(len) } in new_uninit_slice_in()
|
/Linux-v6.6/rust/alloc/vec/ |
D | mod.rs | 482 Self::with_capacity_in(capacity, Global) in with_capacity() 729 pub fn with_capacity_in(capacity: usize, alloc: A) -> Self { in with_capacity_in() method 730 Vec { buf: RawVec::with_capacity_in(capacity, alloc), len: 0 } in with_capacity_in() 2261 Vec::with_capacity_in(self.capacity(), self.allocator().clone()), in split_off() 2266 let mut other = Vec::with_capacity_in(other_len, self.allocator().clone()); in split_off()
|