Home
last modified time | relevance | path

Searched refs:gDestructorCounter (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/libcxxabi/test/
Dtest_vector1.pass.cpp49 int gDestructorCounter; variable
60 if ( ++gDestructorCounter == gDestructorThrowTarget ) in throw_destruct()
168 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_constructor()
187 if ( gConstructorCounter - gDestructorCounter != 10 ) { in test_exception_in_constructor()
189 … std::printf("%d constructors, but %d destructors\n", gConstructorCounter, gDestructorCounter); in test_exception_in_constructor()
193 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_constructor()
208 if ( gConstructorCounter != gDestructorCounter ) { in test_exception_in_constructor()
210 … std::printf("%d constructors, but %d destructors\n", gConstructorCounter, gDestructorCounter); in test_exception_in_constructor()
226 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()
246 if ( gConstructorCounter != 20 || gDestructorCounter != 20 ) { in test_exception_in_destructor()
[all …]
Dtest_vector2.pass.cpp51 int gDestructorCounter; variable
54 void throw_destruct ( void * ) { if ( ++gDestructorCounter == gDestructorThrowTarget ) throw 2; } in throw_destruct()
67 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()
/external/libcxxabi/test/
Dtest_vector1.pass.cpp48 int gDestructorCounter; variable
59 if ( ++gDestructorCounter == gDestructorThrowTarget ) in throw_destruct()
167 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_constructor()
186 if ( gConstructorCounter - gDestructorCounter != 10 ) { in test_exception_in_constructor()
189 gDestructorCounter << " destructors" << std::endl; in test_exception_in_constructor()
193 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_constructor()
208 if ( gConstructorCounter != gDestructorCounter ) { in test_exception_in_constructor()
211 gDestructorCounter << " destructors" << std::endl; in test_exception_in_constructor()
227 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()
247 if ( gConstructorCounter != 20 || gDestructorCounter != 20 ) { in test_exception_in_destructor()
[all …]
Dtest_vector2.pass.cpp51 int gDestructorCounter; variable
54 void throw_destruct ( void * ) { if ( ++gDestructorCounter == gDestructorThrowTarget ) throw 2; } in throw_destruct()
67 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()