Lines Matching refs:prev
59 struct _spl_ptr_llist_element *prev; member
150 current = current->prev; in spl_ptr_llist_offset()
164 elem->prev = NULL; in spl_ptr_llist_unshift()
170 llist->head->prev = elem; in spl_ptr_llist_unshift()
184 elem->prev = llist->tail; in spl_ptr_llist_push()
209 if (tail->prev) { in spl_ptr_llist_pop()
210 tail->prev->next = NULL; in spl_ptr_llist_pop()
215 llist->tail = tail->prev; in spl_ptr_llist_pop()
220 tail->prev = NULL; in spl_ptr_llist_pop()
260 head->next->prev = NULL; in spl_ptr_llist_shift()
768 if (element->prev) { in PHP_METHOD()
769 element->prev->next = element->next; in PHP_METHOD()
773 element->next->prev = element->prev; in PHP_METHOD()
782 llist->tail = element->prev; in PHP_METHOD()
835 *traverse_pointer_ptr = old->prev; in spl_dllist_it_helper_move_forward()
839 zval prev; in spl_dllist_it_helper_move_forward() local
840 spl_ptr_llist_pop(llist, &prev); in spl_dllist_it_helper_move_forward()
842 zval_ptr_dtor(&prev); in spl_dllist_it_helper_move_forward()
848 zval prev; in spl_dllist_it_helper_move_forward() local
849 spl_ptr_llist_shift(llist, &prev); in spl_dllist_it_helper_move_forward()
851 zval_ptr_dtor(&prev); in spl_dllist_it_helper_move_forward()
926 PHP_METHOD(SplDoublyLinkedList, prev) in PHP_METHOD() argument
1191 elem->prev = element->prev; in PHP_METHOD()
1194 if (elem->prev == NULL) { in PHP_METHOD()
1197 element->prev->next = elem; in PHP_METHOD()
1199 element->prev = elem; in PHP_METHOD()