Searched refs:new_called (Results 1 – 10 of 10) sorted by relevance
46 int new_called = 0; variable52 assert(new_called == 0); // We already allocated in operator new[]()55 ++new_called; in operator new[]()63 assert(new_called == 1); in operator delete[]()64 --new_called; in operator delete[]()76 assert(new_called); in main()79 assert(!new_called); in main()85 assert(!new_called); in main()87 assert(!new_called); in main()
68 int new_called = 0; variable73 assert(!new_called); in operator new[]()76 ++new_called; in operator new[]()84 assert(new_called); in operator delete[]()85 --new_called; in operator delete[]()94 assert(new_called); in main()97 assert(!new_called); in main()103 assert(!new_called); in main()105 assert(!new_called); in main()
24 int new_called = 0; variable28 ++new_called; in operator new()36 --new_called; in operator delete()54 assert(new_called == 1); in main()58 assert(new_called == 0); in main()
23 int new_called = 0; variable27 ++new_called; in operator new()35 --new_called; in operator delete()53 assert(new_called); in main()57 assert(!new_called); in main()
46 int new_called = 0; variable52 assert(new_called == 0); // We already allocated in operator new()55 ++new_called; in operator new()63 assert(new_called == 1); in operator delete()64 --new_called; in operator delete()76 assert(new_called); in main()79 assert(!new_called); in main()85 assert(!new_called); in main()87 assert(!new_called); in main()
69 int new_called = 0; variable74 assert(!new_called); in operator new()77 ++new_called; in operator new()85 assert(new_called); in operator delete()86 --new_called; in operator delete()96 assert(new_called); in main()99 assert(!new_called); in main()105 assert(!new_called); in main()107 assert(!new_called); in main()
22 int new_called = 0; variable26 ++new_called; in operator new()34 --new_called; in operator delete()52 assert(new_called); in main()56 assert(!new_called); in main()
60 int new_called; member in MemCounter88 ++new_called; in newCalled()162 new_called = 0; in reset()191 return disable_checking || n == new_called; in checkNewCalledEq()196 return disable_checking || n != new_called; in checkNewCalledNotEq()201 return disable_checking || new_called > n; in checkNewCalledGreaterThan()461 m_new_count_on_init(globalMemCounter.new_called), in RequireAllocationGuard()
20 int new_called = 0; variable