Searched refs:ConDecLogger (Results 1 – 1 of 1) sorted by relevance
11 class ConDecLogger { class13 ConDecLogger() : ptr_(NULL) { } in ConDecLogger() function in __anona81548ff0111::ConDecLogger14 explicit ConDecLogger(int* ptr) { set_ptr(ptr); } in ConDecLogger() function in __anona81548ff0111::ConDecLogger15 ~ConDecLogger() { --*ptr_; } in ~ConDecLogger()23 DISALLOW_COPY_AND_ASSIGN(ConDecLogger);32 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST()44 scoped_ptr<ConDecLogger> scoper(new ConDecLogger(&constructed)); in TEST()48 scoper.reset(new ConDecLogger(&constructed)); in TEST()56 scoper.reset(new ConDecLogger(&constructed)); in TEST()60 ConDecLogger* take = scoper.release(); in TEST()[all …]