Lines Matching refs:head

70 	spl_ptr_llist_element *head;  member
111 llist->head = NULL; in spl_ptr_llist_init()
127 spl_ptr_llist_element *current = llist->head, *next; in spl_ptr_llist_destroy()
149 current = llist->head; in spl_ptr_llist_offset()
170 elem->next = llist->head; in spl_ptr_llist_unshift()
174 if (llist->head) { in spl_ptr_llist_unshift()
175 llist->head->prev = elem; in spl_ptr_llist_unshift()
180 llist->head = elem; in spl_ptr_llist_unshift()
197 llist->head = elem; in spl_ptr_llist_push()
217 llist->head = NULL; in spl_ptr_llist_pop()
245 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_first() local
247 if (head == NULL) { in spl_ptr_llist_first()
250 return &head->data; in spl_ptr_llist_first()
257 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_shift() local
259 if (head == NULL) { in spl_ptr_llist_shift()
264 if (head->next) { in spl_ptr_llist_shift()
265 head->next->prev = NULL; in spl_ptr_llist_shift()
270 llist->head = head->next; in spl_ptr_llist_shift()
272 ZVAL_COPY_VALUE(ret, &head->data); in spl_ptr_llist_shift()
273 ZVAL_UNDEF(&head->data); in spl_ptr_llist_shift()
275 head->next = NULL; in spl_ptr_llist_shift()
277 SPL_LLIST_DELREF(head); in spl_ptr_llist_shift()
283 spl_ptr_llist_element *current = from->head, *next; in spl_ptr_llist_copy()
334 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
338 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
345 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
436 spl_ptr_llist_element *current = intern->llist->head, *next; in spl_dllist_object_get_debug_info()
480 spl_ptr_llist_element *current = intern->llist->head; in spl_dllist_object_get_gc()
788 if (element == llist->head) { in PHP_METHOD()
789 llist->head = element->next; in PHP_METHOD()
834 *traverse_pointer_ptr = llist->head; in spl_dllist_it_helper_rewind()
1014 spl_ptr_llist_element *current = intern->llist->head, *next; in PHP_METHOD()
1111 spl_ptr_llist_element *current = intern->llist->head; in PHP_METHOD()
1206 intern->llist->head = elem; in PHP_METHOD()