Searched refs:new_called (Results 1 – 10 of 10) sorted by relevance
45 int new_called = 0; variable51 assert(new_called == 0); // We already allocated in operator new[]()54 ++new_called; in operator new[]()60 assert(new_called == 1); in operator delete[]()61 --new_called; in operator delete[]()72 assert(new_called); in main()75 assert(!new_called); in main()81 assert(!new_called); in main()83 assert(!new_called); in main()
43 int new_called = 0; variable48 assert(!new_called); in operator new[]()51 ++new_called; in operator new[]()59 assert(new_called); in operator delete[]()60 --new_called; in operator delete[]()69 assert(new_called); in main()72 assert(!new_called); in main()78 assert(!new_called); in main()80 assert(!new_called); in main()
23 volatile int new_called = 0; variable27 ++new_called; in operator new()35 --new_called; in operator delete()54 assert(new_called == 1); in main()57 assert(new_called == 0); in main()
22 int new_called = 0; variable26 ++new_called; in operator new()34 --new_called; in operator delete()53 assert(new_called); in main()56 assert(!new_called); in main()
45 int new_called = 0; variable51 assert(new_called == 0); // We already allocated in operator new()54 ++new_called; in operator new()60 assert(new_called == 1); in operator delete()61 --new_called; in operator delete()72 assert(new_called); in main()75 assert(!new_called); in main()81 assert(!new_called); in main()83 assert(!new_called); in main()
43 int new_called = 0; variable48 assert(!new_called); in operator new()51 ++new_called; in operator new()59 assert(new_called); in operator delete()60 --new_called; in operator delete()70 assert(new_called); in main()73 assert(!new_called); in main()79 assert(!new_called); in main()81 assert(!new_called); in main()
60 int new_called; member in MemCounter80 ++new_called; in newCalled()131 new_called = 0; in reset()154 return disable_checking || n == new_called; in checkNewCalledEq()159 return disable_checking || n != new_called; in checkNewCalledNotEq()164 return disable_checking || new_called > n; in checkNewCalledGreaterThan()297 m_new_count_on_init(globalMemCounter.new_called), in RequireAllocationGuard()
20 int new_called = 0; variable