Searched refs:gCounter (Results 1 – 4 of 4) sorted by relevance
42 int gCounter; variable43 void count_construct ( void *p ) { ++gCounter; } in count_construct()44 void count_destruct ( void *p ) { --gCounter; } in count_destruct()
41 int gCounter; variable42 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()
52 int gCounter; variable53 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()
50 int gCounter; variable51 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()