Home
last modified time | relevance | path

Searched refs:min_allocator (Results 1 – 25 of 903) sorted by relevance

12345678910>>...37

/external/libcxx/test/std/containers/sequences/list/list.ops/
Dsplice_pos_list.pass.cpp405 std::list<int, min_allocator<int>> l1; in main()
406 std::list<int, min_allocator<int>> l2; in main()
414 std::list<int, min_allocator<int>> l1; in main()
415 std::list<int, min_allocator<int>> l2(a2, a2+1); in main()
421 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
425 std::list<int, min_allocator<int>> l1; in main()
426 std::list<int, min_allocator<int>> l2(a2, a2+2); in main()
432 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
438 std::list<int, min_allocator<int>> l1; in main()
439 std::list<int, min_allocator<int>> l2(a2, a2+3); in main()
[all …]
Dsplice_pos_list_iter.pass.cpp182 std::list<int, min_allocator<int>> l1; in main()
183 std::list<int, min_allocator<int>> l2(a2, a2+1); in main()
189 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
193 std::list<int, min_allocator<int>> l1; in main()
194 std::list<int, min_allocator<int>> l2(a2, a2+2); in main()
200 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
206 std::list<int, min_allocator<int>> l1; in main()
207 std::list<int, min_allocator<int>> l2(a2, a2+2); in main()
213 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
219 std::list<int, min_allocator<int>> l1; in main()
[all …]
Dsplice_pos_list_iter_iter.pass.cpp122 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
126 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
134 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
138 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
146 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
150 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
158 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
159 std::list<int, min_allocator<int>> l2(a2, a2+3); in main()
163 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
178 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
[all …]
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Derase_iter_iter.pass.cpp92 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main()
94 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
101 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main()
103 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
107 assert((l1 == std::vector<int, min_allocator<int>>(a1+1, a1+3))); in main()
111 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main()
113 … std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
117 assert((l1 == std::vector<int, min_allocator<int>>(a1+2, a1+3))); in main()
121 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main()
123 … std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
[all …]
/external/libcxx/test/std/containers/sequences/list/list.special/
Dswap.pass.cpp90 std::list<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
91 std::list<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
93 assert((c1 == std::list<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
94 assert((c2 == std::list<int, min_allocator<int>>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main()
99 std::list<int, min_allocator<int>> c1(a1, a1); in main()
100 std::list<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
102 assert((c1 == std::list<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
109 std::list<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
110 std::list<int, min_allocator<int>> c2(a2, a2); in main()
114 assert((c2 == std::list<int, min_allocator<int>>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main()
[all …]
/external/libcxx/test/std/containers/sequences/vector.bool/
Derase_iter_iter.pass.cpp55 std::vector<bool, min_allocator<bool>> l1(a1, a1+3); in main()
56 std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
62 std::vector<bool, min_allocator<bool>> l1(a1, a1+3); in main()
63 … std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
67 assert((l1 == std::vector<bool, min_allocator<bool>>(a1+1, a1+3))); in main()
70 std::vector<bool, min_allocator<bool>> l1(a1, a1+3); in main()
71 … std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
75 assert((l1 == std::vector<bool, min_allocator<bool>>(a1+2, a1+3))); in main()
78 std::vector<bool, min_allocator<bool>> l1(a1, a1+3); in main()
79 … std::vector<bool, min_allocator<bool>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
Dcopy_alloc.pass.cpp55 test(std::vector<bool, min_allocator<bool>>(a, an), min_allocator<bool>()); in main()
58 std::vector<bool, min_allocator<bool> > l(3, true, min_allocator<bool>()); in main()
59 std::vector<bool, min_allocator<bool> > l2(l, min_allocator<bool>()); in main()
61 assert(l2.get_allocator() == min_allocator<bool>()); in main()
Dmove_alloc.pass.cpp63 std::vector<bool, min_allocator<bool> > l(min_allocator<bool>{}); in main()
64 std::vector<bool, min_allocator<bool> > lo(min_allocator<bool>{}); in main()
70 std::vector<bool, min_allocator<bool> > l2(std::move(l), min_allocator<bool>()); in main()
73 assert(l2.get_allocator() == min_allocator<bool>()); in main()
Dconstruct_iter_iter_alloc.pass.cpp49 min_allocator<bool> alloc; in main()
50 …test<std::vector<bool, min_allocator<bool>> >(input_iterator<const bool*>(a), input_iterator<const… in main()
51 …test<std::vector<bool, min_allocator<bool>> >(forward_iterator<const bool*>(a), forward_iterator<c… in main()
52 …test<std::vector<bool, min_allocator<bool>> >(bidirectional_iterator<const bool*>(a), bidirectiona… in main()
53 …test<std::vector<bool, min_allocator<bool>> >(random_access_iterator<const bool*>(a), random_acces… in main()
54 test<std::vector<bool, min_allocator<bool>> >(a, an, alloc); in main()
Dassign_copy.pass.cpp37 std::vector<bool, min_allocator<bool> > l(3, true, min_allocator<bool>()); in main()
38 std::vector<bool, min_allocator<bool> > l2(l, min_allocator<bool>()); in main()
41 assert(l2.get_allocator() == min_allocator<bool>()); in main()
Dassign_move.pass.cpp66 std::vector<bool, min_allocator<bool> > l(min_allocator<bool>{}); in main()
67 std::vector<bool, min_allocator<bool> > lo(min_allocator<bool>{}); in main()
73 std::vector<bool, min_allocator<bool> > l2(min_allocator<bool>{}); in main()
/external/libcxx/test/std/containers/sequences/list/list.modifiers/
Derase_iter_iter.pass.cpp54 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
55 std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
61 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
62 std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
66 assert((l1 == std::list<int, min_allocator<int>>(a1+1, a1+3))); in main()
69 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
70 … std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
74 assert((l1 == std::list<int, min_allocator<int>>(a1+2, a1+3))); in main()
77 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
78 … std::list<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
Dcopy_alloc.pass.cpp57 test(std::vector<int, min_allocator<int>>(a, an), min_allocator<int>()); in main()
60 std::vector<int, min_allocator<int> > l(3, 2, min_allocator<int>()); in main()
61 std::vector<int, min_allocator<int> > l2(l, min_allocator<int>()); in main()
63 assert(l2.get_allocator() == min_allocator<int>()); in main()
Dconstruct_default.pass.cpp79 test0<std::vector<int, min_allocator<int>> >(); in main()
80 test0<std::vector<NotConstructible, min_allocator<NotConstructible>> >(); in main()
81 test1<std::vector<int, min_allocator<int> > >(min_allocator<int>{}); in main()
82 test1<std::vector<NotConstructible, min_allocator<NotConstructible> > > in main()
83 (min_allocator<NotConstructible>{}); in main()
86 std::vector<int, min_allocator<int> > v; in main()
Dmove.pass.cpp75 std::vector<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); in main()
76 std::vector<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); in main()
86 std::vector<MoveOnly, min_allocator<MoveOnly> > l2 = std::move(l); in main()
94 std::vector<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
96 std::vector<int, min_allocator<int>>::const_iterator i = c1.begin(); in main()
97 std::vector<int, min_allocator<int>> c2 = std::move(c1); in main()
99 std::vector<int, min_allocator<int>>::iterator j = c2.erase(i); in main()
Dassign_copy.pass.cpp37 std::vector<int, min_allocator<int> > l(3, 2, min_allocator<int>()); in main()
38 std::vector<int, min_allocator<int> > l2(l, min_allocator<int>()); in main()
41 assert(l2.get_allocator() == min_allocator<int>()); in main()
Dmove_alloc.pass.cpp80 std::vector<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); in main()
81 std::vector<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); in main()
91 std::vector<MoveOnly, min_allocator<MoveOnly> > l2(std::move(l), min_allocator<MoveOnly>()); in main()
94 assert(l2.get_allocator() == min_allocator<MoveOnly>()); in main()
/external/libcxx/test/std/containers/sequences/deque/deque.cons/
Dop_equal.pass.cpp53 test(std::deque<int, min_allocator<int>>(ab, an)); in main()
56 std::deque<int, min_allocator<int> > l(3, 2, min_allocator<int>()); in main()
57 std::deque<int, min_allocator<int> > l2(l, min_allocator<int>()); in main()
60 assert(l2.get_allocator() == min_allocator<int>()); in main()
/external/libcxx/test/std/containers/sequences/vector/vector.special/
Dswap.pass.cpp112 std::vector<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
113 std::vector<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
117 assert((c1 == std::vector<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
118 assert((c2 == std::vector<int, min_allocator<int>>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main()
125 std::vector<int, min_allocator<int>> c1(a1, a1); in main()
126 std::vector<int, min_allocator<int>> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main()
130 assert((c1 == std::vector<int, min_allocator<int>>(a2, a2+sizeof(a2)/sizeof(a2[0])))); in main()
139 std::vector<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
140 std::vector<int, min_allocator<int>> c2(a2, a2); in main()
146 assert((c2 == std::vector<int, min_allocator<int>>(a1, a1+sizeof(a1)/sizeof(a1[0])))); in main()
[all …]
/external/libcxx/test/std/containers/sequences/list/list.cons/
Dmove_alloc.pass.cpp64 std::list<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); in main()
65 std::list<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); in main()
71 std::list<MoveOnly, min_allocator<MoveOnly> > l2(std::move(l), min_allocator<MoveOnly>()); in main()
74 assert(l2.get_allocator() == min_allocator<MoveOnly>()); in main()
Dcopy_alloc.pass.cpp36 std::list<int, min_allocator<int> > l(3, 2, min_allocator<int>()); in main()
37 std::list<int, min_allocator<int> > l2(l, min_allocator<int>()); in main()
39 assert(l2.get_allocator() == min_allocator<int>()); in main()
Dassign_copy.pass.cpp37 std::list<int, min_allocator<int> > l(3, 2, min_allocator<int>()); in main()
38 std::list<int, min_allocator<int> > l2(l, min_allocator<int>()); in main()
41 assert(l2.get_allocator() == min_allocator<int>()); in main()
Dcopy.pass.cpp43 std::list<int, min_allocator<int>> l(3, 2); in main()
44 std::list<int, min_allocator<int>> l2 = l; in main()
48 std::list<int, min_allocator<int> > l(3, 2, min_allocator<int>()); in main()
49 std::list<int, min_allocator<int> > l2 = l; in main()
Dassign_move.pass.cpp67 std::list<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); in main()
68 std::list<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); in main()
74 std::list<MoveOnly, min_allocator<MoveOnly> > l2(min_allocator<MoveOnly>{}); in main()
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/
Dis_always_equal.pass.cpp33 std::allocator_traits<min_allocator<int>>::is_always_equal, std::true_type>::value in main()
46 std::scoped_allocator_adaptor<min_allocator<int>>::is_always_equal, in main()
47 std::allocator_traits<min_allocator<int>>::is_always_equal in main()
59 std::scoped_allocator_adaptor<A1<int>, min_allocator<int>>::is_always_equal::value == in main()
61 std::allocator_traits<min_allocator<int>>::is_always_equal::value) in main()

12345678910>>...37