Home
last modified time | relevance | path

Searched refs:destroy_called (Results 1 – 5 of 5) sorted by relevance

/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.cpp27 static bool destroy_called = false; variable
53 destroy_called = false; in construct()
60 destroy_called = true; in destroy()
131 assert(destroy_called); in main()
138 assert(destroy_called); in main()
152 assert(destroy_called); in main()
160 assert(destroy_called); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
H A Ddestroy.pass.cpp58 assert(!A3<S>::destroy_called); in main()
62 assert(!A3<S>::destroy_called); in main()
66 assert(A3<S>::destroy_called); in main()
/llvm-project-15.0.7/libcxx/test/support/
H A Dallocators.h146 static bool destroy_called; variable
164 destroy_called = true; in destroy()
173 template <class T> bool A3<T>::destroy_called = false;
H A Dcontrolled_allocators.h91 int destroy_called = 0; member
129 ++destroy_called; in countDestroy()
140 destroy_called = 0; in resetConstructDestroy()
H A Dcontainer_test_types.h282 int destroy_called; variable