Home
last modified time | relevance | path

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

12345678910>>...33

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Dtypes.pass.cpp54 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::key_type, int>… in main()
55 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::value_type, in… in main()
56 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::key_compare, s… in main()
57 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::value_compare,… in main()
58 …t((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::allocator_type, min_alloca… in main()
59 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::reference, int… in main()
60 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::const_referenc… in main()
61 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::pointer, min_p… in main()
62 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::const_pointer,… in main()
63 …static_assert((std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::size_type, std… in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Dtypes.pass.cpp54 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::key_type, int>::val… in main()
55 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::value_type, int>::v… in main()
56 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::key_compare, std::l… in main()
57 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::value_compare, std:… in main()
58 …assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::allocator_type, min_alloca… in main()
59 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::reference, int&>::v… in main()
60 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::const_reference, co… in main()
61 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::pointer, min_pointe… in main()
62 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::const_pointer, min_… in main()
63 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::size_type, std::siz… in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/
Dtypes.pass.cpp44 …static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::value_type, char>::value… in main()
45 …tatic_assert((std::is_same<std::forward_list<char, min_allocator<char>>::allocator_type, min_alloc… in main()
46 …static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::reference, char&>::value… in main()
47 …static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::const_reference, const c… in main()
48 …static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::pointer, min_pointer<cha… in main()
49 …static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::const_pointer, min_point… in main()
50 …static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::size_type, std::size_t>:… in main()
51 …static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::difference_type, std::pt… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/
Dtypes.pass.cpp54 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
55 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
56 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
57 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
58 …:multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::allocator_typ… in main()
59 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
60 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
61 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
62 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
63 …static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<con… in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/
Dtypes.pass.cpp54 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
55 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
56 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
57 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
58 …<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::allocator_typ… in main()
59 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
60 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
61 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
62 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
63 …static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const in… in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
Dcopy_alloc.pass.cpp53 test(std::vector<bool, min_allocator<bool>>(a, an), min_allocator<bool>()); in main()
56 std::vector<bool, min_allocator<bool> > l(3, 2, min_allocator<bool>()); in main()
57 std::vector<bool, min_allocator<bool> > l2(l, min_allocator<bool>()); in main()
59 assert(l2.get_allocator() == min_allocator<bool>()); in main()
Dassign_copy.pass.cpp37 std::vector<bool, min_allocator<bool> > l(3, 2, 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()
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()
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()
Dconstruct_iter_iter_alloc.pass.cpp47 min_allocator<bool> alloc; in main()
48 …test<std::vector<bool, min_allocator<bool>> >(input_iterator<const bool*>(a), input_iterator<const… in main()
49 …test<std::vector<bool, min_allocator<bool>> >(forward_iterator<const bool*>(a), forward_iterator<c… in main()
50 …test<std::vector<bool, min_allocator<bool>> >(bidirectional_iterator<const bool*>(a), bidirectiona… in main()
51 …test<std::vector<bool, min_allocator<bool>> >(random_access_iterator<const bool*>(a), random_acces… in main()
52 test<std::vector<bool, min_allocator<bool>> >(a, an, alloc); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.cons/
Dcopy_alloc.pass.cpp55 test(std::vector<int, min_allocator<int>>(a, an), min_allocator<int>()); in main()
58 std::vector<int, min_allocator<int> > l(3, 2, min_allocator<int>()); in main()
59 std::vector<int, min_allocator<int> > l2(l, min_allocator<int>()); in main()
61 assert(l2.get_allocator() == min_allocator<int>()); in main()
Dconstruct_default.pass.cpp67 test0<std::vector<int, min_allocator<int>> >(); in main()
68 test0<std::vector<NotConstructible, min_allocator<NotConstructible>> >(); in main()
69 test1<std::vector<int, min_allocator<int> > >(min_allocator<int>{}); in main()
70 test1<std::vector<NotConstructible, min_allocator<NotConstructible> > > in main()
71 (min_allocator<NotConstructible>{}); in main()
74 std::vector<int, min_allocator<int> > v; 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()
Dconstruct_iter_iter_alloc.pass.cpp38 struct implicit_conv_allocator : min_allocator<T>
62 min_allocator<int> alloc; in main()
63 …test<std::vector<int, min_allocator<int>> >(input_iterator<const int*>(a), input_iterator<const in… in main()
64 …test<std::vector<int, min_allocator<int>> >(forward_iterator<const int*>(a), forward_iterator<cons… in main()
65 …test<std::vector<int, min_allocator<int>> >(bidirectional_iterator<const int*>(a), bidirectional_i… in main()
66 …test<std::vector<int, min_allocator<int>> >(random_access_iterator<const int*>(a), random_access_i… in main()
67 test<std::vector<int, min_allocator<int>> >(a, an, alloc); in main()
Dmove.pass.cpp73 std::vector<MoveOnly, min_allocator<MoveOnly> > l(min_allocator<MoveOnly>{}); in main()
74 std::vector<MoveOnly, min_allocator<MoveOnly> > lo(min_allocator<MoveOnly>{}); in main()
84 std::vector<MoveOnly, min_allocator<MoveOnly> > l2 = std::move(l); in main()
92 std::vector<int, min_allocator<int>> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main()
94 std::vector<int, min_allocator<int>>::const_iterator i = c1.begin(); in main()
95 std::vector<int, min_allocator<int>> c2 = std::move(c1); in main()
97 std::vector<int, min_allocator<int>>::iterator j = c2.erase(i); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/
Dtypes.pass.cpp39 static_assert((std::is_same<std::list<int, min_allocator<int>>::value_type, int>::value), ""); in main()
40 …static_assert((std::is_same<std::list<int, min_allocator<int>>::allocator_type, min_allocator<int>… in main()
41 static_assert((std::is_same<std::list<int, min_allocator<int>>::reference, int&>::value), ""); in main()
42 …static_assert((std::is_same<std::list<int, min_allocator<int>>::const_reference, const int&>::valu… in main()
43 …static_assert((std::is_same<std::list<int, min_allocator<int>>::pointer, min_pointer<int>>::value)… in main()
44 …static_assert((std::is_same<std::list<int, min_allocator<int>>::const_pointer, min_pointer<const i… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.cons/
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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/
Dsplice_pos_list_iter.pass.cpp193 std::list<int, min_allocator<int>> l1; in main()
194 std::list<int, min_allocator<int>> l2(a2, a2+1); in main()
200 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
204 std::list<int, min_allocator<int>> l1; in main()
205 std::list<int, min_allocator<int>> l2(a2, a2+2); in main()
211 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
217 std::list<int, min_allocator<int>> l1; in main()
218 std::list<int, min_allocator<int>> l2(a2, a2+2); in main()
224 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
230 std::list<int, min_allocator<int>> l1; in main()
[all …]
Dsplice_pos_list.pass.cpp416 std::list<int, min_allocator<int>> l1; in main()
417 std::list<int, min_allocator<int>> l2; in main()
425 std::list<int, min_allocator<int>> l1; in main()
426 std::list<int, min_allocator<int>> l2(a2, a2+1); in main()
432 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
436 std::list<int, min_allocator<int>> l1; in main()
437 std::list<int, min_allocator<int>> l2(a2, a2+2); in main()
443 std::list<int, min_allocator<int>>::const_iterator i = l1.begin(); in main()
449 std::list<int, min_allocator<int>> l1; in main()
450 std::list<int, min_allocator<int>> l2(a2, a2+3); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.modifiers/
Derase_iter_iter.pass.cpp76 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main()
78 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), l1.cbegin()); in main()
85 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main()
87 std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin())); in main()
91 assert((l1 == std::vector<int, min_allocator<int>>(a1+1, a1+3))); in main()
95 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main()
97 … std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 2)); in main()
101 assert((l1 == std::vector<int, min_allocator<int>>(a1+2, a1+3))); in main()
105 std::vector<int, min_allocator<int>> l1(a1, a1+3); in main()
107 … std::vector<int, min_allocator<int>>::iterator i = l1.erase(l1.cbegin(), next(l1.cbegin(), 3)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/
Dinsert_iter_size_value.pass.cpp77 std::list<int, min_allocator<int>> l1(a1, a1+3); in main()
78 std::list<int, min_allocator<int>>::iterator i = l1.insert(next(l1.cbegin()), 5, 4); in main()
80 assert((l1 == std::list<int, min_allocator<int>>(a2, a2+8))); in main()
93 assert((l1 == std::list<int, min_allocator<int>>(a2, a2+8))); in main()
97 std::list<int, min_allocator<int>> c1(100); in main()
98 std::list<int, min_allocator<int>> c2; in main()
99 std::list<int, min_allocator<int>>::iterator i = c1.insert(next(c2.cbegin(), 10), 5, 1); in main()
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()

12345678910>>...33