Home
last modified time | relevance | path

Searched refs:construct_called (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/libcxx/test/libcxx/containers/sequences/vector/vector.cons/
H A Dconstruct_iter_iter.pass.cpp26 Alloc::construct_called = false; in test_ctor_under_alloc()
28 assert(Alloc::construct_called); in test_ctor_under_alloc()
31 Alloc::construct_called = false; in test_ctor_under_alloc()
33 assert(Alloc::construct_called); in test_ctor_under_alloc()
40 Alloc::construct_called = false; in test_ctor_under_alloc()
42 assert(Alloc::construct_called); in test_ctor_under_alloc()
45 Alloc::construct_called = false; in test_ctor_under_alloc()
47 assert(Alloc::construct_called); in test_ctor_under_alloc()
H A Dconstruct_iter_iter_alloc.pass.cpp28 Alloc::construct_called = false; in test_ctor_under_alloc()
30 assert(Alloc::construct_called); in test_ctor_under_alloc()
33 Alloc::construct_called = false; in test_ctor_under_alloc()
35 assert(Alloc::construct_called); in test_ctor_under_alloc()
43 Alloc::construct_called = false; in test_ctor_under_alloc()
45 assert(Alloc::construct_called); in test_ctor_under_alloc()
48 Alloc::construct_called = false; in test_ctor_under_alloc()
50 assert(Alloc::construct_called); in test_ctor_under_alloc()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dallocate_shared_construct.pass.cpp26 static bool construct_called = false; variable
52 construct_called = true; in construct()
59 construct_called = false; in destroy()
129 assert(construct_called); in main()
135 assert(construct_called); in main()
149 assert(construct_called); in main()
157 assert(construct_called); in main()
/llvm-project-15.0.7/libcxx/test/support/
H A Dmin_allocator.h148 static bool construct_called; member
154 construct_called = true; in construct()
163 template <class T> bool cpp03_allocator<T>::construct_called = false;
171 static bool construct_called; member
180 construct_called = true; in construct()
185 construct_called = true; in construct()
193 template <class T> bool cpp03_overload_allocator<T>::construct_called = false;
H A Dcontrolled_allocators.h85 int construct_called = 0; member
120 ++construct_called; in countConstruct()
137 construct_called = 0; in resetConstructDestroy()
H A Dcontainer_test_types.h281 int construct_called; variable