/external/libchrome/base/memory/ |
ref_counted_unittest.cc | 62 static int destructor_count() { return destructor_count_; } function in class:__anon22543::ScopedRefPtrCountBase 88 static int destructor_count() { return destructor_count_; } function in class:__anon22543::ScopedRefPtrCountDerived 237 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 244 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 251 EXPECT_EQ(1, ScopedRefPtrCountBase::destructor_count()); 256 EXPECT_EQ(1, ScopedRefPtrCountBase::destructor_count()); 266 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 271 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 275 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); 282 EXPECT_EQ(0, ScopedRefPtrCountBase::destructor_count()); [all...] |
/system/chre/util/tests/ |
fixed_size_vector_test.cc | 25 int destructor_count[kMaxTestCapacity]; member in namespace:__anon106682 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 | 8 int destructor_count[kMaxTestCapacity]; member in namespace:__anon106680 22 destructor_count[val_]++; 133 destructor_count[i] = 0; 143 EXPECT_EQ(1, destructor_count[0]); 147 EXPECT_EQ(1, destructor_count[1]); 152 destructor_count[i] = 0; 168 EXPECT_EQ(1, destructor_count[i]); 174 EXPECT_EQ(1, destructor_count[i]); 176 EXPECT_EQ(0, destructor_count[3]); 177 EXPECT_EQ(1, destructor_count[kMaxTestCapacity - 1]) [all...] |
/frameworks/native/libs/vr/libpdx/ |
variant_tests.cpp | 84 static std::size_t destructor_count() { return destructor_count_; } function in class:__anon39489::InstrumentType 429 ASSERT_EQ(0u, InstrumentType<int>::destructor_count()); 441 EXPECT_EQ(0u, InstrumentType<int>::destructor_count()); 452 EXPECT_EQ(0u, InstrumentType<int>::destructor_count()); 464 EXPECT_EQ(1u, InstrumentType<int>::destructor_count()); 475 EXPECT_EQ(1u, InstrumentType<int>::destructor_count()); 489 EXPECT_EQ(2u, InstrumentType<int>::destructor_count()); 503 EXPECT_EQ(2u, InstrumentType<int>::destructor_count()); 515 EXPECT_EQ(1u, InstrumentType<int>::destructor_count()); 520 EXPECT_EQ(2u, InstrumentType<int>::destructor_count()); [all...] |