Lines Matching refs:current

152 	spl_ptr_llist_element   *current = llist->head, *next;  in spl_ptr_llist_destroy()  local
155 while (current) { in spl_ptr_llist_destroy()
156 next = current->next; in spl_ptr_llist_destroy()
158 dtor(current); in spl_ptr_llist_destroy()
160 SPL_LLIST_DELREF(current); in spl_ptr_llist_destroy()
161 current = next; in spl_ptr_llist_destroy()
171 spl_ptr_llist_element *current; in spl_ptr_llist_offset() local
175 current = llist->tail; in spl_ptr_llist_offset()
177 current = llist->head; in spl_ptr_llist_offset()
180 while (current && pos < offset) { in spl_ptr_llist_offset()
183 current = current->prev; in spl_ptr_llist_offset()
185 current = current->next; in spl_ptr_llist_offset()
189 return current; in spl_ptr_llist_offset()
326 spl_ptr_llist_element *current = from->head, *next; in spl_ptr_llist_copy() local
329 while (current) { in spl_ptr_llist_copy()
330 next = current->next; in spl_ptr_llist_copy()
338 spl_ptr_llist_push(to, &current->data); in spl_ptr_llist_copy()
339 current = next; in spl_ptr_llist_copy()
498 spl_ptr_llist_element *current = intern->llist->head, *next; in spl_dllist_object_get_debug_info() local
519 while (current) { in spl_dllist_object_get_debug_info()
520 next = current->next; in spl_dllist_object_get_debug_info()
522 add_index_zval(&dllist_array, i, &current->data); in spl_dllist_object_get_debug_info()
523 if (Z_REFCOUNTED(current->data)) { in spl_dllist_object_get_debug_info()
524 Z_ADDREF(current->data); in spl_dllist_object_get_debug_info()
528 current = next; in spl_dllist_object_get_debug_info()
542 spl_ptr_llist_element *current = intern->llist->head; in spl_dllist_object_get_gc() local
550 while (current) { in spl_dllist_object_get_gc()
551 ZVAL_COPY_VALUE(&intern->gc_data[i++], &current->data); in spl_dllist_object_get_gc()
552 current = current->next; in spl_dllist_object_get_gc()
1107 SPL_METHOD(SplDoublyLinkedList, current) in SPL_METHOD() argument
1132 spl_ptr_llist_element *current = intern->llist->head, *next; in SPL_METHOD() local
1147 while (current) { in SPL_METHOD()
1149 next = current->next; in SPL_METHOD()
1151 php_var_serialize(&buf, &current->data, &var_hash); in SPL_METHOD()
1153 current = next; in SPL_METHOD()
1377 SPL_ME(SplDoublyLinkedList, current, arginfo_dllist_void, ZEND_ACC_PUBLIC)