Searched refs:destructor_count (Results 1 – 2 of 2) sorted by relevance
/external/libweave/third_party/chromium/base/memory/ |
D | ref_counted_unittest.cc | 61 static int destructor_count() { return destructor_count_; } in destructor_count() function in __anon74b99cce0111::ScopedRefPtrCountBase 87 static int destructor_count() { return destructor_count_; } in destructor_count() function in __anon74b99cce0111::ScopedRefPtrCountDerived 179 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 186 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 193 EXPECT_EQ(1, ScopedRefPtrCountBase::destructor_count()); in TEST() 198 EXPECT_EQ(1, ScopedRefPtrCountBase::destructor_count()); in TEST() 208 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 213 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 217 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 224 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() [all …]
|
/external/libchrome/base/memory/ |
D | ref_counted_unittest.cc | 62 static int destructor_count() { return destructor_count_; } in destructor_count() function in __anon091b83080111::ScopedRefPtrCountBase 88 static int destructor_count() { return destructor_count_; } in destructor_count() function in __anon091b83080111::ScopedRefPtrCountDerived 190 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 197 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 204 EXPECT_EQ(1, ScopedRefPtrCountBase::destructor_count()); in TEST() 209 EXPECT_EQ(1, ScopedRefPtrCountBase::destructor_count()); in TEST() 219 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 224 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 228 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() 235 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); in TEST() [all …]
|