Lines Matching refs:caching
1337 intern->u.caching.flags |= flags & CIT_PUBLIC; in spl_dual_it_construct()
1338 array_init(&intern->u.caching.zcache); in spl_dual_it_construct()
1492 if (Z_TYPE(intern->u.caching.zstr) != IS_UNDEF) { in spl_dual_it_free()
1493 zval_ptr_dtor(&intern->u.caching.zstr); in spl_dual_it_free()
1494 ZVAL_UNDEF(&intern->u.caching.zstr); in spl_dual_it_free()
1496 if (Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF) { in spl_dual_it_free()
1497 zval_ptr_dtor(&intern->u.caching.zchildren); in spl_dual_it_free()
1498 ZVAL_UNDEF(&intern->u.caching.zchildren); in spl_dual_it_free()
2104 zval_ptr_dtor(&object->u.caching.zcache); in spl_dual_it_free_storage()
2160 zend_get_gc_buffer_add_zval(gc_buffer, &object->u.caching.zcache); in spl_dual_it_get_gc()
2323 return intern->u.caching.flags & CIT_VALID ? SUCCESS : FAILURE; in spl_caching_it_valid()
2334 intern->u.caching.flags |= CIT_VALID; in spl_caching_it_next()
2336 if (intern->u.caching.flags & CIT_FULL_CACHE) { in spl_caching_it_next()
2341 array_set_zval_key(Z_ARRVAL(intern->u.caching.zcache), key, data); in spl_caching_it_next()
2349 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2359 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2366 ZVAL_LONG(&zflags, intern->u.caching.flags & CIT_PUBLIC); in spl_caching_it_next()
2367 …spl_instantiate_arg_ex2(spl_ce_RecursiveCachingIterator, &intern->u.caching.zchildren, &zchildren,… in spl_caching_it_next()
2373 if (intern->u.caching.flags & CIT_CATCH_GET_CHILD) { in spl_caching_it_next()
2381 if (intern->u.caching.flags & (CIT_TOSTRING_USE_INNER|CIT_CALL_TOSTRING)) { in spl_caching_it_next()
2384 if (intern->u.caching.flags & CIT_TOSTRING_USE_INNER) { in spl_caching_it_next()
2385 ZVAL_COPY_VALUE(&intern->u.caching.zstr, &intern->inner.zobject); in spl_caching_it_next()
2387 ZVAL_COPY_VALUE(&intern->u.caching.zstr, &intern->current.data); in spl_caching_it_next()
2389 use_copy = zend_make_printable_zval(&intern->u.caching.zstr, &expr_copy); in spl_caching_it_next()
2391 ZVAL_COPY_VALUE(&intern->u.caching.zstr, &expr_copy); in spl_caching_it_next()
2393 Z_TRY_ADDREF(intern->u.caching.zstr); in spl_caching_it_next()
2398 intern->u.caching.flags &= ~CIT_VALID; in spl_caching_it_next()
2405 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in spl_caching_it_rewind()
2482 …if (!(intern->u.caching.flags & (CIT_CALL_TOSTRING|CIT_TOSTRING_USE_KEY|CIT_TOSTRING_USE_CURRENT|C… in PHP_METHOD()
2487 if (intern->u.caching.flags & CIT_TOSTRING_USE_KEY) { in PHP_METHOD()
2491 } else if (intern->u.caching.flags & CIT_TOSTRING_USE_CURRENT) { in PHP_METHOD()
2496 if (Z_TYPE(intern->u.caching.zstr) == IS_STRING) { in PHP_METHOD()
2497 RETURN_STR_COPY(Z_STR_P(&intern->u.caching.zstr)); in PHP_METHOD()
2516 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2522 zend_symtable_update(Z_ARRVAL(intern->u.caching.zcache), key, value); in PHP_METHOD()
2539 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2544 if ((value = zend_symtable_find(Z_ARRVAL(intern->u.caching.zcache), key)) == NULL) { in PHP_METHOD()
2565 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2570 zend_symtable_del(Z_ARRVAL(intern->u.caching.zcache), key); in PHP_METHOD()
2586 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2591 RETURN_BOOL(zend_symtable_exists(Z_ARRVAL(intern->u.caching.zcache), key)); in PHP_METHOD()
2606 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2611 ZVAL_COPY(return_value, &intern->u.caching.zcache); in PHP_METHOD()
2626 RETURN_LONG(intern->u.caching.flags); in PHP_METHOD()
2648 if ((intern->u.caching.flags & CIT_CALL_TOSTRING) != 0 && (flags & CIT_CALL_TOSTRING) == 0) { in PHP_METHOD()
2652 …if ((intern->u.caching.flags & CIT_TOSTRING_USE_INNER) != 0 && (flags & CIT_TOSTRING_USE_INNER) ==… in PHP_METHOD()
2656 if ((flags & CIT_FULL_CACHE) != 0 && (intern->u.caching.flags & CIT_FULL_CACHE) == 0) { in PHP_METHOD()
2658 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in PHP_METHOD()
2660 intern->u.caching.flags = (intern->u.caching.flags & ~CIT_PUBLIC) | (flags & CIT_PUBLIC); in PHP_METHOD()
2675 if (!(intern->u.caching.flags & CIT_FULL_CACHE)) { in PHP_METHOD()
2680 RETURN_LONG(zend_hash_num_elements(Z_ARRVAL(intern->u.caching.zcache))); in PHP_METHOD()
2701 RETURN_BOOL(Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF); in PHP_METHOD()
2715 if (Z_TYPE(intern->u.caching.zchildren) != IS_UNDEF) { in PHP_METHOD()
2716 zval *value = &intern->u.caching.zchildren; in PHP_METHOD()