Lines Matching refs:next
42 tmp->next = NULL; in zend_llist_add_element()
44 l->tail->next = tmp; in zend_llist_add_element()
59 tmp->next = l->head; in zend_llist_prepend_element()
75 (current)->prev->next = (current)->next;\
77 (l)->head = (current)->next;\
79 if ((current)->next) {\
80 (current)->next->prev = (current)->prev;\
94 zend_llist_element *next; in zend_llist_del_element() local
97 next = current->next; in zend_llist_del_element()
102 current = next; in zend_llist_del_element()
109 zend_llist_element *current=l->head, *next; in zend_llist_destroy() local
112 next = current->next; in zend_llist_destroy()
117 current = next; in zend_llist_destroy()
138 old_tail->prev->next = NULL; in zend_llist_remove_tail()
168 ptr = ptr->next; in zend_llist_copy()
175 zend_llist_element *element, *next; in zend_llist_apply_with_del() local
179 next = element->next; in zend_llist_apply_with_del()
183 element = next; in zend_llist_apply_with_del()
192 for (element=l->head; element; element=element->next) { in zend_llist_apply()
212 for (element=l->head; element; element=element->next) { in zend_llist_sort()
223 elements[i-1]->next = elements[i]; in zend_llist_sort()
225 elements[i-1]->next = NULL; in zend_llist_sort()
235 for (element=l->head; element; element=element->next) { in zend_llist_apply_with_argument()
247 for (element=l->head; element; element=element->next) { in zend_llist_apply_with_arguments()
291 *current = (*current)->next; in zend_llist_get_next_ex()