Searched defs:RefCounter (Results 1 – 3 of 3) sorted by relevance
17 struct RefCounter { struct18 static int Count;20 RefCounter() { ++Count; } in RefCounter() function21 ~RefCounter() { --Count; } in ~RefCounter()28 TEST(Expected, RefCounter) { in TEST() argument
245 struct RefCounter { struct246 static int Count;248 RefCounter() { ++Count; } in RefCounter() function249 ~RefCounter() { --Count; } in ~RefCounter()
22 explicit RefCounter(int ref_count) : ref_count_(ref_count) {} in RefCounter() function