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;\
100 current = current->next; in zend_llist_del_element()
107 zend_llist_element *current=l->head, *next; in zend_llist_destroy() local
110 next = current->next; in zend_llist_destroy()
115 current = next; in zend_llist_destroy()
136 old_tail->prev->next = NULL; in zend_llist_remove_tail()
166 ptr = ptr->next; in zend_llist_copy()
173 zend_llist_element *element, *next; in zend_llist_apply_with_del() local
177 next = element->next; in zend_llist_apply_with_del()
181 element = next; in zend_llist_apply_with_del()
190 for (element=l->head; element; element=element->next) { in zend_llist_apply()
210 for (element=l->head; element; element=element->next) { in zend_llist_sort()
221 elements[i-1]->next = elements[i]; in zend_llist_sort()
223 elements[i-1]->next = NULL; in zend_llist_sort()
233 for (element=l->head; element; element=element->next) { in zend_llist_apply_with_argument()
245 for (element=l->head; element; element=element->next) { in zend_llist_apply_with_arguments()
289 *current = (*current)->next; in zend_llist_get_next_ex()