Home
last modified time | relevance | path

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

/external/chromium/base/memory/
Dscoped_ptr_unittest.cc11 class ConDecLogger { class
13 ConDecLogger() : ptr_(NULL) { } in ConDecLogger() function in __anona81548ff0111::ConDecLogger
14 explicit ConDecLogger(int* ptr) { set_ptr(ptr); } in ConDecLogger() function in __anona81548ff0111::ConDecLogger
15 ~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 …]