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.cpp46 int new_called = 0; variable
52 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()
Dnew_align_val_t_nothrow_replace.pass.cpp68 int new_called = 0; variable
73 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()
Dnew_array_replace.pass.cpp24 int new_called = 0; variable
28 ++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()
Dnew_array_nothrow_replace.pass.cpp23 int new_called = 0; variable
27 ++new_called; in operator new()
35 --new_called; in operator delete()
53 assert(new_called); in main()
57 assert(!new_called); in main()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dnew_align_val_t_replace.pass.cpp46 int new_called = 0; variable
52 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()
Dnew_align_val_t_nothrow_replace.pass.cpp69 int new_called = 0; variable
74 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()
Dnew_replace.pass.cpp22 int new_called = 0; variable
26 ++new_called; in operator new()
34 --new_called; in operator delete()
52 assert(new_called); in main()
56 assert(!new_called); in main()
Dnew_nothrow_replace.pass.cpp23 int new_called = 0; variable
27 ++new_called; in operator new()
35 --new_called; in operator delete()
53 assert(new_called); in main()
57 assert(!new_called); in main()
/external/libcxx/test/support/
Dcount_new.hpp60 int new_called; member in MemCounter
88 ++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()
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dmax_size.pass.cpp20 int new_called = 0; variable