Lines Matching refs:GetRefCount

21     uint32_t GetRefCount(node* node) { return node->refcount_; }  in GetRefCount()  function in NodeTest
52 ASSERT_EQ(1, GetRefCount(node.get())); in TEST_F()
58 ASSERT_EQ(1, GetRefCount(parent.get())); in TEST_F()
62 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
66 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
73 ASSERT_EQ(3, GetRefCount(node)); in TEST_F()
76 ASSERT_EQ(2, GetRefCount(node)); in TEST_F()
80 ASSERT_EQ(2, GetRefCount(node)); in TEST_F()
90 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
95 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
100 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
108 ASSERT_EQ(2, GetRefCount(parent1.get())); in TEST_F()
112 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
115 ASSERT_EQ(2, GetRefCount(parent2.get())); in TEST_F()
119 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
127 ASSERT_EQ(2, GetRefCount(parent1.get())); in TEST_F()
131 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
135 ASSERT_EQ(2, GetRefCount(parent2.get())); in TEST_F()
139 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
147 ASSERT_EQ(3, GetRefCount(parent.get())); in TEST_F()
155 ASSERT_EQ(3, GetRefCount(parent.get())); in TEST_F()
167 ASSERT_EQ(1, GetRefCount(child0.get())); in TEST_F()
168 ASSERT_EQ(1, GetRefCount(child1.get())); in TEST_F()
177 ASSERT_EQ(3, GetRefCount(parent1.get())); in TEST_F()
184 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
190 ASSERT_EQ(3, GetRefCount(parent2.get())); in TEST_F()
198 ASSERT_EQ(1, GetRefCount(child0.get())); in TEST_F()
199 ASSERT_EQ(1, GetRefCount(child1.get())); in TEST_F()
208 ASSERT_EQ(3, GetRefCount(parent1.get())); in TEST_F()
215 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
225 ASSERT_EQ(3, GetRefCount(parent2.get())); in TEST_F()
233 ASSERT_EQ(1, GetRefCount(child0.get())); in TEST_F()
234 ASSERT_EQ(1, GetRefCount(child1.get())); in TEST_F()
317 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
320 ASSERT_EQ(2, GetRefCount(child.get())); in TEST_F()
459 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
464 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
469 ASSERT_EQ(1, GetRefCount(root.get())); in TEST_F()
474 ASSERT_EQ(1, GetRefCount(root.get())); in TEST_F()
535 ASSERT_EQ(2, GetRefCount(child)); in TEST_F()
539 ASSERT_EQ(1, GetRefCount(child)); in TEST_F()