/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
D | construct.pass.cpp | 21 int A_constructed = 0; variable 26 A() {++A_constructed;} in A() 28 A(const A&) {++A_constructed;} in A() 30 explicit A(int) {++A_constructed;} in A() 31 A(int, int*) {++A_constructed;} in A() 33 ~A() {--A_constructed;} in ~A() 62 assert(A_constructed == 0); in main() 68 assert(A_constructed == 0); in main() 72 assert(A_constructed == 1); in main() 76 assert(A_constructed == 0); in main() [all …]
|
D | allocate.pass.cpp | 20 int A_constructed = 0; variable 25 A() {++A_constructed;} in A() 26 A(const A&) {++A_constructed;} in A() 27 ~A() {--A_constructed;} in ~A() 34 assert(A_constructed == 0); in main() 39 assert(A_constructed == 0); in main() 42 assert(A_constructed == 0); in main() 48 assert(A_constructed == 0); in main() 51 assert(A_constructed == 0); in main()
|
/external/libcxx/test/std/utilities/memory/storage.iterator/ |
D | raw_storage_iterator.base.pass.cpp | 18 int A_constructed = 0; variable 24 explicit A(int i) : data_(i) {++A_constructed;} in A() 26 A(const A& a) : data_(a.data_) {++A_constructed;} in A() 27 ~A() {--A_constructed; data_ = 0;} in ~A() 39 assert(A_constructed == 0); in main() 46 assert(A_constructed == i+1); in main()
|
D | raw_storage_iterator.pass.cpp | 19 int A_constructed = 0; variable 25 explicit A(int i) : data_(i) {++A_constructed;} in A() 27 A(const A& a) : data_(a.data_) {++A_constructed;} in A() 28 ~A() {--A_constructed; data_ = 0;} in ~A() 41 assert(A_constructed == 0); in main() 47 assert(A_constructed == i+1); in main()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
D | new_array.pass.cpp | 30 int A_constructed = 0; variable 34 A() {++A_constructed;} in A() 35 ~A() {--A_constructed;} in ~A() 59 assert(A_constructed == 3); in main() 61 assert(A_constructed == 0); in main()
|
D | new_array_nothrow.pass.cpp | 30 int A_constructed = 0; variable 34 A() {++A_constructed;} in A() 35 ~A() {--A_constructed;} in ~A() 57 assert(A_constructed == 3); in main() 59 assert(A_constructed == 0); in main()
|
D | new_array_replace.pass.cpp | 39 int A_constructed = 0; variable 43 A() {++A_constructed;} in A() 44 ~A() {--A_constructed;} in ~A() 53 assert(A_constructed == 3); in main() 56 assert(A_constructed == 0); in main()
|
D | new_array_nothrow_replace.pass.cpp | 38 volatile int A_constructed = 0; variable 42 A() {++A_constructed;} in A() 43 ~A() {--A_constructed;} in ~A() 52 assert(A_constructed == 3); in main() 55 assert(A_constructed == 0); in main()
|
D | new_align_val_t.pass.cpp | 38 int A_constructed = 0; variable 42 A() { ++A_constructed;} in A() 43 ~A() { --A_constructed;} in ~A() 73 assert(A_constructed == 2); in main() 75 assert(A_constructed == 0); in main()
|
D | new_align_val_t_nothrow.pass.cpp | 38 int A_constructed = 0; variable 42 A() { ++A_constructed; } in A() 43 ~A() { --A_constructed; } in ~A() 75 assert(A_constructed == 3); in main() 77 assert(!A_constructed); in main()
|
D | new_align_val_t_replace.pass.cpp | 28 int A_constructed = 0; variable 31 A() { ++A_constructed;} in A() 32 ~A() { --A_constructed;} in ~A() 71 assert(A_constructed == 3); in main() 74 assert(!A_constructed); in main()
|
D | new_align_val_t_nothrow_replace.pass.cpp | 27 int A_constructed = 0; variable 31 A() {++A_constructed;} in A() 32 ~A() {--A_constructed;} in ~A() 68 assert(A_constructed == 2); in main() 71 assert(A_constructed == 0); in main()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
D | new.pass.cpp | 30 bool A_constructed = false; variable 34 A() {A_constructed = true;} in A() 35 ~A() {A_constructed = false;} in ~A() 59 assert(A_constructed); in main() 61 assert(!A_constructed); in main()
|
D | new_nothrow.pass.cpp | 30 bool A_constructed = false; variable 34 A() {A_constructed = true;} in A() 35 ~A() {A_constructed = false;} in ~A() 57 assert(A_constructed); in main() 59 assert(!A_constructed); in main()
|
D | new_replace.pass.cpp | 38 bool A_constructed = false; variable 42 A() {A_constructed = true;} in A() 43 ~A() {A_constructed = false;} in ~A() 52 assert(A_constructed); in main() 55 assert(!A_constructed); in main()
|
D | new_nothrow_replace.pass.cpp | 38 bool A_constructed = false; variable 42 A() {A_constructed = true;} in A() 43 ~A() {A_constructed = false;} in ~A() 52 assert(A_constructed); in main() 55 assert(!A_constructed); in main()
|
D | new_align_val_t.pass.cpp | 38 bool A_constructed = false; variable 42 A() {A_constructed = true;} in A() 43 ~A() {A_constructed = false;} in ~A() 73 assert(A_constructed); in main() 75 assert(!A_constructed); in main()
|
D | new_align_val_t_nothrow.pass.cpp | 38 bool A_constructed = false; variable 42 A() {A_constructed = true;} in A() 43 ~A() {A_constructed = false;} in ~A() 75 assert(A_constructed); in main() 77 assert(!A_constructed); in main()
|
D | new_align_val_t_replace.pass.cpp | 28 bool A_constructed = false; variable 31 A() {A_constructed = true;} in A() 32 ~A() {A_constructed = false;} in ~A() 71 assert(A_constructed); in main() 74 assert(!A_constructed); in main()
|
D | new_align_val_t_nothrow_replace.pass.cpp | 27 bool A_constructed = false; variable 31 A() {A_constructed = true;} in A() 32 ~A() {A_constructed = false;} in ~A() 69 assert(A_constructed); in main() 72 assert(!A_constructed); in main()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/ |
D | new.pass.cpp | 15 int A_constructed = 0; variable 19 A() {++A_constructed;} in A() 20 ~A() {--A_constructed;} in ~A() 29 assert(A_constructed == 1); in main()
|
D | new_array.pass.cpp | 15 int A_constructed = 0; variable 19 A() {++A_constructed;} in A() 20 ~A() {--A_constructed;} in ~A() 33 assert(A_constructed == Size); in main()
|