Lines Matching refs:caching
133 } caching; member
1376 intern->u.caching.flags |= flags & CIT_PUBLIC; in spl_dual_it_construct()
1377 array_init(&intern->u.caching.zcache); in spl_dual_it_construct()
1529 if (intern->u.caching.zstr) { in spl_dual_it_free()
1530 zend_string_release(intern->u.caching.zstr); in spl_dual_it_free()
1531 intern->u.caching.zstr = NULL; in spl_dual_it_free()
1533 if (Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF) { in spl_dual_it_free()
1534 zval_ptr_dtor(&intern->u.caching.zchildren); in spl_dual_it_free()
1535 ZVAL_UNDEF(&intern->u.caching.zchildren); in spl_dual_it_free()
2134 zval_ptr_dtor(&object->u.caching.zcache); in spl_dual_it_free_storage()
2194 zend_get_gc_buffer_add_zval(gc_buffer, &object->u.caching.zcache); in spl_dual_it_get_gc()
2195 zend_get_gc_buffer_add_zval(gc_buffer, &object->u.caching.zchildren); in spl_dual_it_get_gc()
2358 return intern->u.caching.flags & CIT_VALID ? SUCCESS : FAILURE; in spl_caching_it_valid()
2369 intern->u.caching.flags |= CIT_VALID; in spl_caching_it_next()
2371 if (intern->u.caching.flags & CIT_FULL_CACHE) { in spl_caching_it_next()
2376 array_set_zval_key(Z_ARRVAL(intern->u.caching.zcache), key, data); in spl_caching_it_next()
2384 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2394 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2401 ZVAL_LONG(&zflags, intern->u.caching.flags & CIT_PUBLIC); in spl_caching_it_next()
2402 …spl_instantiate_arg_ex2(spl_ce_RecursiveCachingIterator, &intern->u.caching.zchildren, &zchildren,… in spl_caching_it_next()
2408 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2416 if (intern->u.caching.flags & (CIT_TOSTRING_USE_INNER|CIT_CALL_TOSTRING)) { in spl_caching_it_next()
2417 if (intern->u.caching.flags & CIT_TOSTRING_USE_INNER) { in spl_caching_it_next()
2418 intern->u.caching.zstr = zval_get_string(&intern->inner.zobject); in spl_caching_it_next()
2420 intern->u.caching.zstr = zval_get_string(&intern->current.data); in spl_caching_it_next()
2425 intern->u.caching.flags &= ~CIT_VALID; in spl_caching_it_next()
2432 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in spl_caching_it_rewind()
2509 …if (!(intern->u.caching.flags & (CIT_CALL_TOSTRING|CIT_TOSTRING_USE_KEY|CIT_TOSTRING_USE_CURRENT|C… in PHP_METHOD()
2514 if (intern->u.caching.flags & CIT_TOSTRING_USE_KEY) { in PHP_METHOD()
2518 } else if (intern->u.caching.flags & CIT_TOSTRING_USE_CURRENT) { in PHP_METHOD()
2523 if (intern->u.caching.zstr) { in PHP_METHOD()
2524 RETURN_STR_COPY(intern->u.caching.zstr); in PHP_METHOD()
2543 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2549 zend_symtable_update(Z_ARRVAL(intern->u.caching.zcache), key, value); in PHP_METHOD()
2566 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2571 if ((value = zend_symtable_find(Z_ARRVAL(intern->u.caching.zcache), key)) == NULL) { in PHP_METHOD()
2592 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2597 zend_symtable_del(Z_ARRVAL(intern->u.caching.zcache), key); in PHP_METHOD()
2613 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2618 RETURN_BOOL(zend_symtable_exists(Z_ARRVAL(intern->u.caching.zcache), key)); in PHP_METHOD()
2633 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2638 ZVAL_COPY(return_value, &intern->u.caching.zcache); in PHP_METHOD()
2653 RETURN_LONG(intern->u.caching.flags); in PHP_METHOD()
2675 if ((intern->u.caching.flags & CIT_CALL_TOSTRING) != 0 && (flags & CIT_CALL_TOSTRING) == 0) { in PHP_METHOD()
2679 …if ((intern->u.caching.flags & CIT_TOSTRING_USE_INNER) != 0 && (flags & CIT_TOSTRING_USE_INNER) ==… in PHP_METHOD()
2683 if ((flags & CIT_FULL_CACHE) != 0 && (intern->u.caching.flags & CIT_FULL_CACHE) == 0) { in PHP_METHOD()
2685 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in PHP_METHOD()
2687 intern->u.caching.flags = (intern->u.caching.flags & ~CIT_PUBLIC) | (flags & CIT_PUBLIC); in PHP_METHOD()
2702 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2707 RETURN_LONG(zend_hash_num_elements(Z_ARRVAL(intern->u.caching.zcache))); in PHP_METHOD()
2728 RETURN_BOOL(Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF); in PHP_METHOD()
2742 if (Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF) { in PHP_METHOD()
2743 zval *value = &intern->u.caching.zchildren; in PHP_METHOD()