/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.modifiers/ |
D | erase_after_many.pass.cpp | 27 C::iterator i = c.erase_after(next(c.cbefore_begin(), 4), next(c.cbefore_begin(), 4)); in main() 28 assert(i == next(c.cbefore_begin(), 4)); in main() 30 assert(*next(c.begin(), 0) == 0); in main() 31 assert(*next(c.begin(), 1) == 1); in main() 32 assert(*next(c.begin(), 2) == 2); in main() 33 assert(*next(c.begin(), 3) == 3); in main() 34 assert(*next(c.begin(), 4) == 4); in main() 35 assert(*next(c.begin(), 5) == 5); in main() 36 assert(*next(c.begin(), 6) == 6); in main() 37 assert(*next(c.begin(), 7) == 7); in main() [all …]
|
D | resize_size_value.pass.cpp | 30 assert(*next(c.begin(), 0) == 0); in main() 31 assert(*next(c.begin(), 1) == 1); in main() 32 assert(*next(c.begin(), 2) == 2); in main() 36 assert(*next(c.begin(), 0) == 0); in main() 37 assert(*next(c.begin(), 1) == 1); in main() 38 assert(*next(c.begin(), 2) == 2); in main() 39 assert(*next(c.begin(), 3) == 10); in main() 40 assert(*next(c.begin(), 4) == 10); in main() 41 assert(*next(c.begin(), 5) == 10); in main() 45 assert(*next(c.begin(), 0) == 0); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.modifiers/ |
D | erase_iter.pass.cpp | 41 I i = m.erase(next(m.cbegin(), 3)); in main() 43 assert(i == next(m.begin(), 3)); in main() 46 assert(next(m.begin())->first == 1); in main() 47 assert(next(m.begin())->second == 1.5); in main() 48 assert(next(m.begin(), 2)->first == 1); in main() 49 assert(next(m.begin(), 2)->second == 2); in main() 50 assert(next(m.begin(), 3)->first == 2); in main() 51 assert(next(m.begin(), 3)->second == 1.5); in main() 52 assert(next(m.begin(), 4)->first == 2); in main() 53 assert(next(m.begin(), 4)->second == 2); in main() [all …]
|
D | erase_key.pass.cpp | 44 assert(next(m.begin(), 0)->first == 1); in main() 45 assert(next(m.begin(), 0)->second == 1); in main() 46 assert(next(m.begin(), 1)->first == 1); in main() 47 assert(next(m.begin(), 1)->second == 1.5); in main() 48 assert(next(m.begin(), 2)->first == 1); in main() 49 assert(next(m.begin(), 2)->second == 2); in main() 50 assert(next(m.begin(), 3)->first == 3); in main() 51 assert(next(m.begin(), 3)->second == 1); in main() 52 assert(next(m.begin(), 4)->first == 3); in main() 53 assert(next(m.begin(), 4)->second == 1.5); in main() [all …]
|
D | erase_iter_iter.pass.cpp | 45 assert(next(m.begin())->first == 2); in main() 46 assert(next(m.begin())->second == 2.5); in main() 47 assert(next(m.begin(), 2)->first == 3); in main() 48 assert(next(m.begin(), 2)->second == 3.5); in main() 49 assert(next(m.begin(), 3)->first == 4); in main() 50 assert(next(m.begin(), 3)->second == 4.5); in main() 51 assert(next(m.begin(), 4)->first == 5); in main() 52 assert(next(m.begin(), 4)->second == 5.5); in main() 53 assert(next(m.begin(), 5)->first == 6); in main() 54 assert(next(m.begin(), 5)->second == 6.5); in main() [all …]
|
D | insert_iter_iter.pass.cpp | 45 assert(next(m.begin())->first == 1); in main() 46 assert(next(m.begin())->second == 1.5); in main() 47 assert(next(m.begin(), 2)->first == 1); in main() 48 assert(next(m.begin(), 2)->second == 2); in main() 49 assert(next(m.begin(), 3)->first == 2); in main() 50 assert(next(m.begin(), 3)->second == 1); in main() 51 assert(next(m.begin(), 4)->first == 2); in main() 52 assert(next(m.begin(), 4)->second == 1.5); in main() 53 assert(next(m.begin(), 5)->first == 2); in main() 54 assert(next(m.begin(), 5)->second == 2); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/ |
D | erase_iter_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 5), next(m.cbegin(), 5)); in main() 42 assert(i == next(m.begin(), 5)); in main() 43 assert(*next(m.begin(), 0) == 1); in main() 44 assert(*next(m.begin(), 1) == 2); in main() 45 assert(*next(m.begin(), 2) == 3); in main() 46 assert(*next(m.begin(), 3) == 4); in main() 47 assert(*next(m.begin(), 4) == 5); in main() 48 assert(*next(m.begin(), 5) == 6); in main() 49 assert(*next(m.begin(), 6) == 7); in main() 50 assert(*next(m.begin(), 7) == 8); in main() [all …]
|
D | erase_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 3)); in main() 42 assert(i == next(m.begin(), 3)); in main() 43 assert(*next(m.begin(), 0) == 1); in main() 44 assert(*next(m.begin(), 1) == 2); in main() 45 assert(*next(m.begin(), 2) == 3); in main() 46 assert(*next(m.begin(), 3) == 5); in main() 47 assert(*next(m.begin(), 4) == 6); in main() 48 assert(*next(m.begin(), 5) == 7); in main() 49 assert(*next(m.begin(), 6) == 8); in main() 51 i = m.erase(next(m.cbegin(), 0)); in main() [all …]
|
D | erase_key.pass.cpp | 43 assert(*next(m.begin(), 0) == 1); in main() 44 assert(*next(m.begin(), 1) == 2); in main() 45 assert(*next(m.begin(), 2) == 3); in main() 46 assert(*next(m.begin(), 3) == 4); in main() 47 assert(*next(m.begin(), 4) == 5); in main() 48 assert(*next(m.begin(), 5) == 6); in main() 49 assert(*next(m.begin(), 6) == 7); in main() 50 assert(*next(m.begin(), 7) == 8); in main() 55 assert(*next(m.begin(), 0) == 1); in main() 56 assert(*next(m.begin(), 1) == 2); in main() [all …]
|
D | equal_range.pass.cpp | 43 assert(r.first == next(m.begin(), 0)); in main() 44 assert(r.second == next(m.begin(), 1)); in main() 46 assert(r.first == next(m.begin(), 1)); in main() 47 assert(r.second == next(m.begin(), 2)); in main() 49 assert(r.first == next(m.begin(), 2)); in main() 50 assert(r.second == next(m.begin(), 3)); in main() 52 assert(r.first == next(m.begin(), 3)); in main() 53 assert(r.second == next(m.begin(), 4)); in main() 55 assert(r.first == next(m.begin(), 4)); in main() 56 assert(r.second == next(m.begin(), 5)); in main() [all …]
|
D | upper_bound.pass.cpp | 43 assert(r == next(m.begin(), 1)); in main() 45 assert(r == next(m.begin(), 2)); in main() 47 assert(r == next(m.begin(), 3)); in main() 49 assert(r == next(m.begin(), 4)); in main() 51 assert(r == next(m.begin(), 5)); in main() 53 assert(r == next(m.begin(), 6)); in main() 55 assert(r == next(m.begin(), 7)); in main() 57 assert(r == next(m.begin(), 8)); in main() 59 assert(r == next(m.begin(), 0)); in main() 61 assert(r == next(m.begin(), 1)); in main() [all …]
|
D | lower_bound.pass.cpp | 45 assert(r == next(m.begin())); in main() 47 assert(r == next(m.begin(), 2)); in main() 49 assert(r == next(m.begin(), 3)); in main() 51 assert(r == next(m.begin(), 4)); in main() 53 assert(r == next(m.begin(), 5)); in main() 55 assert(r == next(m.begin(), 6)); in main() 57 assert(r == next(m.begin(), 7)); in main() 59 assert(r == next(m.begin(), 0)); in main() 61 assert(r == next(m.begin(), 1)); in main() 63 assert(r == next(m.begin(), 2)); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/ |
D | erase_iter_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 5), next(m.cbegin(), 5)); in main() 42 assert(i == next(m.begin(), 5)); in main() 43 assert(*next(m.begin(), 0) == 1); in main() 44 assert(*next(m.begin(), 1) == 2); in main() 45 assert(*next(m.begin(), 2) == 3); in main() 46 assert(*next(m.begin(), 3) == 4); in main() 47 assert(*next(m.begin(), 4) == 5); in main() 48 assert(*next(m.begin(), 5) == 6); in main() 49 assert(*next(m.begin(), 6) == 7); in main() 50 assert(*next(m.begin(), 7) == 8); in main() [all …]
|
D | erase_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 3)); in main() 42 assert(i == next(m.begin(), 3)); in main() 43 assert(*next(m.begin(), 0) == 1); in main() 44 assert(*next(m.begin(), 1) == 2); in main() 45 assert(*next(m.begin(), 2) == 3); in main() 46 assert(*next(m.begin(), 3) == 5); in main() 47 assert(*next(m.begin(), 4) == 6); in main() 48 assert(*next(m.begin(), 5) == 7); in main() 49 assert(*next(m.begin(), 6) == 8); in main() 51 i = m.erase(next(m.cbegin(), 0)); in main() [all …]
|
D | erase_key.pass.cpp | 44 assert(*next(m.begin(), 0) == 3); in main() 45 assert(*next(m.begin(), 1) == 3); in main() 46 assert(*next(m.begin(), 2) == 3); in main() 47 assert(*next(m.begin(), 3) == 5); in main() 48 assert(*next(m.begin(), 4) == 5); in main() 49 assert(*next(m.begin(), 5) == 5); in main() 50 assert(*next(m.begin(), 6) == 7); in main() 51 assert(*next(m.begin(), 7) == 7); in main() 52 assert(*next(m.begin(), 8) == 7); in main() 57 assert(*next(m.begin(), 0) == 3); in main() [all …]
|
D | equal_range.pass.cpp | 44 assert(r.first == next(m.begin(), 0)); in main() 45 assert(r.second == next(m.begin(), 0)); in main() 47 assert(r.first == next(m.begin(), 0)); in main() 48 assert(r.second == next(m.begin(), 3)); in main() 50 assert(r.first == next(m.begin(), 3)); in main() 51 assert(r.second == next(m.begin(), 3)); in main() 53 assert(r.first == next(m.begin(), 3)); in main() 54 assert(r.second == next(m.begin(), 6)); in main() 56 assert(r.first == next(m.begin(), 6)); in main() 57 assert(r.second == next(m.begin(), 6)); in main() [all …]
|
D | insert_iter_iter.pass.cpp | 44 assert(*next(m.begin(), 0) == 1); in main() 45 assert(*next(m.begin(), 1) == 1); in main() 46 assert(*next(m.begin(), 2) == 1); in main() 47 assert(*next(m.begin(), 3) == 2); in main() 48 assert(*next(m.begin(), 4) == 2); in main() 49 assert(*next(m.begin(), 5) == 2); in main() 50 assert(*next(m.begin(), 6) == 3); in main() 51 assert(*next(m.begin(), 7) == 3); in main() 52 assert(*next(m.begin(), 8) == 3); in main() 74 assert(*next(m.begin(), 0) == 1); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.modifiers/ |
D | erase_iter.pass.cpp | 40 I i = m.erase(next(m.cbegin(), 3)); in main() 42 assert(i == next(m.begin(), 3)); in main() 45 assert(next(m.begin())->first == 2); in main() 46 assert(next(m.begin())->second == 2.5); in main() 47 assert(next(m.begin(), 2)->first == 3); in main() 48 assert(next(m.begin(), 2)->second == 3.5); in main() 49 assert(next(m.begin(), 3)->first == 5); in main() 50 assert(next(m.begin(), 3)->second == 5.5); in main() 51 assert(next(m.begin(), 4)->first == 6); in main() 52 assert(next(m.begin(), 4)->second == 6.5); in main() [all …]
|
D | erase_key.pass.cpp | 45 assert(next(m.begin())->first == 2); in main() 46 assert(next(m.begin())->second == 2.5); in main() 47 assert(next(m.begin(), 2)->first == 3); in main() 48 assert(next(m.begin(), 2)->second == 3.5); in main() 49 assert(next(m.begin(), 3)->first == 4); in main() 50 assert(next(m.begin(), 3)->second == 4.5); in main() 51 assert(next(m.begin(), 4)->first == 5); in main() 52 assert(next(m.begin(), 4)->second == 5.5); in main() 53 assert(next(m.begin(), 5)->first == 6); in main() 54 assert(next(m.begin(), 5)->second == 6.5); in main() [all …]
|
D | erase_iter_iter.pass.cpp | 45 assert(next(m.begin())->first == 2); in main() 46 assert(next(m.begin())->second == 2.5); in main() 47 assert(next(m.begin(), 2)->first == 3); in main() 48 assert(next(m.begin(), 2)->second == 3.5); in main() 49 assert(next(m.begin(), 3)->first == 4); in main() 50 assert(next(m.begin(), 3)->second == 4.5); in main() 51 assert(next(m.begin(), 4)->first == 5); in main() 52 assert(next(m.begin(), 4)->second == 5.5); in main() 53 assert(next(m.begin(), 5)->first == 6); in main() 54 assert(next(m.begin(), 5)->second == 6.5); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.ops/ |
D | equal_range.pass.cpp | 43 assert(r.first == next(m.begin(), 0)); in main() 44 assert(r.second == next(m.begin(), 1)); in main() 46 assert(r.first == next(m.begin(), 1)); in main() 47 assert(r.second == next(m.begin(), 2)); in main() 49 assert(r.first == next(m.begin(), 2)); in main() 50 assert(r.second == next(m.begin(), 3)); in main() 52 assert(r.first == next(m.begin(), 3)); in main() 53 assert(r.second == next(m.begin(), 4)); in main() 55 assert(r.first == next(m.begin(), 4)); in main() 56 assert(r.second == next(m.begin(), 5)); in main() [all …]
|
D | upper_bound.pass.cpp | 43 assert(r == next(m.begin(), 1)); in main() 45 assert(r == next(m.begin(), 2)); in main() 47 assert(r == next(m.begin(), 3)); in main() 49 assert(r == next(m.begin(), 4)); in main() 51 assert(r == next(m.begin(), 5)); in main() 53 assert(r == next(m.begin(), 6)); in main() 55 assert(r == next(m.begin(), 7)); in main() 57 assert(r == next(m.begin(), 8)); in main() 59 assert(r == next(m.begin(), 0)); in main() 61 assert(r == next(m.begin(), 1)); in main() [all …]
|
D | lower_bound.pass.cpp | 45 assert(r == next(m.begin())); in main() 47 assert(r == next(m.begin(), 2)); in main() 49 assert(r == next(m.begin(), 3)); in main() 51 assert(r == next(m.begin(), 4)); in main() 53 assert(r == next(m.begin(), 5)); in main() 55 assert(r == next(m.begin(), 6)); in main() 57 assert(r == next(m.begin(), 7)); in main() 59 assert(r == next(m.begin(), 0)); in main() 61 assert(r == next(m.begin(), 1)); in main() 63 assert(r == next(m.begin(), 2)); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/multiset.cons/ |
D | copy.pass.cpp | 46 assert(*next(m.begin(), 0) == 1); in main() 47 assert(*next(m.begin(), 1) == 1); in main() 48 assert(*next(m.begin(), 2) == 1); in main() 49 assert(*next(m.begin(), 3) == 2); in main() 50 assert(*next(m.begin(), 4) == 2); in main() 51 assert(*next(m.begin(), 5) == 2); in main() 52 assert(*next(m.begin(), 6) == 3); in main() 53 assert(*next(m.begin(), 7) == 3); in main() 54 assert(*next(m.begin(), 8) == 3); in main() 60 assert(*next(mo.begin(), 0) == 1); in main() [all …]
|
D | copy_assign.pass.cpp | 47 assert(*next(m.begin(), 0) == 1); in main() 48 assert(*next(m.begin(), 1) == 1); in main() 49 assert(*next(m.begin(), 2) == 1); in main() 50 assert(*next(m.begin(), 3) == 2); in main() 51 assert(*next(m.begin(), 4) == 2); in main() 52 assert(*next(m.begin(), 5) == 2); in main() 53 assert(*next(m.begin(), 6) == 3); in main() 54 assert(*next(m.begin(), 7) == 3); in main() 55 assert(*next(m.begin(), 8) == 3); in main() 61 assert(*next(mo.begin(), 0) == 1); in main() [all …]
|