/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/array.special/ |
H A D | swap.pass.cpp | 23 C c2 = {4, 5, 6.5}; local 24 swap(c1, c2); 29 assert(c2.size() == 3); 30 assert(c2[0] == 1); 31 assert(c2[1] == 2); 32 assert(c2[2] == 3.5); 38 C c2 = {}; local 39 swap(c1, c2); 41 assert(c2.size() == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/array.swap/ |
H A D | swap.pass.cpp | 23 C c2 = {4, 5, 6.5}; local 24 c1.swap(c2); 29 assert(c2.size() == 3); 30 assert(c2[0] == 1); 31 assert(c2[1] == 2); 32 assert(c2[2] == 3.5); 38 C c2 = {}; local 39 c1.swap(c2); 41 assert(c2.size() == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
H A D | lv_value.pass.cpp | 26 typename C::value_type x3, const C& c2) 32 assert(c1 == c2); 52 C c2 = c1; local 53 insert3at(c2, c2.begin(), 'a', 'b', 'c'); 54 test(c1, 0, 'a', 'b', 'c', c2); 55 c2 = c1; 56 insert3at(c2, c2.begin()+1, 'a', 'b', 'c'); 57 test(c1, 1, 'a', 'b', 'c', c2); 24 test(C c1, typename C::difference_type j, typename C::value_type x1, typename C::value_type x2, typename C::value_type x3, const C& c2) argument [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.spec/ |
H A D | member_swap.pass.cpp | 29 C c2(std::begin(t2), std::end(t2), A(2)); 30 c1.swap(c2); 38 assert(distance(c2.begin(), c2.end()) == 6); 39 assert(*next(c2.begin(), 0) == 0); 40 assert(*next(c2.begin(), 1) == 1); 41 assert(*next(c2.begin(), 2) == 2); 42 assert(*next(c2.begin(), 3) == 3); 43 assert(*next(c2.begin(), 4) == 4); 44 assert(*next(c2 [all...] |
H A D | non_member_swap.pass.cpp | 30 C c2(std::begin(t2), std::end(t2), A(2)); 31 swap(c1, c2); 39 assert(distance(c2.begin(), c2.end()) == 6); 40 assert(*next(c2.begin(), 0) == 0); 41 assert(*next(c2.begin(), 1) == 1); 42 assert(*next(c2.begin(), 2) == 2); 43 assert(*next(c2.begin(), 3) == 3); 44 assert(*next(c2.begin(), 4) == 4); 45 assert(*next(c2 [all...] |
H A D | equal.pass.cpp | 34 C c2; local 36 c2.push_front(i); 38 assert(c1 == c2); 40 assert(c1 != c2); 41 c2 = c1; 42 assert(c1 == c2); 45 c2.front() = N+1; 46 assert(c1 != c2);
|
H A D | swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string.special/ |
H A D | swap_noexcept.pass.cpp | 40 C c1, c2; local 41 static_assert(noexcept(swap(c1, c2)), ""); 45 C c1, c2; local 46 static_assert(noexcept(swap(c1, c2)), ""); 50 C c1, c2; local 51 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/ |
H A D | swap_member.pass.cpp | 37 C c2(0, Hash(2), Compare(2), Alloc(2)); 38 c2.max_load_factor(2); 39 c1.swap(c2); 50 assert(c2.bucket_count() == 0); 51 assert(c2.size() == 0); 52 assert(c2.hash_function() == Hash(1)); 53 assert(c2.key_eq() == Compare(1)); 54 assert(c2.get_allocator() == Alloc(2)); 55 assert(std::distance(c2.begin(), c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/ |
H A D | swap_non_member.pass.cpp | 36 C c2(0, Hash(2), Compare(2), Alloc(2)); 37 c2.max_load_factor(2); 38 swap(c1, c2); 49 assert(c2.bucket_count() == 0); 50 assert(c2.size() == 0); 51 assert(c2.hash_function() == Hash(1)); 52 assert(c2.key_eq() == Compare(1)); 53 assert(c2.get_allocator() == Alloc(2)); 54 assert(std::distance(c2.begin(), c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
H A D | swap_member.pass.cpp | 36 C c2(0, Hash(2), Compare(2), Alloc(2)); 37 c2.max_load_factor(2); 38 c1.swap(c2); 49 assert(c2.bucket_count() == 0); 50 assert(c2.size() == 0); 51 assert(c2.hash_function() == Hash(1)); 52 assert(c2.key_eq() == Compare(1)); 53 assert(c2.get_allocator() == Alloc(2)); 54 assert(std::distance(c2.begin(), c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.swap/ |
H A D | swap_non_member.pass.cpp | 36 C c2(0, Hash(2), Compare(2), Alloc(2)); 37 c2.max_load_factor(2); 38 swap(c1, c2); 49 assert(c2.bucket_count() == 0); 50 assert(c2.size() == 0); 51 assert(c2.hash_function() == Hash(1)); 52 assert(c2.key_eq() == Compare(1)); 53 assert(c2.get_allocator() == Alloc(2)); 54 assert(std::distance(c2.begin(), c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
H A D | swap_member.pass.cpp | 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 36 c2.max_load_factor(2); 37 c1.swap(c2); 48 assert(c2.bucket_count() == 0); 49 assert(c2.size() == 0); 50 assert(c2.hash_function() == Hash(1)); 51 assert(c2.key_eq() == Compare(1)); 52 assert(c2.get_allocator() == Alloc(2)); 53 assert(std::distance(c2.begin(), c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/ |
H A D | swap_non_member.pass.cpp | 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 36 c2.max_load_factor(2); 37 swap(c1, c2); 48 assert(c2.bucket_count() == 0); 49 assert(c2.size() == 0); 50 assert(c2.hash_function() == Hash(1)); 51 assert(c2.key_eq() == Compare(1)); 52 assert(c2.get_allocator() == Alloc(2)); 53 assert(std::distance(c2.begin(), c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/ |
H A D | swap_member.pass.cpp | 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 36 c2.max_load_factor(2); 37 c1.swap(c2); 48 assert(c2.bucket_count() == 0); 49 assert(c2.size() == 0); 50 assert(c2.hash_function() == Hash(1)); 51 assert(c2.key_eq() == Compare(1)); 52 assert(c2.get_allocator() == Alloc(2)); 53 assert(std::distance(c2.begin(), c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.swap/ |
H A D | swap_non_member.pass.cpp | 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 36 c2.max_load_factor(2); 37 swap(c1, c2); 48 assert(c2.bucket_count() == 0); 49 assert(c2.size() == 0); 50 assert(c2.hash_function() == Hash(1)); 51 assert(c2.key_eq() == Compare(1)); 52 assert(c2.get_allocator() == Alloc(2)); 53 assert(std::distance(c2.begin(), c2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.special/ |
H A D | swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.special/ |
H A D | swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/multiset.special/ |
H A D | swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/set.special/ |
H A D | swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/priority.queue/priqueue.special/ |
H A D | swap_noexcept.pass.cpp | 28 C c1, c2; local 29 static_assert(noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/queue/queue.special/ |
H A D | swap_noexcept.pass.cpp | 27 C c1, c2; local 28 static_assert(noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/stack/stack.special/ |
H A D | swap_noexcept.pass.cpp | 27 C c1, c2; local 28 static_assert(noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.special/ |
H A D | swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.special/ |
H A D | swap_noexcept.pass.cpp | 41 C c1, c2; local 42 static_assert(noexcept(swap(c1, c2)), ""); 46 C c1, c2; local 47 static_assert(noexcept(swap(c1, c2)), ""); 51 C c1, c2; local 52 static_assert(noexcept(swap(c1, c2)), ""); 56 C c1, c2; local 57 static_assert(!noexcept(swap(c1, c2)), "");
|