Lines Matching refs:prev
62 struct _spl_ptr_llist_element *prev; member
153 current = current->prev; in spl_ptr_llist_offset()
167 elem->prev = NULL; in spl_ptr_llist_unshift()
173 llist->head->prev = elem; in spl_ptr_llist_unshift()
187 elem->prev = llist->tail; in spl_ptr_llist_push()
212 if (tail->prev) { in spl_ptr_llist_pop()
213 tail->prev->next = NULL; in spl_ptr_llist_pop()
218 llist->tail = tail->prev; in spl_ptr_llist_pop()
223 tail->prev = NULL; in spl_ptr_llist_pop()
263 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()
846 *traverse_pointer_ptr = old->prev; in spl_dllist_it_helper_move_forward()
850 zval prev; in spl_dllist_it_helper_move_forward() local
851 spl_ptr_llist_pop(llist, &prev); in spl_dllist_it_helper_move_forward()
853 zval_ptr_dtor(&prev); in spl_dllist_it_helper_move_forward()
859 zval prev; in spl_dllist_it_helper_move_forward() local
860 spl_ptr_llist_shift(llist, &prev); in spl_dllist_it_helper_move_forward()
862 zval_ptr_dtor(&prev); in spl_dllist_it_helper_move_forward()
937 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()