Lines Matching refs:head
26 l->head = NULL; in zend_llist_init()
43 l->head = tmp; in zend_llist_add_element()
56 tmp->next = l->head; in zend_llist_prepend_element()
58 if (l->head) { in zend_llist_prepend_element()
59 l->head->prev = tmp; in zend_llist_prepend_element()
63 l->head = tmp; in zend_llist_prepend_element()
74 (l)->head = (current)->next;\
90 zend_llist_element *current=l->head; in zend_llist_del_element()
104 zend_llist_element *current=l->head, *next; in zend_llist_destroy()
122 l->head = l->tail = NULL; in zend_llist_clean()
136 l->head = NULL; in zend_llist_remove_tail()
154 ptr = src->head; in zend_llist_copy()
166 element=l->head; 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()
216 l->head = elements[0]; 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()
262 *current = l->head; in zend_llist_get_first_ex()