Lines Matching refs:caching
1473 intern->u.caching.flags |= flags & CIT_PUBLIC; in spl_dual_it_construct()
1474 array_init(&intern->u.caching.zcache); in spl_dual_it_construct()
1634 if (Z_TYPE(intern->u.caching.zstr) != IS_UNDEF) { in spl_dual_it_free()
1635 zval_ptr_dtor(&intern->u.caching.zstr); in spl_dual_it_free()
1636 ZVAL_UNDEF(&intern->u.caching.zstr); in spl_dual_it_free()
1638 if (Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF) { in spl_dual_it_free()
1639 zval_ptr_dtor(&intern->u.caching.zchildren); in spl_dual_it_free()
1640 ZVAL_UNDEF(&intern->u.caching.zchildren); in spl_dual_it_free()
2301 zval_ptr_dtor(&object->u.caching.zcache); in spl_dual_it_free_storage()
2601 return intern->u.caching.flags & CIT_VALID ? SUCCESS : FAILURE; in spl_caching_it_valid()
2612 intern->u.caching.flags |= CIT_VALID; in spl_caching_it_next()
2614 if (intern->u.caching.flags & CIT_FULL_CACHE) { in spl_caching_it_next()
2620 array_set_zval_key(Z_ARRVAL(intern->u.caching.zcache), key, data); in spl_caching_it_next()
2629 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2639 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2646 ZVAL_LONG(&zflags, intern->u.caching.flags & CIT_PUBLIC); in spl_caching_it_next()
2647 …spl_instantiate_arg_ex2(spl_ce_RecursiveCachingIterator, &intern->u.caching.zchildren, &zchildren,… in spl_caching_it_next()
2653 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2661 if (intern->u.caching.flags & (CIT_TOSTRING_USE_INNER|CIT_CALL_TOSTRING)) { in spl_caching_it_next()
2664 if (intern->u.caching.flags & CIT_TOSTRING_USE_INNER) { in spl_caching_it_next()
2665 ZVAL_COPY_VALUE(&intern->u.caching.zstr, &intern->inner.zobject); in spl_caching_it_next()
2667 ZVAL_COPY_VALUE(&intern->u.caching.zstr, &intern->current.data); in spl_caching_it_next()
2669 use_copy = zend_make_printable_zval(&intern->u.caching.zstr, &expr_copy); in spl_caching_it_next()
2671 ZVAL_COPY_VALUE(&intern->u.caching.zstr, &expr_copy); in spl_caching_it_next()
2673 Z_TRY_ADDREF(intern->u.caching.zstr); in spl_caching_it_next()
2678 intern->u.caching.flags &= ~CIT_VALID; in spl_caching_it_next()
2685 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in spl_caching_it_rewind()
2764 …if (!(intern->u.caching.flags & (CIT_CALL_TOSTRING|CIT_TOSTRING_USE_KEY|CIT_TOSTRING_USE_CURRENT|C… in SPL_METHOD()
2768 if (intern->u.caching.flags & CIT_TOSTRING_USE_KEY) { in SPL_METHOD()
2772 } else if (intern->u.caching.flags & CIT_TOSTRING_USE_CURRENT) { in SPL_METHOD()
2777 if (Z_TYPE(intern->u.caching.zstr) == IS_STRING) { in SPL_METHOD()
2778 RETURN_STR_COPY(Z_STR_P(&intern->u.caching.zstr)); in SPL_METHOD()
2794 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in SPL_METHOD()
2804 zend_symtable_update(Z_ARRVAL(intern->u.caching.zcache), key, value); in SPL_METHOD()
2818 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in SPL_METHOD()
2827 if ((value = zend_symtable_find(Z_ARRVAL(intern->u.caching.zcache), key)) == NULL) { in SPL_METHOD()
2845 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in SPL_METHOD()
2854 zend_symtable_del(Z_ARRVAL(intern->u.caching.zcache), key); in SPL_METHOD()
2867 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in SPL_METHOD()
2876 RETURN_BOOL(zend_symtable_exists(Z_ARRVAL(intern->u.caching.zcache), key)); in SPL_METHOD()
2892 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in SPL_METHOD()
2897 ZVAL_COPY(return_value, &intern->u.caching.zcache); in SPL_METHOD()
2913 RETURN_LONG(intern->u.caching.flags); in SPL_METHOD()
2934 if ((intern->u.caching.flags & CIT_CALL_TOSTRING) != 0 && (flags & CIT_CALL_TOSTRING) == 0) { in SPL_METHOD()
2938 …if ((intern->u.caching.flags & CIT_TOSTRING_USE_INNER) != 0 && (flags & CIT_TOSTRING_USE_INNER) ==… in SPL_METHOD()
2942 if ((flags & CIT_FULL_CACHE) != 0 && (intern->u.caching.flags & CIT_FULL_CACHE) == 0) { in SPL_METHOD()
2944 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in SPL_METHOD()
2946 intern->u.caching.flags = (intern->u.caching.flags & ~CIT_PUBLIC) | (flags & CIT_PUBLIC); in SPL_METHOD()
2962 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in SPL_METHOD()
2967 RETURN_LONG(zend_hash_num_elements(Z_ARRVAL(intern->u.caching.zcache))); in SPL_METHOD()
3029 RETURN_BOOL(Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF); in SPL_METHOD()
3044 if (Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF) { in SPL_METHOD()
3045 zval *value = &intern->u.caching.zchildren; in SPL_METHOD()