Searched refs:slit (Results 1 – 4 of 4) sorted by relevance
/ndk/tests/device/test-gnustl-full/unit/ |
D | slist_test.cpp | 128 slist<int>::iterator slit; in erase() local 130 slit = sl.erase(sl.begin()); in erase() 131 CPPUNIT_ASSERT( *slit == 1); in erase() 133 ++slit++; ++slit; in erase() 134 slit = sl.erase(sl.begin(), slit); in erase() 135 CPPUNIT_ASSERT( *slit == 3 ); in erase() 139 slit = sl.erase_after(sl.begin()); in erase() 140 CPPUNIT_ASSERT( *slit == 2 ); in erase() 142 slit = sl.begin(); ++slit; ++slit; in erase() 143 slit = sl.erase_after(sl.begin(), slit); in erase() [all …]
|
D | alg_test.cpp | 130 slist<int>::iterator slit = search_n(slint.begin(), slint.end(), 2, 2); in search_n_test() local 131 CPPUNIT_ASSERT( slit != slint.end() ); in search_n_test() 132 CPPUNIT_ASSERT( *(slit++) == 2 ); in search_n_test() 133 CPPUNIT_ASSERT( *slit == 2 ); in search_n_test() 163 slist<int>::iterator slit = search_n(slint.begin(), slint.end(), 2, 1, greater<int>()); in search_n_test() local 164 CPPUNIT_ASSERT( slit != slint.end() ); in search_n_test() 165 CPPUNIT_ASSERT( *(slit++) > 1 ); in search_n_test() 166 CPPUNIT_ASSERT( *slit > 2 ); in search_n_test()
|
/ndk/tests/device/test-stlport/unit/ |
D | slist_test.cpp | 128 slist<int>::iterator slit; in erase() local 130 slit = sl.erase(sl.begin()); in erase() 131 CPPUNIT_ASSERT( *slit == 1); in erase() 133 ++slit++; ++slit; in erase() 134 slit = sl.erase(sl.begin(), slit); in erase() 135 CPPUNIT_ASSERT( *slit == 3 ); in erase() 139 slit = sl.erase_after(sl.begin()); in erase() 140 CPPUNIT_ASSERT( *slit == 2 ); in erase() 142 slit = sl.begin(); ++slit; ++slit; in erase() 143 slit = sl.erase_after(sl.begin(), slit); in erase() [all …]
|
D | alg_test.cpp | 130 slist<int>::iterator slit = search_n(slint.begin(), slint.end(), 2, 2); in search_n_test() local 131 CPPUNIT_ASSERT( slit != slint.end() ); in search_n_test() 132 CPPUNIT_ASSERT( *(slit++) == 2 ); in search_n_test() 133 CPPUNIT_ASSERT( *slit == 2 ); in search_n_test() 163 slist<int>::iterator slit = search_n(slint.begin(), slint.end(), 2, 1, greater<int>()); in search_n_test() local 164 CPPUNIT_ASSERT( slit != slint.end() ); in search_n_test() 165 CPPUNIT_ASSERT( *(slit++) > 1 ); in search_n_test() 166 CPPUNIT_ASSERT( *slit > 2 ); in search_n_test()
|