Lines Matching refs:current
154 spl_ptr_llist_element *current = llist->head, *next; in spl_ptr_llist_destroy() local
157 while (current) { in spl_ptr_llist_destroy()
158 next = current->next; in spl_ptr_llist_destroy()
160 dtor(current); in spl_ptr_llist_destroy()
162 SPL_LLIST_DELREF(current); in spl_ptr_llist_destroy()
163 current = next; in spl_ptr_llist_destroy()
173 spl_ptr_llist_element *current; in spl_ptr_llist_offset() local
177 current = llist->tail; in spl_ptr_llist_offset()
179 current = llist->head; in spl_ptr_llist_offset()
182 while (current && pos < offset) { in spl_ptr_llist_offset()
185 current = current->prev; in spl_ptr_llist_offset()
187 current = current->next; in spl_ptr_llist_offset()
191 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, ¤t->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
520 while (current) { in spl_dllist_object_get_debug_info()
521 next = current->next; in spl_dllist_object_get_debug_info()
523 add_index_zval(&dllist_array, i, ¤t->data); in spl_dllist_object_get_debug_info()
524 if (Z_REFCOUNTED(current->data)) { in spl_dllist_object_get_debug_info()
525 Z_ADDREF(current->data); in spl_dllist_object_get_debug_info()
529 current = next; in spl_dllist_object_get_debug_info()
543 spl_ptr_llist_element *current = intern->llist->head; in spl_dllist_object_get_gc() local
551 while (current) { in spl_dllist_object_get_gc()
552 ZVAL_COPY_VALUE(&intern->gc_data[i++], ¤t->data); in spl_dllist_object_get_gc()
553 current = current->next; in spl_dllist_object_get_gc()
1111 SPL_METHOD(SplDoublyLinkedList, current) in SPL_METHOD() argument
1137 spl_ptr_llist_element *current = intern->llist->head, *next; in SPL_METHOD() local
1153 while (current) { in SPL_METHOD()
1155 next = current->next; in SPL_METHOD()
1157 php_var_serialize(&buf, ¤t->data, &var_hash); in SPL_METHOD()
1159 current = next; in SPL_METHOD()
1379 SPL_ME(SplDoublyLinkedList, current, arginfo_dllist_void, ZEND_ACC_PUBLIC)