/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() 69 assert(A_constructed == 0); in main() 73 assert(A_constructed == 1); in main() 77 assert(A_constructed == 0); in main() [all …]
|
/external/llvm-project/libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/ |
D | construct.cxx2a.pass.cpp | 27 int A_constructed = 0; variable 32 A() {++A_constructed;} in A() 34 A(const A&) {++A_constructed;} in A() 36 explicit A(int) {++A_constructed;} in A() 37 A(int, int*) {++A_constructed;} in A() 39 ~A() {--A_constructed;} in ~A() 69 assert(A_constructed == 0); in main() 76 assert(A_constructed == 0); in main() 80 assert(A_constructed == 1); in main() 84 assert(A_constructed == 0); in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/memory/storage.iterator/ |
D | raw_storage_iterator.base.pass.cpp | 24 int A_constructed = 0; variable 30 explicit A(int i) : data_(i) {++A_constructed;} in A() 32 A(const A& a) : data_(a.data_) {++A_constructed;} in A() 33 ~A() {--A_constructed; data_ = 0;} in ~A() 46 assert(A_constructed == 0); in main() 53 assert(A_constructed == i+1); in main()
|
D | raw_storage_iterator.pass.cpp | 24 int A_constructed = 0; variable 30 explicit A(int i) : data_(i) {++A_constructed;} in A() 32 A(const A& a) : data_(a.data_) {++A_constructed;} in A() 33 ~A() {--A_constructed; data_ = 0;} in ~A() 47 assert(A_constructed == 0); in main() 53 assert(A_constructed == i+1); in main()
|
/external/libcxx/test/std/utilities/memory/storage.iterator/ |
D | raw_storage_iterator.base.pass.cpp | 25 int A_constructed = 0; variable 31 explicit A(int i) : data_(i) {++A_constructed;} in A() 33 A(const A& a) : data_(a.data_) {++A_constructed;} in A() 34 ~A() {--A_constructed; data_ = 0;} in ~A() 47 assert(A_constructed == 0); in main() 54 assert(A_constructed == i+1); in main()
|
D | raw_storage_iterator.pass.cpp | 25 int A_constructed = 0; variable 31 explicit A(int i) : data_(i) {++A_constructed;} in A() 33 A(const A& a) : data_(a.data_) {++A_constructed;} in A() 34 ~A() {--A_constructed; data_ = 0;} in ~A() 48 assert(A_constructed == 0); in main() 54 assert(A_constructed == i+1); 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() 51 assert(A_constructed); in main() 55 assert(!A_constructed); in main()
|
D | new_nothrow_replace.pass.cpp | 39 bool A_constructed = false; variable 43 A() {A_constructed = true;} in A() 44 ~A() {A_constructed = false;} in ~A() 52 assert(A_constructed); in main() 56 assert(!A_constructed); in main()
|
D | new_align_val_t.pass.cpp | 63 bool A_constructed = false; variable 67 A() {A_constructed = true;} in A() 68 ~A() {A_constructed = false;} in ~A() 98 assert(A_constructed); in main() 100 assert(!A_constructed); in main()
|
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
D | new.pass.cpp | 29 bool A_constructed = false; variable 33 A() {A_constructed = true;} in A() 34 ~A() {A_constructed = false;} in ~A() 58 assert(A_constructed); in main() 60 assert(!A_constructed); in main()
|
D | new_nothrow.pass.cpp | 29 bool A_constructed = false; variable 33 A() {A_constructed = true;} in A() 34 ~A() {A_constructed = false;} in ~A() 56 assert(A_constructed); in main() 58 assert(!A_constructed); in main()
|
D | new_replace.pass.cpp | 37 bool A_constructed = false; variable 41 A() {A_constructed = true;} in A() 42 ~A() {A_constructed = false;} in ~A() 51 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() 56 assert(!A_constructed); in main()
|
D | new_align_val_t.pass.cpp | 50 bool A_constructed = false; variable 54 A() {A_constructed = true;} in A() 55 ~A() {A_constructed = false;} in ~A() 85 assert(A_constructed); in main() 87 assert(!A_constructed); in main()
|
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
D | new_array.pass.cpp | 29 int A_constructed = 0; variable 33 A() {++A_constructed;} in A() 34 ~A() {--A_constructed;} in ~A() 59 assert(A_constructed == 3); in main() 62 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() 57 assert(A_constructed == 0); in main()
|
D | new_array_nothrow.pass.cpp | 29 int A_constructed = 0; variable 33 A() {++A_constructed;} in A() 34 ~A() {--A_constructed;} in ~A() 59 assert(A_constructed == 3); in main() 62 assert(A_constructed == 0); in main()
|
D | new_array_nothrow_replace.pass.cpp | 38 int A_constructed = 0; variable 42 A() {++A_constructed;} in A() 43 ~A() {--A_constructed;} in ~A() 52 assert(A_constructed == 3); in main() 56 assert(A_constructed == 0); in main()
|
D | new_align_val_t.pass.cpp | 50 int A_constructed = 0; variable 54 A() { ++A_constructed;} in A() 55 ~A() { --A_constructed;} in ~A() 85 assert(A_constructed == 2); in main() 87 assert(A_constructed == 0); 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() 60 assert(A_constructed == 3); in main() 63 assert(A_constructed == 0); in main()
|
D | new_array_replace.pass.cpp | 40 int A_constructed = 0; variable 44 A() {++A_constructed;} in A() 45 ~A() {--A_constructed;} in ~A() 53 assert(A_constructed == 3); in main() 57 assert(A_constructed == 0); in main()
|
D | new_array_nothrow_replace.pass.cpp | 39 int A_constructed = 0; variable 43 A() {++A_constructed;} in A() 44 ~A() {--A_constructed;} in ~A() 52 assert(A_constructed == 3); in main() 56 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() 59 assert(A_constructed == 3); in main() 62 assert(A_constructed == 0); in main()
|