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()
115 l->head = NULL; in zend_llist_destroy()
124 l->head = l->tail = NULL; in zend_llist_clean()
138 l->head = NULL; in zend_llist_remove_tail()
156 ptr = src->head; in zend_llist_copy()
168 element=l->head; 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()
218 l->head = elements[0]; 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()
264 *current = l->head; in zend_llist_get_first_ex()