Home
last modified time | relevance | path

Searched refs:delete_called (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dsized_delete_calls_unsized_delete.pass.cpp23 int delete_called = 0; variable
28 ++delete_called; in operator delete()
43 assert(0 == delete_called); in main()
47 assert(1 == delete_called); in main()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dsized_delete_array_calls_unsized_delete_array.pass.cpp23 int delete_called = 0; variable
28 ++delete_called; in operator delete[]()
54 assert(0 == delete_called); in main()
58 assert(1 == delete_called); in main()
/external/libcxx/test/support/
Dcount_new.hpp61 int delete_called; member in MemCounter
89 ++delete_called; in deleteCalled()
132 delete_called = 0; in reset()
169 return disable_checking || n == delete_called; in checkDeleteCalledEq()
174 return disable_checking || n != delete_called; in checkDeleteCalledNotEq()