Home
last modified time | relevance | path

Searched refs:get_allocator (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
H A Dallocator_propagation.pass.cpp58 assert(r.get_allocator().get_self_soccc() == 1); in test()
69 assert(r.get_allocator().get_self_soccc() == 0); in test()
80 assert(r.get_allocator().get_self_soccc() == 0); in test()
91 assert(r.get_allocator().get_self_soccc() == 0); in test()
102 assert(r.get_allocator().get_self_soccc() == 1); in test()
113 assert(r.get_allocator().get_self_soccc() == 1); in test()
124 assert(r.get_allocator().get_self_soccc() == 0); in test()
135 assert(r.get_allocator().get_self_soccc() == 0); in test()
146 assert(r.get_allocator().get_self_soccc() == 1); in test()
157 assert(r.get_allocator().get_self_soccc() == 1); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/
H A Dnon_member_swap.pass.cpp118 assert(c1.get_allocator() == A(2)); in main()
127 assert(c2.get_allocator() == A(1)); in main()
139 assert(c1.get_allocator() == A(2)); in main()
148 assert(c2.get_allocator() == A(1)); in main()
197 assert(c1.get_allocator() == A()); in main()
206 assert(c2.get_allocator() == A()); in main()
218 assert(c1.get_allocator() == A()); in main()
227 assert(c2.get_allocator() == A()); in main()
242 assert(c1.get_allocator() == A()); in main()
245 assert(c2.get_allocator() == A()); in main()
[all …]
H A Dmember_swap.pass.cpp117 assert(c1.get_allocator() == A(2)); in main()
126 assert(c2.get_allocator() == A(1)); in main()
138 assert(c1.get_allocator() == A(2)); in main()
147 assert(c2.get_allocator() == A(1)); in main()
196 assert(c1.get_allocator() == A()); in main()
205 assert(c2.get_allocator() == A()); in main()
217 assert(c1.get_allocator() == A()); in main()
226 assert(c2.get_allocator() == A()); in main()
241 assert(c1.get_allocator() == A()); in main()
244 assert(c2.get_allocator() == A()); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector.bool/
H A Dmove.pass.cpp35 assert(l2.get_allocator() == lo.get_allocator()); in tests()
48 assert(l2.get_allocator() == lo.get_allocator()); in tests()
61 assert(l2.get_allocator() == lo.get_allocator()); in tests()
70 const AllocT& a = v.get_allocator(); in tests()
83 const AllocT& a = v.get_allocator(); in tests()
88 const AllocT& a = v2.get_allocator(); in tests()
H A Dassign_move.pass.cpp35 assert(l2.get_allocator() == lo.get_allocator()); in tests()
49 assert(l2.get_allocator() == test_allocator<bool>(6)); in tests()
63 assert(l2.get_allocator() == lo.get_allocator()); in tests()
77 assert(l2.get_allocator() == lo.get_allocator()); in tests()
H A Dcopy.pass.cpp42 assert(v2.get_allocator() == v.get_allocator()); in tests()
49 assert(v2.get_allocator() == other_allocator<bool>(-2)); in tests()
60 assert(v2.get_allocator() == v.get_allocator()); in tests()
H A Dswap.pass.cpp40 assert(v1.get_allocator().get_id() == 1); in tests()
41 assert(v2.get_allocator().get_id() == 2); in tests()
52 assert(v1.get_allocator() == A(2)); in tests()
53 assert(v2.get_allocator() == A(1)); in tests()
84 assert(v1.get_allocator() == A()); in tests()
85 assert(v2.get_allocator() == A()); in tests()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dcopy.pass.cpp45 assert(v2.get_allocator() == v.get_allocator()); in tests()
56 assert(v2.get_allocator() == v.get_allocator()); in tests()
68 assert(v2.get_allocator() == other_allocator<int>(-2)); in tests()
83 assert(v2.get_allocator() == v.get_allocator()); in tests()
H A Dmove.pass.cpp42 assert(l2.get_allocator() == lo.get_allocator()); in tests()
60 assert(l2.get_allocator() == lo.get_allocator()); in tests()
89 assert(l2.get_allocator() == lo.get_allocator()); in tests()
111 const test_allocator<int>& a = v.get_allocator(); in tests()
123 const test_allocator<int>& a = v.get_allocator(); in tests()
128 const test_allocator<int>& a = v2.get_allocator(); in tests()
H A Dassign_copy.pass.cpp26 assert(l2.get_allocator() == test_allocator<int>(3)); in tests()
33 assert(l2.get_allocator() == other_allocator<int>(5)); in tests()
46 assert(l2.get_allocator() == Alloc(3, nullptr)); in tests()
59 assert(l2.get_allocator() == Alloc(5, nullptr)); in tests()
72 assert(l2.get_allocator() == Alloc(5, nullptr)); in tests()
79 assert(l2.get_allocator() == min_allocator<int>()); in tests()
H A Dassign_move.pass.cpp38 assert(l2.get_allocator() == lo.get_allocator()); in tests()
57 assert(l2.get_allocator() == test_allocator<MoveOnly>(6)); in tests()
76 assert(l2.get_allocator() == lo.get_allocator()); in tests()
95 assert(l2.get_allocator() == lo.get_allocator()); in tests()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/
H A Dmove.pass.cpp35 A old_a = c1.get_allocator(); in main()
39 assert(c3.get_allocator() == old_a); in main()
40 assert(c1.get_allocator() == A(test_alloc_base::moved_value)); in main()
55 assert(c3.get_allocator() == c1.get_allocator()); in main()
70 assert(c3.get_allocator() == c1.get_allocator()); in main()
H A Dcopy.pass.cpp39 assert(v2.get_allocator() == v.get_allocator()); in main()
46 assert(v2.get_allocator() == other_allocator<int>(-2)); in main()
57 assert(v2.get_allocator() == v.get_allocator()); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/
H A Dassign_copy.pass.cpp33 assert(c1.get_allocator() == A(10)); in main()
45 assert(c1.get_allocator() == A(11)); in main()
57 assert(c1.get_allocator() == A(10)); in main()
69 assert(c1.get_allocator() == A(11)); in main()
82 assert(c1.get_allocator() == A(10)); in main()
94 assert(c1.get_allocator() == A(10)); in main()
106 assert(c1.get_allocator() == A(10)); in main()
118 assert(c1.get_allocator() == A(10)); in main()
131 assert(c1.get_allocator() == A()); in main()
143 assert(c1.get_allocator() == A()); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.cons/
H A Dcopy.pass.cpp32 assert(l2.get_allocator() == l.get_allocator()); in main()
39 assert(l2.get_allocator() == other_allocator<int>(-2)); in main()
50 assert(l2.get_allocator() == l.get_allocator()); in main()
H A Dassign_move.pass.cpp37 assert(l2.get_allocator() == lo.get_allocator()); in main()
52 assert(l2.get_allocator() == test_allocator<MoveOnly>(6)); in main()
67 assert(l2.get_allocator() == lo.get_allocator()); in main()
83 assert(l2.get_allocator() == lo.get_allocator()); in main()
H A Dmove.pass.cpp36 assert(l2.get_allocator() == lo.get_allocator()); in main()
51 assert(l2.get_allocator() == lo.get_allocator()); in main()
66 assert(l2.get_allocator() == lo.get_allocator()); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.cons/
H A Dmove.pass.cpp33 assert(m.get_allocator() == A(7)); in main()
38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
60 assert(m.get_allocator() == A(7)); in main()
68 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
78 assert(m.get_allocator() == A()); in main()
83 assert(mo.get_allocator() == A()); in main()
105 assert(m.get_allocator() == A()); in main()
113 assert(mo.get_allocator() == A()); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.cons/
H A Dcopy.pass.cpp44 assert(m.get_allocator() == A(7)); in main()
47 assert(mo.get_allocator() == A(7)); in main()
70 assert(m.get_allocator() == A(-2)); in main()
73 assert(mo.get_allocator() == A(7)); in main()
95 assert(m.get_allocator() == A()); in main()
98 assert(mo.get_allocator() == A()); in main()
H A Dcopy_alloc.pass.cpp44 assert(m.get_allocator() == A(3)); in main()
47 assert(mo.get_allocator() == A(7)); in main()
70 assert(m.get_allocator() == A()); in main()
73 assert(mo.get_allocator() == A()); in main()
95 assert(m.get_allocator() == A{}); in main()
98 assert(mo.get_allocator() == A{}); in main()
H A Dmove.pass.cpp33 assert(m.get_allocator() == A(7)); in main()
38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
60 assert(m.get_allocator() == A(7)); in main()
74 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
84 assert(m.get_allocator() == A()); in main()
89 assert(mo.get_allocator() == A()); in main()
111 assert(m.get_allocator() == A()); in main()
125 assert(mo.get_allocator() == A()); in main()
H A Dcopy_assign.pass.cpp45 assert(m.get_allocator() == A(7)); in main()
48 assert(mo.get_allocator() == A(2)); in main()
91 assert(m.get_allocator() == A(2)); in main()
94 assert(mo.get_allocator() == A(2)); in main()
118 assert(m.get_allocator() == A()); in main()
121 assert(mo.get_allocator() == A()); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/container.node/
H A Dnode_handle.pass.cpp100 assert(nt2.get_allocator() == c.get_allocator()); in test_node_handle_operations()
104 assert(nt1.get_allocator() == c.get_allocator()); in test_node_handle_operations()
114 assert(nt2.get_allocator() == c.get_allocator()); in test_node_handle_operations_multi()
118 assert(nt1.get_allocator() == c.get_allocator()); in test_node_handle_operations_multi()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/set/set.cons/
H A Dmove.pass.cpp33 assert(m.get_allocator() == A(7)); in main()
38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
61 assert(m.get_allocator() == A(7)); in main()
69 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
92 assert(m.get_allocator() == A()); in main()
100 assert(mo.get_allocator() == A()); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/
H A Dallocator.pass.cpp39 assert(c.get_allocator() == test_allocator<NotConstructible>(10)); in main()
57 assert(c.get_allocator() == min_allocator<NotConstructible>()); in main()
77 assert(c.get_allocator() == a); in main()
78 assert(!(c.get_allocator() == A())); in main()
99 assert(c.get_allocator() == a); in main()
100 assert(!(c.get_allocator() == A())); in main()

12345678910>>...15