Lines Matching refs:IntVec
53 using IntVec = absl::InlinedVector<int, 8>; typedef
134 static IntVec Fill(int len, int offset = 0) { in Fill()
135 IntVec v; in Fill()
140 TEST(IntVec, SimpleOps) { in TEST() argument
142 IntVec v; in TEST()
143 const IntVec& cv = v; // const alias in TEST()
157 for (IntVec::iterator iter = v.begin(); iter != v.end(); ++iter) { in TEST()
164 for (IntVec::const_iterator iter = v.begin(); iter != v.end(); ++iter) { in TEST()
171 for (IntVec::const_iterator iter = v.cbegin(); iter != v.cend(); ++iter) { in TEST()
190 TEST(IntVec, PopBackNoOverflow) { in TEST() argument
191 IntVec v = {1}; in TEST()
196 TEST(IntVec, AtThrows) { in TEST() argument
197 IntVec v = {1, 2, 3}; in TEST()
203 TEST(IntVec, ReverseIterator) { in TEST() argument
205 IntVec v; in TEST()
209 for (IntVec::reverse_iterator iter = v.rbegin(); iter != v.rend(); ++iter) { in TEST()
216 for (IntVec::const_reverse_iterator iter = v.rbegin(); iter != v.rend(); in TEST()
224 for (IntVec::const_reverse_iterator iter = v.crbegin(); iter != v.crend(); in TEST()
233 TEST(IntVec, Erase) { in TEST() argument
236 IntVec v; in TEST()
339 EXPECT_TRUE(std::is_nothrow_move_constructible<IntVec>::value); in TEST()
428 TEST(IntVec, Insert) { in TEST() argument
435 IntVec v; in TEST()
439 IntVec::iterator it = v.insert(v.cbegin() + pos, 9999); in TEST()
447 IntVec v; in TEST()
450 IntVec::size_type n = 5; in TEST()
452 IntVec::iterator it = v.insert(v.cbegin() + pos, n, 9999); in TEST()
460 IntVec v; in TEST()
465 IntVec::iterator it = in TEST()
474 IntVec v; in TEST()
479 IntVec::iterator it = in TEST()
488 IntVec v; in TEST()
493 IntVec::iterator it = in TEST()
503 IntVec v; in TEST()
507 IntVec::iterator it = v.insert(v.cbegin() + pos, {9999, 8888}); in TEST()
543 TEST(IntVec, Resize) { in TEST() argument
545 IntVec v; in TEST()
574 TEST(IntVec, InitWithLength) { in TEST() argument
576 IntVec v(len, 7); in TEST()
585 TEST(IntVec, CopyConstructorAndAssignment) { in TEST() argument
587 IntVec v; in TEST()
592 IntVec v2(v); in TEST()
596 IntVec v3; in TEST()
604 TEST(IntVec, AliasingCopyAssignment) { in TEST() argument
606 IntVec original; in TEST()
608 IntVec dup = original; in TEST()
614 TEST(IntVec, MoveConstructorAndAssignment) { in TEST() argument
616 IntVec v_in; in TEST()
623 IntVec v_temp(v_in); in TEST()
625 IntVec v_out(std::move(v_temp)); in TEST()
635 IntVec v_out; in TEST()
637 IntVec v_temp(v_in); in TEST()
746 TEST(IntVec, Clear) { in TEST() argument
749 IntVec v; in TEST()
757 TEST(IntVec, Reserve) { in TEST() argument
759 IntVec v; in TEST()
828 TEST(IntVec, Swap) { in TEST() argument
833 IntVec a = Fill(l1, 0); in TEST()
834 IntVec b = Fill(l2, 100); in TEST()
901 TEST(IntVec, EqualAndNotEqual) { in TEST() argument
902 IntVec a, b; in TEST()
940 TEST(IntVec, RelationalOps) { in TEST() argument
941 IntVec a, b; in TEST()