/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/ |
D | construct.pass.cpp | 20 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 …]
|
D | allocate.pass.cpp | 20 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/ |
D | copy.pass.cpp | 21 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 …]
|
D | copy_assign.pass.cpp | 21 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 …]
|
D | alloc_function.pass.cpp | 23 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 …]
|
D | F.pass.cpp | 21 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()
|
D | F_assign.pass.cpp | 24 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()
|
D | nullptr_t_assign.pass.cpp | 21 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()
|
D | alloc_rfunction.pass.cpp | 21 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/ |
D | ctor.pass.cpp | 23 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/ |
D | swap.pass.cpp | 21 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/ |
D | swap.pass.cpp | 22 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/ |
D | new_replace.pass.cpp | 18 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()
|
D | new_nothrow_replace.pass.cpp | 18 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/ |
D | new_array_replace.pass.cpp | 18 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()
|
D | new_array_nothrow_replace.pass.cpp | 18 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/ |
D | default.pass.cpp | 20 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 …]
|
D | locale_facetptr.pass.cpp | 20 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()
|
D | locale_locale_cat.pass.cpp | 20 int new_called = 0; variable 24 ++new_called; in operator new() 30 --new_called; in operator delete() 77 assert(new_called == 0); in main()
|
D | assign.pass.cpp | 20 int new_called = 0; variable 24 ++new_called; in operator new() 30 --new_called; in operator delete() 79 assert(new_called == 0); in main()
|
D | locale_string_cat.pass.cpp | 20 int new_called = 0; variable 24 ++new_called; in operator new() 30 --new_called; in operator delete() 77 assert(new_called == 0); in main()
|
D | copy.pass.cpp | 20 int new_called = 0; variable 24 ++new_called; in operator new() 30 --new_called; in operator delete() 78 assert(new_called == 0); in main()
|
D | locale_char_pointer_cat.pass.cpp | 20 int new_called = 0; variable 24 ++new_called; in operator new() 30 --new_called; in operator delete() 77 assert(new_called == 0); in main()
|
D | string.pass.cpp | 20 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/ |
D | combine.pass.cpp | 18 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()
|