Home
last modified time | relevance | path

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

/external/libweave/third_party/chromium/base/memory/
Dref_counted_unittest.cc55 class ScopedRefPtrCountBase : public base::RefCounted<ScopedRefPtrCountBase> { class
57 ScopedRefPtrCountBase() { ++constructor_count_; } in ScopedRefPtrCountBase() function in __anon74b99cce0111::ScopedRefPtrCountBase
69 virtual ~ScopedRefPtrCountBase() { ++destructor_count_; } in ~ScopedRefPtrCountBase()
72 friend class base::RefCounted<ScopedRefPtrCountBase>;
78 int ScopedRefPtrCountBase::constructor_count_ = 0;
79 int ScopedRefPtrCountBase::destructor_count_ = 0;
81 class ScopedRefPtrCountDerived : public ScopedRefPtrCountBase {
173 ScopedRefPtrCountBase::reset_count(); in TEST()
176 ScopedRefPtrCountBase *raw = new ScopedRefPtrCountBase(); in TEST()
177 scoped_refptr<ScopedRefPtrCountBase> p1(raw); in TEST()
[all …]
/external/libchrome/base/memory/
Dref_counted_unittest.cc56 class ScopedRefPtrCountBase : public base::RefCounted<ScopedRefPtrCountBase> { class
58 ScopedRefPtrCountBase() { ++constructor_count_; } in ScopedRefPtrCountBase() function in __anon091b83080111::ScopedRefPtrCountBase
70 virtual ~ScopedRefPtrCountBase() { ++destructor_count_; } in ~ScopedRefPtrCountBase()
73 friend class base::RefCounted<ScopedRefPtrCountBase>;
79 int ScopedRefPtrCountBase::constructor_count_ = 0;
80 int ScopedRefPtrCountBase::destructor_count_ = 0;
82 class ScopedRefPtrCountDerived : public ScopedRefPtrCountBase {
184 ScopedRefPtrCountBase::reset_count(); in TEST()
187 ScopedRefPtrCountBase *raw = new ScopedRefPtrCountBase(); in TEST()
188 scoped_refptr<ScopedRefPtrCountBase> p1(raw); in TEST()
[all …]