Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
Dtest_vector2.pass.cpp42 int gCounter; variable
43 void count_construct ( void *p ) { ++gCounter; } in count_construct()
44 void count_destruct ( void *p ) { --gCounter; } in count_destruct()
Dtest_vector1.pass.cpp41 int gCounter; variable
42 void count_construct ( void *p ) { ++gCounter; } in count_construct()
43 void count_destruct ( void *p ) { --gCounter; } in count_destruct()
114 gCounter = 0; in test_counted()
125 if ( gCounter != 30 ) { in test_counted()
127 std::cerr << " Expected 30, got " << gCounter << std::endl; in test_counted()
131 gCounter = 0; in test_counted()
140 if ( gCounter != 0 ) { in test_counted()
142 std::cerr << " Expected 0, got " << gCounter << std::endl; in test_counted()
/ndk/sources/cxx-stl/gabi++/tests/
Dtest_vector2.cpp52 int gCounter; variable
53 CTOR_RETURN_TYPE count_construct ( void *p ) { ++gCounter; CTOR_RETURN(p); } in count_construct()
54 CTOR_RETURN_TYPE count_destruct ( void *p ) { --gCounter; CTOR_RETURN(p); } in count_destruct()
Dtest_vector1.cpp50 int gCounter; variable
51 CTOR_RETURN_TYPE count_construct ( void *p ) { ++gCounter; CTOR_RETURN(p); } in count_construct()
52 CTOR_RETURN_TYPE count_destruct ( void *p ) { --gCounter; CTOR_RETURN(p); } in count_destruct()
133 gCounter = 0; in test_counted()
144 if ( gCounter != 30 ) { in test_counted()
146 fprintf(stderr, " Expected 30, got %d\n", gCounter); in test_counted()
150 gCounter = 0; in test_counted()
159 if ( gCounter != 0 ) { in test_counted()
161 fprintf(stderr, " Expected 0, got %d\n", gCounter); in test_counted()