Home
last modified time | relevance | path

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

/external/libchrome/base/debug/
Dleak_tracker_unittest.cc30 EXPECT_EQ(-1, LeakTracker<ClassA>::NumLiveInstances()); in TEST()
31 EXPECT_EQ(-1, LeakTracker<ClassB>::NumLiveInstances()); in TEST()
38 EXPECT_EQ(-1, LeakTracker<ClassA>::NumLiveInstances()); in TEST()
39 EXPECT_EQ(-1, LeakTracker<ClassB>::NumLiveInstances()); in TEST()
48 EXPECT_EQ(1, LeakTracker<ClassA>::NumLiveInstances()); in TEST()
49 EXPECT_EQ(0, LeakTracker<ClassB>::NumLiveInstances()); in TEST()
54 EXPECT_EQ(1, LeakTracker<ClassA>::NumLiveInstances()); in TEST()
55 EXPECT_EQ(2, LeakTracker<ClassB>::NumLiveInstances()); in TEST()
59 EXPECT_EQ(2, LeakTracker<ClassA>::NumLiveInstances()); in TEST()
60 EXPECT_EQ(2, LeakTracker<ClassB>::NumLiveInstances()); in TEST()
[all …]
Dleak_tracker.h63 static int NumLiveInstances() { return -1; } in NumLiveInstances() function
116 static int NumLiveInstances() {