Lines Matching refs:next
108 * 1: the element next to head should be our newly created element
114 fail_unless(llist.head->next->ptr == &unusedData_case3,
115 "the node next to head is not getting set correctly");
124 * 1: the element next to head should be our newly created element
130 fail_unless(llist.head->next->ptr == &unusedData_case2,
131 "the node next to head is not getting set correctly");
143 * 2: head will be the head->next
149 element_next = head->next;
169 * 2: element->previous->next will be element->next
170 * 3: element->next->previous will be element->previous
177 to_remove = llist.head->next;
179 element_next = to_remove->next;
182 fail_unless(element_prev->next == element_next,
183 "element previous->next is not being adjusted");
186 "element next->previous is not being adjusted");
193 * 2: element->previous->next will be element->next ;tested
194 * 3: element->next->previous will be element->previous ;tested