Home
last modified time | relevance | path

Searched refs:outstanding_new (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
H A DF.pass.cpp28 std::atomic<unsigned> outstanding_new(0); variable
37 ++outstanding_new; in operator new()
46 --outstanding_new; in operator delete()
138 unsigned old_outstanding = outstanding_new; in test_throwing_new_during_thread_creation()
148 ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS(old_outstanding == outstanding_new); // (2.3) in test_throwing_new_during_thread_creation()
/llvm-project-15.0.7/libcxx/test/support/
H A Dcount_new.h58 int outstanding_new; variable
88 ++outstanding_new; in newCalled()
101 --outstanding_new; in deleteCalled()
160 outstanding_new = 0; in reset()
180 return disable_checking || n == outstanding_new; in checkOutstandingNewEq()
185 return disable_checking || n != outstanding_new; in checkOutstandingNewNotEq()
464 m_outstanding_new_on_init(globalMemCounter.outstanding_new), in m_req_alloc()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dmake_shared.pass.cpp94 int nc = globalMemCounter.outstanding_new; in main()
115 nc = globalMemCounter.outstanding_new; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.modifiers/
H A Dinsert_iter_size_value.pass.cpp33 int save_count = globalMemCounter.outstanding_new; in test()
H A Dinsert_iter_value.pass.cpp35 int save_count = globalMemCounter.outstanding_new; in test()
H A Dinsert_iter_iter_iter.pass.cpp57 int save_count = globalMemCounter.outstanding_new; in test()
/llvm-project-15.0.7/libcxx/test/std/localization/locales/locale/locale.cons/
H A Ddefault.pass.cpp78 ok = globalMemCounter.outstanding_new; in main()