Searched refs:NumLiveInstances (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/debug/ |
D | leak_tracker_unittest.cc | 28 EXPECT_EQ(-1, LeakTracker<ClassA>::NumLiveInstances()); in TEST() 29 EXPECT_EQ(-1, LeakTracker<ClassB>::NumLiveInstances()); in TEST() 36 EXPECT_EQ(-1, LeakTracker<ClassA>::NumLiveInstances()); in TEST() 37 EXPECT_EQ(-1, LeakTracker<ClassB>::NumLiveInstances()); in TEST() 46 EXPECT_EQ(1, LeakTracker<ClassA>::NumLiveInstances()); in TEST() 47 EXPECT_EQ(0, LeakTracker<ClassB>::NumLiveInstances()); in TEST() 52 EXPECT_EQ(1, LeakTracker<ClassA>::NumLiveInstances()); in TEST() 53 EXPECT_EQ(2, LeakTracker<ClassB>::NumLiveInstances()); in TEST() 57 EXPECT_EQ(2, LeakTracker<ClassA>::NumLiveInstances()); in TEST() 58 EXPECT_EQ(2, LeakTracker<ClassB>::NumLiveInstances()); in TEST() [all …]
|
D | leak_tracker.h | 61 static int NumLiveInstances() { return -1; } in NumLiveInstances() function 114 static int NumLiveInstances() {
|