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()
136 old_tail->prev->next = NULL; in zend_llist_remove_tail()
159 ptr = ptr->next; in zend_llist_copy()
166 zend_llist_element *element, *next; in zend_llist_apply_with_del() local
170 next = element->next; in zend_llist_apply_with_del()
174 element = next; in zend_llist_apply_with_del()
183 for (element=l->head; element; element=element->next) { in zend_llist_apply()
211 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()