Lines Matching refs:current

660 SPL_METHOD(RecursiveIteratorIterator, current)  in SPL_METHOD()  argument
1018 …SPL_ME(RecursiveIteratorIterator, current, arginfo_recursive_it_void, ZEND_ACC…
1203 SPL_METHOD(RecursiveTreeIterator, current) in SPL_METHOD() argument
1335 …SPL_ME(RecursiveTreeIterator, current, arginfo_recursive_it_void, ZEND…
1395 int current = 0; in spl_dual_it_call_method() local
1409 current = 0; in spl_dual_it_call_method()
1411 func_params[current] = (zval **) p - (arg_count-current); in spl_dual_it_call_method()
1412 current++; in spl_dual_it_call_method()
1414 arg_count = current; /* restore */ in spl_dual_it_call_method()
1654 if (Z_TYPE(intern->current.data) != IS_UNDEF) { in spl_dual_it_free()
1655 zval_ptr_dtor(&intern->current.data); in spl_dual_it_free()
1656 ZVAL_UNDEF(&intern->current.data); in spl_dual_it_free()
1658 if (Z_TYPE(intern->current.key) != IS_UNDEF) { in spl_dual_it_free()
1659 zval_ptr_dtor(&intern->current.key); in spl_dual_it_free()
1660 ZVAL_UNDEF(&intern->current.key); in spl_dual_it_free()
1677 intern->current.pos = 0; in spl_dual_it_rewind()
1700 ZVAL_COPY(&intern->current.data, data); in spl_dual_it_fetch()
1704 intern->inner.iterator->funcs->get_current_key(intern->inner.iterator, &intern->current.key); in spl_dual_it_fetch()
1706 zval_ptr_dtor(&intern->current.key); in spl_dual_it_fetch()
1707 ZVAL_UNDEF(&intern->current.key); in spl_dual_it_fetch()
1710 ZVAL_LONG(&intern->current.key, intern->current.pos); in spl_dual_it_fetch()
1726 intern->current.pos++; in spl_dual_it_next()
1762 RETURN_BOOL(Z_TYPE(intern->current.data) != IS_UNDEF); in SPL_METHOD()
1783 if (Z_TYPE(intern->current.key) != IS_UNDEF) { in SPL_METHOD()
1784 zval *value = &intern->current.key; in SPL_METHOD()
1800 SPL_METHOD(dual_it, current) in SPL_METHOD() argument
1810 if (Z_TYPE(intern->current.data) != IS_UNDEF) { in SPL_METHOD()
1811 zval *value = &intern->current.data; in SPL_METHOD()
2002 if (Z_TYPE(intern->current.data) == IS_UNDEF || Z_TYPE(intern->current.key) == IS_UNDEF) { in SPL_METHOD()
2006 ZVAL_COPY_VALUE(&params[0], &intern->current.data); in SPL_METHOD()
2007 ZVAL_COPY_VALUE(&params[1], &intern->current.key); in SPL_METHOD()
2024 ZVAL_COPY_VALUE(&intern->current.data, &params[0]); in SPL_METHOD()
2025 ZVAL_COPY_VALUE(&intern->current.key, &params[1]); in SPL_METHOD()
2044 if (Z_TYPE(intern->current.data) == IS_UNDEF) { in SPL_METHOD()
2049 subject = zval_get_string(&intern->current.key); in SPL_METHOD()
2051 if (Z_TYPE(intern->current.data) == IS_ARRAY) { in SPL_METHOD()
2054 subject = zval_get_string(&intern->current.data); in SPL_METHOD()
2072 zval_ptr_dtor(&intern->current.data); in SPL_METHOD()
2073 ZVAL_UNDEF(&intern->current.data); in SPL_METHOD()
2075 …&intern->current.data, intern->u.regex.mode == REGIT_MODE_ALL_MATCHES, intern->u.regex.use_flags, … in SPL_METHOD()
2080 zval_ptr_dtor(&intern->current.data); in SPL_METHOD()
2081 ZVAL_UNDEF(&intern->current.data); in SPL_METHOD()
2082 …php_pcre_split_impl(intern->u.regex.pce, subject, &intern->current.data, -1, intern->u.regex.preg_… in SPL_METHOD()
2083 count = zend_hash_num_elements(Z_ARRVAL(intern->current.data)); in SPL_METHOD()
2097 zval_ptr_dtor(&intern->current.key); in SPL_METHOD()
2098 ZVAL_STR(&intern->current.key, result); in SPL_METHOD()
2100 zval_ptr_dtor(&intern->current.data); in SPL_METHOD()
2101 ZVAL_STR(&intern->current.data, result); in SPL_METHOD()
2280 if (Z_TYPE(intern->current.data) == IS_UNDEF) { in SPL_METHOD()
2282 } else if (Z_TYPE(intern->current.data) == IS_ARRAY) { in SPL_METHOD()
2283 RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL(intern->current.data)) > 0); in SPL_METHOD()
2380 SPL_ME(dual_it, current, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
2481 …if (intern->u.limit.count != -1 && intern->current.pos >= intern->u.limit.offset + intern->u.limit… in spl_limit_it_valid()
2501 if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { in spl_limit_it_seek()
2507 intern->current.pos = pos; in spl_limit_it_seek()
2515 if (pos < intern->current.pos) { in spl_limit_it_seek()
2518 while (pos > intern->current.pos && spl_dual_it_valid(intern) == SUCCESS) { in spl_limit_it_seek()
2554 …->u.limit.count == -1 || intern->current.pos < intern->u.limit.offset + intern->u.limit.count) && … in SPL_METHOD()
2566 …if (intern->u.limit.count == -1 || intern->current.pos < intern->u.limit.offset + intern->u.limit.… in SPL_METHOD()
2584 RETURN_LONG(intern->current.pos); in SPL_METHOD()
2593 RETURN_LONG(intern->current.pos); in SPL_METHOD()
2620 SPL_ME(dual_it, current, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
2644 zval *key = &intern->current.key; in spl_caching_it_next()
2645 zval *data = &intern->current.data; in spl_caching_it_next()
2696 ZVAL_COPY_VALUE(&intern->u.caching.zstr, &intern->current.data); in spl_caching_it_next()
2798 ZVAL_COPY(return_value, &intern->current.key); in SPL_METHOD()
2802 ZVAL_COPY(return_value, &intern->current.data); in SPL_METHOD()
3026 SPL_ME(dual_it, current, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
3114 SPL_ME(dual_it, current, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
3172 SPL_METHOD(NoRewindIterator, current) in SPL_METHOD() argument
3212 SPL_ME(NoRewindIterator, current, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
3285 SPL_METHOD(EmptyIterator, current) in SPL_METHOD() argument
3306 SPL_ME(EmptyIterator, current, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)
3396 SPL_METHOD(AppendIterator, current) in SPL_METHOD() argument
3407 if (Z_TYPE(intern->current.data) != IS_UNDEF) { in SPL_METHOD()
3408 zval *value = &intern->current.data; in SPL_METHOD()
3447 RETURN_BOOL(Z_TYPE(intern->current.data) != IS_UNDEF); in SPL_METHOD()
3509 SPL_ME(AppendIterator, current, arginfo_recursive_it_void, ZEND_ACC_PUBLIC)