Lines Matching refs:gConstructorCounter
46 int gConstructorCounter; variable
52 if ( gConstructorCounter == gConstructorThrowTarget ) in throw_construct()
54 ++gConstructorCounter; in throw_construct()
167 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_constructor()
186 if ( gConstructorCounter - gDestructorCounter != 10 ) { in test_exception_in_constructor()
188 std::cerr << gConstructorCounter << " constructors, but " << 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::cerr << gConstructorCounter << " constructors, but " << 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()
249 std::cerr << "Expected (20, 20), but got (" << gConstructorCounter << ", " << in test_exception_in_destructor()
255 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()
261 if ( gConstructorCounter != gDestructorCounter ) { in test_exception_in_destructor()
263 std::cerr << gConstructorCounter << " constructors, but " << in test_exception_in_destructor()