Lines Matching refs:head

75 	spl_ptr_llist_element   *head;  member
136 llist->head = NULL; in spl_ptr_llist_init()
154 spl_ptr_llist_element *current = llist->head, *next; in spl_ptr_llist_destroy()
179 current = llist->head; in spl_ptr_llist_offset()
201 elem->next = llist->head; in spl_ptr_llist_unshift()
204 if (llist->head) { in spl_ptr_llist_unshift()
205 llist->head->prev = elem; in spl_ptr_llist_unshift()
210 llist->head = elem; in spl_ptr_llist_unshift()
231 llist->head = elem; in spl_ptr_llist_push()
255 llist->head = NULL; in spl_ptr_llist_pop()
286 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_first() local
288 if (head == NULL) { in spl_ptr_llist_first()
291 return &head->data; in spl_ptr_llist_first()
298 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_shift() local
300 if (head == NULL) { in spl_ptr_llist_shift()
305 if (head->next) { in spl_ptr_llist_shift()
306 head->next->prev = NULL; in spl_ptr_llist_shift()
311 llist->head = head->next; in spl_ptr_llist_shift()
313 ZVAL_COPY(ret, &head->data); in spl_ptr_llist_shift()
316 llist->dtor(head); in spl_ptr_llist_shift()
318 ZVAL_UNDEF(&head->data); in spl_ptr_llist_shift()
320 SPL_LLIST_DELREF(head); in spl_ptr_llist_shift()
326 spl_ptr_llist_element *current = from->head, *next; in spl_ptr_llist_copy()
391 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
395 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
402 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
498 spl_ptr_llist_element *current = intern->llist->head, *next; in spl_dllist_object_get_debug_info()
543 spl_ptr_llist_element *current = intern->llist->head; in spl_dllist_object_get_gc()
898 if (element == llist->head) { in SPL_METHOD()
899 llist->head = element->next; in SPL_METHOD()
947 *traverse_pointer_ptr = llist->head; in spl_dllist_it_helper_rewind()
1137 spl_ptr_llist_element *current = intern->llist->head, *next; in SPL_METHOD()
1273 intern->llist->head = elem; in SPL_METHOD()