Lines Matching refs:head

73 	spl_ptr_llist_element   *head;  member
132 llist->head = NULL; in spl_ptr_llist_init()
150 spl_ptr_llist_element *current = llist->head, *next; in spl_ptr_llist_destroy()
175 current = llist->head; in spl_ptr_llist_offset()
196 elem->next = llist->head; in spl_ptr_llist_unshift()
200 if (llist->head) { in spl_ptr_llist_unshift()
201 llist->head->prev = elem; in spl_ptr_llist_unshift()
206 llist->head = elem; in spl_ptr_llist_unshift()
227 llist->head = elem; in spl_ptr_llist_push()
251 llist->head = NULL; in spl_ptr_llist_pop()
283 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_first() local
285 if (head == NULL) { in spl_ptr_llist_first()
288 return &head->data; in spl_ptr_llist_first()
295 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_shift() local
297 if (head == NULL) { in spl_ptr_llist_shift()
302 if (head->next) { in spl_ptr_llist_shift()
303 head->next->prev = NULL; in spl_ptr_llist_shift()
308 llist->head = head->next; in spl_ptr_llist_shift()
310 ZVAL_COPY(ret, &head->data); in spl_ptr_llist_shift()
312 head->next = NULL; in spl_ptr_llist_shift()
314 llist->dtor(head); in spl_ptr_llist_shift()
316 ZVAL_UNDEF(&head->data); in spl_ptr_llist_shift()
318 SPL_LLIST_DELREF(head); in spl_ptr_llist_shift()
324 spl_ptr_llist_element *current = from->head, *next; in spl_ptr_llist_copy()
383 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
387 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
394 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
485 spl_ptr_llist_element *current = intern->llist->head, *next; in spl_dllist_object_get_debug_info()
529 spl_ptr_llist_element *current = intern->llist->head; in spl_dllist_object_get_gc()
847 if (element == llist->head) { in PHP_METHOD()
848 llist->head = element->next; in PHP_METHOD()
896 *traverse_pointer_ptr = llist->head; in spl_dllist_it_helper_rewind()
1076 spl_ptr_llist_element *current = intern->llist->head, *next; in PHP_METHOD()
1173 spl_ptr_llist_element *current = intern->llist->head; in PHP_METHOD()
1269 intern->llist->head = elem; in PHP_METHOD()