Lines Matching refs:prev
64 struct _spl_ptr_llist_element *prev; member
155 current = current->prev; in spl_ptr_llist_offset()
169 elem->prev = NULL; in spl_ptr_llist_unshift()
175 llist->head->prev = elem; in spl_ptr_llist_unshift()
189 elem->prev = llist->tail; in spl_ptr_llist_push()
214 if (tail->prev) { in spl_ptr_llist_pop()
215 tail->prev->next = NULL; in spl_ptr_llist_pop()
220 llist->tail = tail->prev; in spl_ptr_llist_pop()
225 tail->prev = NULL; in spl_ptr_llist_pop()
265 head->next->prev = NULL; in spl_ptr_llist_shift()
779 if (element->prev) { in PHP_METHOD()
780 element->prev->next = element->next; in PHP_METHOD()
784 element->next->prev = element->prev; in PHP_METHOD()
793 llist->tail = element->prev; in PHP_METHOD()
847 *traverse_pointer_ptr = old->prev; in spl_dllist_it_helper_move_forward()
851 zval prev; in spl_dllist_it_helper_move_forward() local
852 spl_ptr_llist_pop(llist, &prev); in spl_dllist_it_helper_move_forward()
854 zval_ptr_dtor(&prev); in spl_dllist_it_helper_move_forward()
860 zval prev; in spl_dllist_it_helper_move_forward() local
861 spl_ptr_llist_shift(llist, &prev); in spl_dllist_it_helper_move_forward()
863 zval_ptr_dtor(&prev); in spl_dllist_it_helper_move_forward()
940 PHP_METHOD(SplDoublyLinkedList, prev) in PHP_METHOD() argument
1202 elem->prev = element->prev; in PHP_METHOD()
1205 if (elem->prev == NULL) { in PHP_METHOD()
1208 element->prev->next = elem; in PHP_METHOD()
1210 element->prev = elem; in PHP_METHOD()