Lines Matching refs:vec
77 let mut vec = SmallVec::<T>::new(); in do_fuzz() localVariable
81 vec.push(value); in do_fuzz()
84 vec.pop(); in do_fuzz()
87 if index < vec.len() { in do_fuzz()
88 vec.insert(index, element); in do_fuzz()
92 if index < vec.len() { in do_fuzz()
93 vec.remove(index); in do_fuzz()
97 if index < vec.len() { in do_fuzz()
98 vec.remove(index); in do_fuzz()
102 std::hint::black_box(vec.drain(..).count()); in do_fuzz()
105 vec.clear(); in do_fuzz()
108 vec.reserve(additional % MAX_SIZE_MODIFIER); in do_fuzz()
111 vec.reserve_exact(additional % MAX_SIZE_MODIFIER); in do_fuzz()
114 vec.shrink_to_fit(); in do_fuzz()
117 vec.truncate(len); in do_fuzz()
121 if new_cap >= vec.len() { in do_fuzz()
122 vec.grow(new_cap); in do_fuzz()
126 vec.dedup(); in do_fuzz()
129 vec.resize(len % MAX_SIZE_MODIFIER, value); in do_fuzz()