Home
last modified time | relevance | path

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

/external/libweave/third_party/chromium/base/memory/
Dref_counted_unittest.cc81 class ScopedRefPtrCountDerived : public ScopedRefPtrCountBase { class
83 ScopedRefPtrCountDerived() { ++constructor_count_; } in ScopedRefPtrCountDerived() function in __anon74b99cce0111::ScopedRefPtrCountDerived
95 ~ScopedRefPtrCountDerived() override { ++destructor_count_; } in ~ScopedRefPtrCountDerived()
98 friend class base::RefCounted<ScopedRefPtrCountDerived>;
104 int ScopedRefPtrCountDerived::constructor_count_ = 0;
105 int ScopedRefPtrCountDerived::destructor_count_ = 0;
328 ScopedRefPtrCountDerived::reset_count(); in TEST()
335 EXPECT_EQ(0, ScopedRefPtrCountDerived::constructor_count()); in TEST()
336 EXPECT_EQ(0, ScopedRefPtrCountDerived::destructor_count()); in TEST()
339 ScopedRefPtrCountDerived *raw2 = new ScopedRefPtrCountDerived(); in TEST()
[all …]
/external/libchrome/base/memory/
Dref_counted_unittest.cc82 class ScopedRefPtrCountDerived : public ScopedRefPtrCountBase { class
84 ScopedRefPtrCountDerived() { ++constructor_count_; } in ScopedRefPtrCountDerived() function in __anon091b83080111::ScopedRefPtrCountDerived
96 ~ScopedRefPtrCountDerived() override { ++destructor_count_; } in ~ScopedRefPtrCountDerived()
99 friend class base::RefCounted<ScopedRefPtrCountDerived>;
105 int ScopedRefPtrCountDerived::constructor_count_ = 0;
106 int ScopedRefPtrCountDerived::destructor_count_ = 0;
339 ScopedRefPtrCountDerived::reset_count(); in TEST()
346 EXPECT_EQ(0, ScopedRefPtrCountDerived::constructor_count()); in TEST()
347 EXPECT_EQ(0, ScopedRefPtrCountDerived::destructor_count()); in TEST()
350 ScopedRefPtrCountDerived *raw2 = new ScopedRefPtrCountDerived(); in TEST()
[all …]