/external/libchrome/base/memory/ |
ref_counted_unittest.cc | 65 static int destructor_count() { return destructor_count_; } function in class:__anon24215::ScopedRefPtrCountBase 91 static int destructor_count() { return destructor_count_; } function in class:__anon24215::ScopedRefPtrCountDerived 271 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 278 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 285 EXPECT_EQ(1, ScopedRefPtrCountBase::destructor_count()); 290 EXPECT_EQ(1, ScopedRefPtrCountBase::destructor_count()); 300 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 305 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 309 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 316 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); [all...] |
/system/chre/util/tests/ |
fixed_size_vector_test.cc | 25 int destructor_count[kMaxTestCapacity]; member in namespace:__anon2697 31 destructor_count[mValue]++; 111 EXPECT_EQ(0, destructor_count[0]); 112 EXPECT_EQ(0, destructor_count[1]); 113 EXPECT_EQ(0, destructor_count[2]); 114 EXPECT_EQ(1, destructor_count[3]); 118 EXPECT_EQ(0, destructor_count[0]); 119 EXPECT_EQ(0, destructor_count[1]); 120 EXPECT_EQ(0, destructor_count[2]); 121 EXPECT_EQ(2, destructor_count[3]) [all...] |
array_queue_test.cc | 12 int destructor_count[kMaxTestCapacity]; member in namespace:__anon2695 26 destructor_count[val_]++; 198 destructor_count[i] = 0; 208 EXPECT_EQ(1, destructor_count[0]); 212 EXPECT_EQ(1, destructor_count[1]); 217 destructor_count[i] = 0; 233 EXPECT_EQ(1, destructor_count[i]); 239 EXPECT_EQ(1, destructor_count[i]); 241 EXPECT_EQ(0, destructor_count[3]); 242 EXPECT_EQ(1, destructor_count[kMaxTestCapacity - 1]) [all...] |
/frameworks/native/libs/vr/libpdx/ |
variant_tests.cpp | 85 static std::size_t destructor_count() { return destructor_count_; } function in class:__anon46436::InstrumentType 430 ASSERT_EQ(0u, InstrumentType<int>::destructor_count()); 442 EXPECT_EQ(0u, InstrumentType<int>::destructor_count()); 453 EXPECT_EQ(0u, InstrumentType<int>::destructor_count()); 465 EXPECT_EQ(1u, InstrumentType<int>::destructor_count()); 476 EXPECT_EQ(1u, InstrumentType<int>::destructor_count()); 490 EXPECT_EQ(2u, InstrumentType<int>::destructor_count()); 504 EXPECT_EQ(2u, InstrumentType<int>::destructor_count()); 516 EXPECT_EQ(1u, InstrumentType<int>::destructor_count()); 521 EXPECT_EQ(2u, InstrumentType<int>::destructor_count()); [all...] |