Lines Matching refs:iter

134 	zend_user_iterator *iter = (zend_user_iterator*)_iter;  in zend_user_it_invalidate_current()  local
136 if (!Z_ISUNDEF(iter->value)) { in zend_user_it_invalidate_current()
137 zval_ptr_dtor(&iter->value); in zend_user_it_invalidate_current()
138 ZVAL_UNDEF(&iter->value); in zend_user_it_invalidate_current()
146 zend_user_iterator *iter = (zend_user_iterator*)_iter; in zend_user_it_dtor() local
147 zval *object = &iter->it.data; in zend_user_it_dtor()
158 zend_user_iterator *iter = (zend_user_iterator*)_iter; in zend_user_it_valid() local
159 zval *object = &iter->it.data; in zend_user_it_valid()
163 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_valid, "valid",… in zend_user_it_valid()
175 zend_user_iterator *iter = (zend_user_iterator*)_iter; in zend_user_it_get_current_data() local
176 zval *object = &iter->it.data; in zend_user_it_get_current_data()
178 if (Z_ISUNDEF(iter->value)) { in zend_user_it_get_current_data()
179 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_current, "curre… in zend_user_it_get_current_data()
181 return &iter->value; in zend_user_it_get_current_data()
188 zend_user_iterator *iter = (zend_user_iterator*)_iter; in zend_user_it_get_current_key() local
189 zval *object = &iter->it.data; in zend_user_it_get_current_key()
192 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_key, "key", &re… in zend_user_it_get_current_key()
198 zend_error(E_WARNING, "Nothing returned from %s::key()", ZSTR_VAL(iter->ce->name)); in zend_user_it_get_current_key()
209 zend_user_iterator *iter = (zend_user_iterator*)_iter; in zend_user_it_move_forward() local
210 zval *object = &iter->it.data; in zend_user_it_move_forward()
213 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_next, "next", N… in zend_user_it_move_forward()
220 zend_user_iterator *iter = (zend_user_iterator*)_iter; in zend_user_it_rewind() local
221 zval *object = &iter->it.data; in zend_user_it_rewind()
224 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_rewind, "rewind… in zend_user_it_rewind()