Lines Matching refs:next
141 q_node* next; member
159 for (q_node* q = &zero; q != nullptr; q = q->next) { in TEST()
175 ASSERT_EQ(2, head->next->i); in TEST()
176 ASSERT_EQ(nullptr, head->next->next); in TEST()
180 ASSERT_EQ(nullptr, head->next); in TEST()
186 zero.next = &zero; in TEST()
193 ASSERT_EQ(1, head->next->i); in TEST()
194 ASSERT_EQ(2, head->next->next->i); in TEST()
195 ASSERT_EQ(0, head->next->next->next->i); in TEST()
196 ASSERT_EQ(1, head->next->next->next->next->i); in TEST()
197 ASSERT_EQ(2, head->next->next->next->next->next->i); in TEST()
201 ASSERT_EQ(2, head->next->i); in TEST()
202 ASSERT_EQ(0, head->next->next->i); in TEST()
203 ASSERT_EQ(2, head->next->next->next->i); in TEST()
207 ASSERT_EQ(0, head->next->i); in TEST()