Home
last modified time | relevance | path

Searched refs:test_alloc_base (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/libcxx/test/support/
H A Dtest_allocator.h54 struct test_alloc_base { struct
107 …assert(a.data_ != test_alloc_base::destructed_value && a.id_ != test_alloc_base::destructed_value … in test_allocator()
120 …assert(a.data_ != test_alloc_base::destructed_value && a.id_ != test_alloc_base::destructed_value … in test_allocator()
122 a.data_ = test_alloc_base::moved_value; in test_allocator()
123 a.id_ = test_alloc_base::moved_value; in test_allocator()
137 assert(id_ != test_alloc_base::destructed_value); in ~test_allocator()
140 data_ = test_alloc_base::destructed_value; in ~test_allocator()
141 id_ = test_alloc_base::destructed_value; in ~test_allocator()
231 data_ = test_alloc_base::destructed_value; in ~non_default_test_allocator()
313 data_ = test_alloc_base::destructed_value; in ~test_allocator()
[all …]
/llvm-project-15.0.7/libcxx/test/std/containers/container.requirements/container.requirements.general/
H A Dallocator_move.pass.cpp54 assert(a.get_id() == test_alloc_base::moved_value); in test()
55 assert(a.get_data() == test_alloc_base::moved_value); in test()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector.bool/
H A Dmove.pass.cpp84 assert(a.get_id() == test_alloc_base::moved_value); in tests()
85 assert(a.get_data() == test_alloc_base::moved_value); in tests()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/set/set.cons/
H A Dmove.pass.cpp38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
69 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multiset/multiset.cons/
H A Dmove.pass.cpp38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
75 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.cons/
H A Dmove.pass.cpp38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
68 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dmove.pass.cpp124 assert(a.get_id() == test_alloc_base::moved_value); in tests()
125 assert(a.get_data() == test_alloc_base::moved_value); in tests()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.cons/
H A Dmove.pass.cpp38 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
74 assert(mo.get_allocator() == A(test_alloc_base::moved_value)); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.cons/
H A Dmove.pass.cpp40 assert(c1.get_allocator() == A(test_alloc_base::moved_value)); in main()