Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/
Dconstruct.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
31 --new_called; in operator delete()
81 assert(new_called == 0); in main()
85 assert(new_called == 1); in main()
89 assert(new_called == 1); in main()
93 assert(new_called == 1); in main()
97 assert(new_called == 1); in main()
101 assert(new_called == 1); in main()
105 assert(new_called == 1); in main()
[all …]
Dallocate.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
31 --new_called; in operator delete()
48 assert(new_called == 0); in main()
51 assert(new_called == 1); in main()
54 assert(new_called == 0); in main()
58 assert(new_called == 1); in main()
61 assert(new_called == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dcopy.pass.cpp21 int new_called = 0; variable
25 ++new_called; in operator new()
31 --new_called; in operator delete()
66 assert(new_called == 0); in main()
70 assert(new_called == 1); in main()
75 assert(new_called == 2); in main()
80 assert(new_called == 0); in main()
83 assert(new_called == 0); in main()
87 assert(new_called == 0); in main()
91 assert(new_called == 0); in main()
[all …]
Dcopy_assign.pass.cpp21 int new_called = 0; variable
25 ++new_called; in operator new()
31 --new_called; in operator delete()
66 assert(new_called == 0); in main()
70 assert(new_called == 1); in main()
76 assert(new_called == 2); in main()
81 assert(new_called == 0); in main()
84 assert(new_called == 0); in main()
89 assert(new_called == 0); in main()
93 assert(new_called == 0); in main()
[all …]
Dalloc_function.pass.cpp23 int new_called = 0; variable
27 ++new_called; in operator new()
33 --new_called; in operator delete()
68 assert(new_called == 0); in main()
72 assert(new_called == 1); in main()
77 assert(new_called == 2); in main()
82 assert(new_called == 0); in main()
85 assert(new_called == 0); in main()
89 assert(new_called == 0); in main()
93 assert(new_called == 0); in main()
[all …]
DF.pass.cpp21 int new_called = 0; variable
25 ++new_called; in operator new()
31 --new_called; in operator delete()
68 assert(new_called == 0); in main()
72 assert(new_called == 1); in main()
77 assert(new_called == 0); in main()
80 assert(new_called == 0); in main()
84 assert(new_called == 0); in main()
88 assert(new_called == 0); in main()
95 assert(new_called == 0); in main()
DF_assign.pass.cpp24 int new_called = 0; variable
28 ++new_called; in operator new()
34 --new_called; in operator delete()
71 assert(new_called == 0); in main()
76 assert(new_called == 1); in main()
81 assert(new_called == 0); in main()
85 assert(new_called == 0); in main()
89 assert(new_called == 0); in main()
94 assert(new_called == 0); in main()
102 assert(new_called == 0); in main()
Dnullptr_t_assign.pass.cpp21 int new_called = 0; variable
25 ++new_called; in operator new()
31 --new_called; in operator delete()
66 assert(new_called == 0); in main()
70 assert(new_called == 1); in main()
74 assert(new_called == 0); in main()
79 assert(new_called == 0); in main()
83 assert(new_called == 0); in main()
Dalloc_rfunction.pass.cpp21 int new_called = 0; variable
25 ++new_called; in operator new()
31 --new_called; in operator delete()
65 assert(new_called == 0); in main()
69 assert(new_called == 1); in main()
74 assert(new_called == 1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
Dctor.pass.cpp23 int new_called = 0; variable
27 ++new_called; in operator new()
33 --new_called; in operator delete()
47 assert(new_called != 0); in main()
49 assert(new_called == 0); in main()
54 assert(new_called != 0); in main()
56 assert(new_called == 0); in main()
61 assert(new_called != 0); in main()
63 assert(new_called == 0); in main()
68 assert(new_called != 0); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/
Dswap.pass.cpp21 int new_called = 0; variable
25 ++new_called; in operator new()
31 --new_called; in operator delete()
73 assert(new_called == 0); in main()
78 assert(new_called == 2); in main()
83 assert(new_called == 2); in main()
88 assert(new_called == 0); in main()
93 assert(new_called == 1); in main()
98 assert(new_called == 1); in main()
103 assert(new_called == 0); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/
Dswap.pass.cpp22 int new_called = 0; variable
26 ++new_called; in operator new()
32 --new_called; in operator delete()
74 assert(new_called == 0); in main()
79 assert(new_called == 2); in main()
84 assert(new_called == 2); in main()
89 assert(new_called == 0); in main()
94 assert(new_called == 1); in main()
99 assert(new_called == 1); in main()
104 assert(new_called == 0); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.single/
Dnew_replace.pass.cpp18 int new_called = 0; variable
22 ++new_called; in operator new()
28 --new_called; in operator delete()
45 assert(new_called); in main()
48 assert(!new_called); in main()
Dnew_nothrow_replace.pass.cpp18 int new_called = 0; variable
22 ++new_called; in operator new()
28 --new_called; in operator delete()
45 assert(new_called); in main()
48 assert(!new_called); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_array_replace.pass.cpp18 volatile int new_called = 0; variable
22 ++new_called; in operator new()
28 --new_called; in operator delete()
45 assert(new_called == 1); in main()
48 assert(new_called == 0); in main()
Dnew_array_nothrow_replace.pass.cpp18 int new_called = 0; variable
22 ++new_called; in operator new()
28 --new_called; in operator delete()
45 assert(new_called); in main()
48 assert(!new_called); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.cons/
Ddefault.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
30 --new_called; in operator delete()
74 assert(new_called == 0); in main()
76 assert(new_called == 0); in main()
78 assert(new_called == 0); in main()
80 ok = new_called; in main()
82 assert(new_called == ok); in main()
84 assert(new_called == ok); in main()
86 assert(new_called == ok); in main()
[all …]
Dlocale_facetptr.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
30 --new_called; in operator delete()
91 assert(new_called == 0); in main()
101 assert(new_called == 0); in main()
Dlocale_locale_cat.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
30 --new_called; in operator delete()
77 assert(new_called == 0); in main()
Dassign.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
30 --new_called; in operator delete()
79 assert(new_called == 0); in main()
Dlocale_string_cat.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
30 --new_called; in operator delete()
77 assert(new_called == 0); in main()
Dcopy.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
30 --new_called; in operator delete()
78 assert(new_called == 0); in main()
Dlocale_char_pointer_cat.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
30 --new_called; in operator delete()
77 assert(new_called == 0); in main()
Dstring.pass.cpp20 int new_called = 0; variable
24 ++new_called; in operator new()
30 --new_called; in operator delete()
82 assert(new_called == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.members/
Dcombine.pass.cpp18 int new_called = 0; variable
22 ++new_called; in operator new()
28 --new_called; in operator delete()
90 assert(new_called == 0); in main()
105 assert(new_called == 0); in main()

12