Lines Matching refs:next
39 tmp->next = NULL; in zend_llist_add_element()
41 l->tail->next = tmp; in zend_llist_add_element()
56 tmp->next = l->head; in zend_llist_prepend_element()
72 (current)->prev->next = (current)->next;\
74 (l)->head = (current)->next;\
76 if ((current)->next) {\
77 (current)->next->prev = (current)->prev;\
97 current = current->next; in zend_llist_del_element()
104 zend_llist_element *current=l->head, *next; in zend_llist_destroy() local
107 next = current->next; in zend_llist_destroy()
112 current = next; in zend_llist_destroy()
134 old_tail->prev->next = NULL; in zend_llist_remove_tail()
157 ptr = ptr->next; in zend_llist_copy()
164 zend_llist_element *element, *next; in zend_llist_apply_with_del() local
168 next = element->next; in zend_llist_apply_with_del()
172 element = next; in zend_llist_apply_with_del()
181 for (element=l->head; element; element=element->next) { in zend_llist_apply()
209 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()