Home
last modified time | relevance | path

Searched refs:new_called (Results 1 – 10 of 10) sorted by relevance

/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_align_val_t_replace.pass.cpp45 int new_called = 0; variable
51 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()
Dnew_align_val_t_nothrow_replace.pass.cpp43 int new_called = 0; variable
48 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()
Dnew_array_replace.pass.cpp23 volatile int new_called = 0; variable
27 ++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()
Dnew_array_nothrow_replace.pass.cpp22 int new_called = 0; variable
26 ++new_called; in operator new()
34 --new_called; in operator delete()
53 assert(new_called); in main()
56 assert(!new_called); in main()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dnew_align_val_t_replace.pass.cpp45 int new_called = 0; variable
51 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()
Dnew_align_val_t_nothrow_replace.pass.cpp43 int new_called = 0; variable
48 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()
Dnew_replace.pass.cpp22 int new_called = 0; variable
26 ++new_called; in operator new()
34 --new_called; in operator delete()
53 assert(new_called); in main()
56 assert(!new_called); in main()
Dnew_nothrow_replace.pass.cpp22 int new_called = 0; variable
26 ++new_called; in operator new()
34 --new_called; in operator delete()
53 assert(new_called); in main()
56 assert(!new_called); in main()
/external/libcxx/test/support/
Dcount_new.hpp60 int new_called; member in MemCounter
80 ++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()
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dmax_size.pass.cpp20 int new_called = 0; variable