Lines Matching refs:head

68 	spl_ptr_llist_element *head;  member
109 llist->head = NULL; in spl_ptr_llist_init()
125 spl_ptr_llist_element *current = llist->head, *next; in spl_ptr_llist_destroy()
147 current = llist->head; in spl_ptr_llist_offset()
168 elem->next = llist->head; in spl_ptr_llist_unshift()
172 if (llist->head) { in spl_ptr_llist_unshift()
173 llist->head->prev = elem; in spl_ptr_llist_unshift()
178 llist->head = elem; in spl_ptr_llist_unshift()
195 llist->head = elem; in spl_ptr_llist_push()
215 llist->head = NULL; in spl_ptr_llist_pop()
243 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_first() local
245 if (head == NULL) { in spl_ptr_llist_first()
248 return &head->data; in spl_ptr_llist_first()
255 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_shift() local
257 if (head == NULL) { in spl_ptr_llist_shift()
262 if (head->next) { in spl_ptr_llist_shift()
263 head->next->prev = NULL; in spl_ptr_llist_shift()
268 llist->head = head->next; in spl_ptr_llist_shift()
270 ZVAL_COPY_VALUE(ret, &head->data); in spl_ptr_llist_shift()
271 ZVAL_UNDEF(&head->data); in spl_ptr_llist_shift()
273 head->next = NULL; in spl_ptr_llist_shift()
275 SPL_LLIST_DELREF(head); in spl_ptr_llist_shift()
281 spl_ptr_llist_element *current = from->head, *next; in spl_ptr_llist_copy()
332 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
336 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
343 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
434 spl_ptr_llist_element *current = intern->llist->head, *next; in spl_dllist_object_get_debug_info()
478 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()
833 *traverse_pointer_ptr = llist->head; in spl_dllist_it_helper_rewind()
1011 spl_ptr_llist_element *current = intern->llist->head, *next; in PHP_METHOD()
1110 spl_ptr_llist_element *current = intern->llist->head; in PHP_METHOD()
1206 intern->llist->head = elem; in PHP_METHOD()