Lines Matching refs:DynamicVector
29 using chre::DynamicVector;
60 TEST(DynamicVector, EmptyByDefault) { in TEST() argument
61 DynamicVector<int> vector; in TEST()
69 TEST(DynamicVector, PushBackAndRead) { in TEST() argument
70 DynamicVector<int> vector; in TEST()
79 TEST(DynamicVector, PushBackReserveAndReadTrivialType) { in TEST() argument
80 DynamicVector<int> vector; in TEST()
102 TEST(DynamicVector, CompareEqual) { in TEST() argument
103 DynamicVector<int> lhs; in TEST()
106 DynamicVector<int> rhs; in TEST()
146 TEST(DynamicVector, PushBackReserveAndReadMovableButNonCopyable) { in TEST() argument
147 DynamicVector<MovableButNonCopyable> vector; in TEST()
192 TEST(DynamicVector, PushBackReserveAndReadCopyableButNonMovable) { in TEST() argument
193 DynamicVector<CopyableButNonMovable> vector; in TEST()
246 TEST(DynamicVector, ReservePrefersMove) { in TEST() argument
248 DynamicVector<MovableAndCopyable> vector; in TEST()
303 TEST(DynamicVector, EmplaceBackAndDestruct) { in TEST() argument
306 DynamicVector<Foo> vector; in TEST()
323 TEST(DynamicVector, InsertEmpty) { in TEST() argument
324 DynamicVector<int> vector; in TEST()
384 TEST(DynamicVector, PushBackInsertInMiddleAndRead) { in TEST() argument
385 DynamicVector<int> vector; in TEST()
397 TEST(DynamicVector, PushBackAndErase) { in TEST() argument
398 DynamicVector<int> vector; in TEST()
412 TEST(DynamicVector, FindEmpty) { in TEST() argument
413 DynamicVector<int> vector; in TEST()
417 TEST(DynamicVector, FindWithElements) { in TEST() argument
418 DynamicVector<int> vector; in TEST()
429 TEST(DynamicVector, EraseDestructorCalled) { in TEST() argument
432 DynamicVector<DestructorCounter> vector; in TEST()
461 TEST(DynamicVector, Clear) { in TEST() argument
464 DynamicVector<DestructorCounter> vector; in TEST()
481 DynamicVector<int> vector; in TEST()
488 DynamicVector<int> vector; in TEST()
494 TEST(DynamicVector, Swap) { in TEST() argument
495 DynamicVector<int> vector; in TEST()
504 TEST(DynamicVector, BackFront) { in TEST() argument
505 DynamicVector<int> vector; in TEST()
517 TEST(DynamicVector, Iterator) { in TEST() argument
518 DynamicVector<int> vector; in TEST()
524 for (DynamicVector<int>::iterator it = vector.begin(); it != vector.end(); in TEST()
529 DynamicVector<int>::iterator it = vector.begin() + vector.size() - 1; in TEST()
536 TEST(DynamicVector, ConstIterator) { in TEST() argument
537 DynamicVector<int> vector; in TEST()
543 for (DynamicVector<int>::const_iterator cit = vector.cbegin(); in TEST()
548 DynamicVector<int>::const_iterator cit = vector.cbegin() + vector.size() - 1; in TEST()
555 TEST(DynamicVector, IteratorAndPushBack) { in TEST() argument
556 DynamicVector<int> vector; in TEST()
562 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
563 DynamicVector<int>::iterator it_e = vector.end(); in TEST()
574 TEST(DynamicVector, IteratorAndEmplaceBack) { in TEST() argument
575 DynamicVector<int> vector; in TEST()
581 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
582 DynamicVector<int>::iterator it_e = vector.end(); in TEST()
593 TEST(DynamicVector, IteratorAndReserve) { in TEST() argument
594 DynamicVector<int> vector; in TEST()
600 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
601 DynamicVector<int>::iterator it_e = vector.end(); in TEST()
612 TEST(DynamicVector, IteratorAndInsert) { in TEST() argument
613 DynamicVector<int> vector; in TEST()
619 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
630 TEST(DynamicVector, IteratorAndErase) { in TEST() argument
631 DynamicVector<int> vector; in TEST()
636 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
646 TEST(DynamicVector, IteratorAndSwap) { in TEST() argument
647 DynamicVector<int> vector; in TEST()
653 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
667 TEST(DynamicVector, MoveConstruct) { in TEST() argument
668 DynamicVector<int> vector; in TEST()
673 DynamicVector<int> movedVector(std::move(vector)); in TEST()
682 TEST(DynamicVector, MoveAssignmentConstruct) { in TEST() argument
683 DynamicVector<int> vector; in TEST()
688 DynamicVector<int> movedVector; in TEST()
698 TEST(DynamicVector, PrepareForPush) { in TEST() argument
699 DynamicVector<int> vector; in TEST()
726 TEST(DynamicVector, PopBack) { in TEST() argument
727 DynamicVector<int> vector; in TEST()
752 TEST(DynamicVector, Resize) { in TEST() argument
753 DynamicVector<FancyInt> vector; in TEST()