Home
last modified time | relevance | path

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

/external/llvm-project/libcxxabi/test/
Dtest_vector1.pass.cpp47 int gConstructorCounter; variable
53 if ( gConstructorCounter == gConstructorThrowTarget ) in throw_construct()
55 ++gConstructorCounter; in throw_construct()
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()
[all …]
Dtest_vector2.pass.cpp49 int gConstructorCounter; variable
53 …d throw_construct ( void * ) { if ( gConstructorCounter == gConstructorThrowTarget ) throw 1; ++ in throw_construct()
67 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()
/external/libcxxabi/test/
Dtest_vector1.pass.cpp46 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()
[all …]
Dtest_vector2.pass.cpp49 int gConstructorCounter; variable
53 …d throw_construct ( void * ) { if ( gConstructorCounter == gConstructorThrowTarget ) throw 1; ++ in throw_construct()
67 gConstructorCounter = gDestructorCounter = 0; in test_exception_in_destructor()