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