Lines Matching refs:DynamicVector

24 using chre::DynamicVector;
55 TEST(DynamicVector, EmptyByDefault) { in TEST() argument
56 DynamicVector<int> vector; in TEST()
64 TEST(DynamicVector, PushBackAndRead) { in TEST() argument
65 DynamicVector<int> vector; in TEST()
74 TEST(DynamicVector, PushBackReserveAndReadTrivialType) { in TEST() argument
75 DynamicVector<int> vector; in TEST()
124 TEST(DynamicVector, PushBackReserveAndReadMovableButNonCopyable) { in TEST() argument
125 DynamicVector<MovableButNonCopyable> vector; in TEST()
170 TEST(DynamicVector, PushBackReserveAndReadCopyableButNonMovable) { in TEST() argument
171 DynamicVector<CopyableButNonMovable> vector; in TEST()
224 TEST(DynamicVector, ReservePrefersMove) { in TEST() argument
226 DynamicVector<MovableAndCopyable> vector; in TEST()
281 TEST(DynamicVector, EmplaceBackAndDestruct) { in TEST() argument
284 DynamicVector<Foo> vector; in TEST()
301 TEST(DynamicVector, InsertEmpty) { in TEST() argument
302 DynamicVector<int> vector; in TEST()
362 TEST(DynamicVector, PushBackInsertInMiddleAndRead) { in TEST() argument
363 DynamicVector<int> vector; in TEST()
375 TEST(DynamicVector, PushBackAndErase) { in TEST() argument
376 DynamicVector<int> vector; in TEST()
390 TEST(DynamicVector, FindEmpty) { in TEST() argument
391 DynamicVector<int> vector; in TEST()
395 TEST(DynamicVector, FindWithElements) { in TEST() argument
396 DynamicVector<int> vector; in TEST()
407 TEST(DynamicVector, EraseDestructorCalled) { in TEST() argument
410 DynamicVector<Dummy> vector; in TEST()
439 TEST(DynamicVector, Clear) { in TEST() argument
442 DynamicVector<Dummy> vector; in TEST()
460 TEST(DynamicVector, WrapDoesntCallDestructor) { in TEST() argument
469 DynamicVector<Dummy> vector; in TEST()
480 TEST(DynamicVector, WrapExplicitlyCallsDestructor) { in TEST() argument
490 DynamicVector<Dummy> vector; in TEST()
506 DynamicVector<int> vector; in TEST()
513 DynamicVector<int> vector; in TEST()
519 TEST(DynamicVector, Swap) { in TEST() argument
520 DynamicVector<int> vector; in TEST()
529 TEST(DynamicVector, BackFront) { in TEST() argument
530 DynamicVector<int> vector; in TEST()
542 TEST(DynamicVector, Iterator) { in TEST() argument
543 DynamicVector<int> vector; in TEST()
549 for (DynamicVector<int>::iterator it = vector.begin(); in TEST()
554 DynamicVector<int>::iterator it = vector.begin() + vector.size() - 1; in TEST()
561 TEST(DynamicVector, ConstIterator) { in TEST() argument
562 DynamicVector<int> vector; in TEST()
568 for (DynamicVector<int>::const_iterator cit = vector.cbegin(); in TEST()
573 DynamicVector<int>::const_iterator cit = vector.cbegin() + vector.size() - 1; in TEST()
580 TEST(DynamicVector, IteratorAndPushBack) { in TEST() argument
581 DynamicVector<int> vector; in TEST()
587 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
588 DynamicVector<int>::iterator it_e = vector.end(); in TEST()
599 TEST(DynamicVector, IteratorAndEmplaceBack) { in TEST() argument
600 DynamicVector<int> vector; in TEST()
606 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
607 DynamicVector<int>::iterator it_e = vector.end(); in TEST()
618 TEST(DynamicVector, IteratorAndReserve) { in TEST() argument
619 DynamicVector<int> vector; in TEST()
625 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
626 DynamicVector<int>::iterator it_e = vector.end(); in TEST()
637 TEST(DynamicVector, IteratorAndInsert) { in TEST() argument
638 DynamicVector<int> vector; in TEST()
644 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
655 TEST(DynamicVector, IteratorAndErase) { in TEST() argument
656 DynamicVector<int> vector; in TEST()
661 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
671 TEST(DynamicVector, IteratorAndSwap) { in TEST() argument
672 DynamicVector<int> vector; in TEST()
678 DynamicVector<int>::iterator it_b = vector.begin(); in TEST()
692 TEST(DynamicVector, MoveConstruct) { in TEST() argument
693 DynamicVector<int> vector; in TEST()
698 DynamicVector<int> movedVector(std::move(vector)); in TEST()
708 TEST(DynamicVector, Wrap) { in TEST() argument
715 DynamicVector<int> vector; in TEST()
742 TEST(DynamicVector, MoveWrappedVector) { in TEST() argument
749 DynamicVector<int> vector1; in TEST()
752 DynamicVector<int> vector2 = std::move(vector1); in TEST()
764 TEST(DynamicVector, Unwrap) { in TEST() argument
771 DynamicVector<int> vec; in TEST()
784 TEST(DynamicVector, CopyArray) { in TEST() argument
791 DynamicVector<int> vec; in TEST()
808 TEST(DynamicVector, CopyArrayHandlesDestructor) { in TEST() argument
813 DynamicVector<Dummy> vec; in TEST()
837 TEST(DynamicVector, CopyEmptyArray) { in TEST() argument
838 DynamicVector<int> vec; in TEST()
848 TEST(DynamicVector, PrepareForPush) { in TEST() argument
849 DynamicVector<int> vector; in TEST()
874 TEST(DynamicVector, RidiculouslyHugeReserveFails) { in TEST() argument
875 DynamicVector<int> vector; in TEST()