Lines Matching refs:prev
64 struct _spl_ptr_llist_element *prev; member
181 current = current->prev; in spl_ptr_llist_offset()
195 elem->prev = NULL; in spl_ptr_llist_unshift()
201 llist->head->prev = elem; in spl_ptr_llist_unshift()
219 elem->prev = llist->tail; in spl_ptr_llist_push()
248 if (tail->prev) { in spl_ptr_llist_pop()
249 tail->prev->next = NULL; in spl_ptr_llist_pop()
254 llist->tail = tail->prev; in spl_ptr_llist_pop()
258 tail->prev = NULL; in spl_ptr_llist_pop()
303 head->next->prev = NULL; in spl_ptr_llist_shift()
838 if (element->prev) { in PHP_METHOD()
839 element->prev->next = element->next; in PHP_METHOD()
843 element->next->prev = element->prev; in PHP_METHOD()
852 llist->tail = element->prev; in PHP_METHOD()
909 *traverse_pointer_ptr = old->prev; in spl_dllist_it_helper_move_forward()
913 zval prev; in spl_dllist_it_helper_move_forward() local
914 spl_ptr_llist_pop(llist, &prev); in spl_dllist_it_helper_move_forward()
916 zval_ptr_dtor(&prev); in spl_dllist_it_helper_move_forward()
922 zval prev; in spl_dllist_it_helper_move_forward() local
923 spl_ptr_llist_shift(llist, &prev); in spl_dllist_it_helper_move_forward()
925 zval_ptr_dtor(&prev); in spl_dllist_it_helper_move_forward()
1002 PHP_METHOD(SplDoublyLinkedList, prev) in PHP_METHOD() argument
1265 elem->prev = element->prev; in PHP_METHOD()
1268 if (elem->prev == NULL) { in PHP_METHOD()
1271 element->prev->next = elem; in PHP_METHOD()
1273 element->prev = elem; in PHP_METHOD()