/external/llvm-project/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/ |
D | fullexpr-dtor.pass.cpp | 21 int dtor_called = 0; variable 26 dtor_called = 0; in reset() 30 ~Noisy() { --alive; ++dtor_called; } in ~Noisy() 64 assert(dtor_called == 0); in a() 68 assert(dtor_called == 1); in a() 76 assert(dtor_called == 1); in b() 80 assert(dtor_called == 1); in b() 91 assert(dtor_called == 0); in c() 95 assert(dtor_called == 1); in c() 103 assert(dtor_called == 1); in d() [all …]
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/ |
D | fullexpr-dtor.pass.cpp | 22 int dtor_called = 0; variable 27 dtor_called = 0; in reset() 31 ~Noisy() { --alive; ++dtor_called; } in ~Noisy() 65 assert(dtor_called == 0); in a() 69 assert(dtor_called == 1); in a() 77 assert(dtor_called == 1); in b() 81 assert(dtor_called == 1); in b() 92 assert(dtor_called == 0); in c() 96 assert(dtor_called == 1); in c() 104 assert(dtor_called == 1); in d() [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.mod/ |
D | reset.pass.cpp | 24 static bool dtor_called; member 25 ~X() {dtor_called = true;} in ~X() 28 bool X::dtor_called = false; member in X 46 assert(X::dtor_called == false); in main() 48 assert(X::dtor_called == false); in main() 53 X::dtor_called = false; in main() 55 assert(X::dtor_called == true); in main() 57 X::dtor_called = false; in main()
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.mod/ |
D | reset.pass.cpp | 25 static bool dtor_called; member 26 ~X() {dtor_called = true;} in ~X() 29 bool X::dtor_called = false; member in X 47 assert(X::dtor_called == false); in main() 49 assert(X::dtor_called == false); in main() 54 X::dtor_called = false; in main() 56 assert(X::dtor_called == true); in main() 58 X::dtor_called = false; in main()
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.swap/ |
D | swap.pass.cpp | 30 static unsigned dtor_called; member in X 34 ~X() {++dtor_called;} in ~X() 39 unsigned X::dtor_called = 0; member in X 45 static unsigned dtor_called; member in Y 48 ~Y() {++dtor_called;} in ~Y() 54 unsigned Y::dtor_called = 0; member in Y 127 assert(X::dtor_called == 0); in main() 136 X::dtor_called = 0; in main() 138 assert(X::dtor_called == 1); in main() 150 X::dtor_called = 0; in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.swap/ |
D | swap.pass.cpp | 29 static unsigned dtor_called; member in X 33 ~X() {++dtor_called;} in ~X() 38 unsigned X::dtor_called = 0; member in X 44 static unsigned dtor_called; member in Y 47 ~Y() {++dtor_called;} in ~Y() 53 unsigned Y::dtor_called = 0; member in Y 126 assert(X::dtor_called == 0); in main() 135 X::dtor_called = 0; in main() 137 assert(X::dtor_called == 1); in main() 149 X::dtor_called = 0; in main() [all …]
|
/external/libcxx/test/std/utilities/optional/optional.specalg/ |
D | swap.pass.cpp | 29 static unsigned dtor_called; member in X 33 ~X() {++dtor_called;} in ~X() 38 unsigned X::dtor_called = 0; member in X 44 static unsigned dtor_called; member in Y 47 ~Y() {++dtor_called;} in ~Y() 53 unsigned Y::dtor_called = 0; member in Y 173 assert(X::dtor_called == 0); in main() 182 X::dtor_called = 0; in main() 184 assert(X::dtor_called == 1); in main() 196 X::dtor_called = 0; in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.specalg/ |
D | swap.pass.cpp | 28 static unsigned dtor_called; member in X 32 ~X() {++dtor_called;} in ~X() 37 unsigned X::dtor_called = 0; member in X 43 static unsigned dtor_called; member in Y 46 ~Y() {++dtor_called;} in ~Y() 52 unsigned Y::dtor_called = 0; member in Y 172 assert(X::dtor_called == 0); in main() 181 X::dtor_called = 0; in main() 183 assert(X::dtor_called == 1); in main() 195 X::dtor_called = 0; in main() [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
D | emplace_initializer_list.pass.cpp | 30 static bool dtor_called; member in X 34 ~X() {dtor_called = true;} in ~X() 40 bool X::dtor_called = false; member in X 60 static bool dtor_called; member in Z 65 ~Z() {dtor_called = true;} in ~Z() 71 bool Z::dtor_called = false; member in Z 78 assert(X::dtor_called == false); in main() 81 assert(X::dtor_called == true); in main() 108 assert(Z::dtor_called == false); in main() 117 assert(Z::dtor_called == true); in main()
|
D | assign_value.pass.cpp | 26 static int dtor_called; member 32 ~ThrowAssign() { ++dtor_called; } in ~ThrowAssign() 34 int ThrowAssign::dtor_called = 0; member in ThrowAssign 226 assert(T::dtor_called == 0); in test_throws() 228 T::dtor_called = 0; in test_throws() 235 assert(T::dtor_called == 0); in test_throws() 237 assert(T::dtor_called == 1); in test_throws()
|
D | emplace.pass.cpp | 41 static bool dtor_called; member in Y 44 ~Y() {dtor_called = true;} in ~Y() 47 bool Y::dtor_called = false; member in Y 249 Y::dtor_called = false; in main() 256 assert(Y::dtor_called == false); in main() 265 assert(Y::dtor_called == true); in main()
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
D | emplace_initializer_list.pass.cpp | 29 static bool dtor_called; member in X 33 ~X() {dtor_called = true;} in ~X() 39 bool X::dtor_called = false; member in X 59 static bool dtor_called; member in Z 64 ~Z() {dtor_called = true;} in ~Z() 70 bool Z::dtor_called = false; member in Z 77 assert(X::dtor_called == false); in main() 80 assert(X::dtor_called == true); in main() 107 assert(Z::dtor_called == false); in main() 116 assert(Z::dtor_called == true); in main()
|
D | assign_value.pass.cpp | 25 static int dtor_called; member 31 ~ThrowAssign() { ++dtor_called; } in ~ThrowAssign() 33 int ThrowAssign::dtor_called = 0; member in ThrowAssign 225 assert(T::dtor_called == 0); in test_throws() 227 T::dtor_called = 0; in test_throws() 234 assert(T::dtor_called == 0); in test_throws() 236 assert(T::dtor_called == 1); in test_throws()
|
D | emplace.pass.cpp | 40 static bool dtor_called; member in Y 43 ~Y() {dtor_called = true;} in ~Y() 46 bool Y::dtor_called = false; member in Y 248 Y::dtor_called = false; in main() 255 assert(Y::dtor_called == false); in main() 264 assert(Y::dtor_called == true); in main()
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.dtor/ |
D | dtor.pass.cpp | 29 static bool dtor_called; member in X 31 ~X() {dtor_called = true;} in ~X() 34 bool X::dtor_called = false; member in X 64 assert(X::dtor_called == false); in main() 66 assert(X::dtor_called == true); in main()
|
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.dtor/ |
D | dtor.pass.cpp | 30 static bool dtor_called; member in X 32 ~X() {dtor_called = true;} in ~X() 35 bool X::dtor_called = false; member in X 65 assert(X::dtor_called == false); in main() 67 assert(X::dtor_called == true); in main()
|