Lines Matching refs:head

65 	spl_ptr_llist_element *head;  member
106 llist->head = NULL; in spl_ptr_llist_init()
122 spl_ptr_llist_element *current = llist->head, *next; in spl_ptr_llist_destroy()
144 current = llist->head; in spl_ptr_llist_offset()
165 elem->next = llist->head; in spl_ptr_llist_unshift()
169 if (llist->head) { in spl_ptr_llist_unshift()
170 llist->head->prev = elem; in spl_ptr_llist_unshift()
175 llist->head = elem; in spl_ptr_llist_unshift()
192 llist->head = elem; in spl_ptr_llist_push()
212 llist->head = NULL; in spl_ptr_llist_pop()
240 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_first() local
242 if (head == NULL) { in spl_ptr_llist_first()
245 return &head->data; in spl_ptr_llist_first()
252 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_shift() local
254 if (head == NULL) { in spl_ptr_llist_shift()
259 if (head->next) { in spl_ptr_llist_shift()
260 head->next->prev = NULL; in spl_ptr_llist_shift()
265 llist->head = head->next; in spl_ptr_llist_shift()
267 ZVAL_COPY_VALUE(ret, &head->data); in spl_ptr_llist_shift()
268 ZVAL_UNDEF(&head->data); in spl_ptr_llist_shift()
270 head->next = NULL; in spl_ptr_llist_shift()
272 SPL_LLIST_DELREF(head); in spl_ptr_llist_shift()
278 spl_ptr_llist_element *current = from->head, *next; in spl_ptr_llist_copy()
330 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
334 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
341 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
430 spl_ptr_llist_element *current = intern->llist->head, *next; in spl_dllist_object_get_debug_info()
474 spl_ptr_llist_element *current = intern->llist->head; in spl_dllist_object_get_gc()
782 if (element == llist->head) { in PHP_METHOD()
783 llist->head = element->next; in PHP_METHOD()
827 *traverse_pointer_ptr = llist->head; in spl_dllist_it_helper_rewind()
1005 spl_ptr_llist_element *current = intern->llist->head, *next; in PHP_METHOD()
1100 spl_ptr_llist_element *current = intern->llist->head; in PHP_METHOD()
1196 intern->llist->head = elem; in PHP_METHOD()