/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.cons/ |
construct_default.pass.cpp | 20 #include "../../../min_allocator.h" 57 test0<std::vector<int, min_allocator<int>> >(); 58 test0<std::vector<NotConstructible, min_allocator<NotConstructible>> >(); 59 test1<std::vector<int, min_allocator<int> > >(min_allocator<int>{}); 60 test1<std::vector<NotConstructible, min_allocator<NotConstructible> > > 61 (min_allocator<NotConstructible>{}); 64 std::vector<int, min_allocator<int> > v;
|
move.pass.cpp | 18 #include "../../../min_allocator.h" 59 std::vector<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); 60 std::vector<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); 66 std::vector<MoveOnly, min_allocator<MoveOnly> > l2 = std::move(l); 73 std::vector<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); 74 std::vector<int, min_allocator<int>>::const_iterator i = c1.begin(); 75 std::vector<int, min_allocator<int>> c2 = std::move(c1); 76 std::vector<int, min_allocator<int>>::iterator j = c2.erase(i) [all...] |
assign_copy.pass.cpp | 17 #include "../../../min_allocator.h" 37 std::vector<int, min_allocator<int> > l(3, 2, min_allocator<int>()); 38 std::vector<int, min_allocator<int> > l2(l, min_allocator<int>()); 41 assert(l2.get_allocator() == min_allocator<int>());
|
copy_alloc.pass.cpp | 17 #include "../../../min_allocator.h" 53 test(std::vector<int, min_allocator<int>>(a, an), min_allocator<int>()); 56 std::vector<int, min_allocator<int> > l(3, 2, min_allocator<int>()); 57 std::vector<int, min_allocator<int> > l2(l, min_allocator<int>()); 59 assert(l2.get_allocator() == min_allocator<int>());
|
move_alloc.pass.cpp | 18 #include "../../../min_allocator.h" 64 std::vector<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); 65 std::vector<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); 71 std::vector<MoveOnly, min_allocator<MoveOnly> > l2(std::move(l), min_allocator<MoveOnly>()); 74 assert(l2.get_allocator() == min_allocator<MoveOnly>());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/ |
op_equal.pass.cpp | 17 #include "../../../min_allocator.h" 53 test(std::deque<int, min_allocator<int>>(ab, an)); 56 std::deque<int, min_allocator<int> > l(3, 2, min_allocator<int>()); 57 std::deque<int, min_allocator<int> > l2(l, min_allocator<int>()); 60 assert(l2.get_allocator() == min_allocator<int>());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/ |
types.pass.cpp | 31 #include "../../min_allocator.h" 44 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::value_type, char>::value), ""); 45 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::allocator_type, min_allocator<char> >::value), ""); 46 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::reference, char&>::value), ""); 47 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::const_reference, const char&>::value), ""); 48 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::pointer, min_pointer<char>>::value), ""); 49 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::const_pointer, min_pointer<const char>>::value), ""); 50 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::size_type, std::size_t>::value), ""); 51 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::difference_type, std::ptrdiff_t>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.modifiers/ |
erase_iter_iter.pass.cpp | 17 #include "../../../min_allocator.h" 61 std::vector<int, min_allocator<int>> l1(a1, a1+3); 62 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); 68 std::vector<int, min_allocator<int>> l1(a1, a1+3); 69 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); 73 assert((l1 == std::vector<int, min_allocator<int>>(a1+1, a1+3))); 76 std::vector<int, min_allocator<int>> l1(a1, a1+3); 77 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); 81 assert((l1 == std::vector<int, min_allocator<int>>(a1+2, a1+3))); 84 std::vector<int, min_allocator<int>> l1(a1, a1+3) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/ |
splice_pos_list.pass.cpp | 21 #include "../../../min_allocator.h" 416 std::list<int, min_allocator<int>> l1; 417 std::list<int, min_allocator<int>> l2; 425 std::list<int, min_allocator<int>> l1; 426 std::list<int, min_allocator<int>> l2(a2, a2+1); 432 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); 436 std::list<int, min_allocator<int>> l1; 437 std::list<int, min_allocator<int>> l2(a2, a2+2); 443 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); 449 std::list<int, min_allocator<int>> l1 [all...] |
splice_pos_list_iter.pass.cpp | 21 #include "../../../min_allocator.h" 193 std::list<int, min_allocator<int>> l1; 194 std::list<int, min_allocator<int>> l2(a2, a2+1); 200 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); 204 std::list<int, min_allocator<int>> l1; 205 std::list<int, min_allocator<int>> l2(a2, a2+2); 211 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); 217 std::list<int, min_allocator<int>> l1; 218 std::list<int, min_allocator<int>> l2(a2, a2+2); 224 std::list<int, min_allocator<int>>::const_iterator i = l1.begin() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/ |
assign_copy.pass.cpp | 17 #include "../../../min_allocator.h" 37 std::list<int, min_allocator<int> > l(3, 2, min_allocator<int>()); 38 std::list<int, min_allocator<int> > l2(l, min_allocator<int>()); 41 assert(l2.get_allocator() == min_allocator<int>());
|
copy.pass.cpp | 18 #include "../../../min_allocator.h" 43 std::list<int, min_allocator<int>> l(3, 2); 44 std::list<int, min_allocator<int>> l2 = l; 48 std::list<int, min_allocator<int> > l(3, 2, min_allocator<int>()); 49 std::list<int, min_allocator<int> > l2 = l;
|
copy_alloc.pass.cpp | 18 #include "../../../min_allocator.h" 36 std::list<int, min_allocator<int> > l(3, 2, min_allocator<int>()); 37 std::list<int, min_allocator<int> > l2(l, min_allocator<int>()); 39 assert(l2.get_allocator() == min_allocator<int>());
|
move.pass.cpp | 18 #include "../../../min_allocator.h" 51 std::list<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); 52 std::list<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); 58 std::list<MoveOnly, min_allocator<MoveOnly> > l2 = std::move(l);
|
move_alloc.pass.cpp | 18 #include "../../../min_allocator.h" 64 std::list<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); 65 std::list<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); 71 std::list<MoveOnly, min_allocator<MoveOnly> > l2(std::move(l), min_allocator<MoveOnly>()); 74 assert(l2.get_allocator() == min_allocator<MoveOnly>());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/ |
assign_copy.pass.cpp | 17 #include "../../min_allocator.h" 37 std::vector<bool, min_allocator<bool> > l(3, 2, min_allocator<bool>()); 38 std::vector<bool, min_allocator<bool> > l2(l, min_allocator<bool>()); 41 assert(l2.get_allocator() == min_allocator<bool>());
|
construct_iter_iter.pass.cpp | 19 #include "../../min_allocator.h" 42 test<std::vector<bool, min_allocator<bool>> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an)); 43 test<std::vector<bool, min_allocator<bool>> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an)); 44 test<std::vector<bool, min_allocator<bool>> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an)); 45 test<std::vector<bool, min_allocator<bool>> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an)); 46 test<std::vector<bool, min_allocator<bool>> >(a, an);
|
move.pass.cpp | 17 #include "../../min_allocator.h" 50 std::vector<bool, min_allocator<bool> > l(min_allocator<bool>{}); 51 std::vector<bool, min_allocator<bool> > lo(min_allocator<bool>{}); 57 std::vector<bool, min_allocator<bool> > l2 = std::move(l);
|
copy_alloc.pass.cpp | 17 #include "../../min_allocator.h" 53 test(std::vector<bool, min_allocator<bool>>(a, an), min_allocator<bool>()); 56 std::vector<bool, min_allocator<bool> > l(3, 2, min_allocator<bool>()); 57 std::vector<bool, min_allocator<bool> > l2(l, min_allocator<bool>()); 59 assert(l2.get_allocator() == min_allocator<bool>());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/ |
types.pass.cpp | 35 #include "../../min_allocator.h" 54 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_type, int>::value), ""); 55 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::mapped_type, double>::value), ""); 56 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::value_type, std::pair<const int, double> >::value), ""); 57 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_compare, std::less<int> >::value), ""); 58 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::allocator_type, min_allocator<std::pair<const int, double> > >::value), ""); 59 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::reference, std::pair<const int, double>&>::value), ""); 60 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::const_reference, const std::pair<const int, double>&>::value), ""); 61 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::pointer, min_pointer<std::pair<const int, double>>>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/ |
types.pass.cpp | 35 #include "../../min_allocator.h" 54 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_type, int>::value), ""); 55 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::mapped_type, double>::value), ""); 56 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::value_type, std::pair<const int, double> >::value), ""); 57 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_compare, std::less<int> >::value), ""); 58 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::allocator_type, min_allocator<std::pair<const int, double> > >::value), ""); 59 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::reference, std::pair<const int, double>&>::value), ""); 60 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::const_reference, const std::pair<const int, double>&>::value), ""); 61 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::pointer, min_pointer<std::pair<const int, double>>>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/ |
types.pass.cpp | 35 #include "../../min_allocator.h" 54 static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::key_type, int>::value), ""); 55 static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::value_type, int>::value), ""); 56 static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::key_compare, std::less<int> >::value), ""); 57 static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::value_compare, std::less<int> >::value), ""); 58 static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::allocator_type, min_allocator<int>>::value), ""); 59 static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::reference, int&>::value), ""); 60 static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::const_reference, const int&>::value), ""); 61 static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::pointer, min_pointer<int>>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/ |
types.pass.cpp | 35 #include "../../min_allocator.h" 54 static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::key_type, int>::value), ""); 55 static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::value_type, int>::value), ""); 56 static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::key_compare, std::less<int> >::value), ""); 57 static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::value_compare, std::less<int> >::value), ""); 58 static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::allocator_type, min_allocator<int> >::value), ""); 59 static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::reference, int&>::value), ""); 60 static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::const_reference, const int&>::value), ""); 61 static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::pointer, min_pointer<int>>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/ |
insert_iter_size_value.pass.cpp | 22 #include "../../../min_allocator.h" 77 std::list<int, min_allocator<int>> l1(a1, a1+3); 78 std::list<int, min_allocator<int>>::iterator i = l1.insert(next(l1.cbegin()), 5, 4); 80 assert((l1 == std::list<int, min_allocator<int>>(a2, a2+8))); 93 assert((l1 == std::list<int, min_allocator<int>>(a2, a2+8))); 97 std::list<int, min_allocator<int>> c1(100); 98 std::list<int, min_allocator<int>> c2; 99 std::list<int, min_allocator<int>>::iterator i = c1.insert(next(c2.cbegin(), 10), 5, 1);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/ |
types.pass.cpp | 28 #include "../../min_allocator.h" 39 static_assert((std::is_same<std::list<int, min_allocator<int>>::value_type, int>::value), ""); 40 static_assert((std::is_same<std::list<int, min_allocator<int>>::allocator_type, min_allocator<int> >::value), ""); 41 static_assert((std::is_same<std::list<int, min_allocator<int>>::reference, int&>::value), ""); 42 static_assert((std::is_same<std::list<int, min_allocator<int>>::const_reference, const int&>::value), ""); 43 static_assert((std::is_same<std::list<int, min_allocator<int>>::pointer, min_pointer<int>>::value), ""); 44 static_assert((std::is_same<std::list<int, min_allocator<int>>::const_pointer, min_pointer<const int>>::value), "");
|