Lines Matching refs:overloaded_result
977 zval *overloaded_result; in zend_fetch_dimension_address() local
984 overloaded_result = Z_OBJ_HT_P(container)->read_dimension(container, dim, type TSRMLS_CC); in zend_fetch_dimension_address()
986 if (overloaded_result) { in zend_fetch_dimension_address()
987 if (!Z_ISREF_P(overloaded_result)) { in zend_fetch_dimension_address()
988 if (Z_REFCOUNT_P(overloaded_result) > 0) { in zend_fetch_dimension_address()
989 zval *tmp = overloaded_result; in zend_fetch_dimension_address()
991 ALLOC_ZVAL(overloaded_result); in zend_fetch_dimension_address()
992 *overloaded_result = *tmp; in zend_fetch_dimension_address()
993 zval_copy_ctor(overloaded_result); in zend_fetch_dimension_address()
994 Z_UNSET_ISREF_P(overloaded_result); in zend_fetch_dimension_address()
995 Z_SET_REFCOUNT_P(overloaded_result, 0); in zend_fetch_dimension_address()
997 if (Z_TYPE_P(overloaded_result) != IS_OBJECT) { in zend_fetch_dimension_address()
1002 retval = &overloaded_result; in zend_fetch_dimension_address()
1099 zval *overloaded_result; in zend_fetch_dimension_address_read() local
1106 overloaded_result = Z_OBJ_HT_P(container)->read_dimension(container, dim, type TSRMLS_CC); in zend_fetch_dimension_address_read()
1108 if (overloaded_result) { in zend_fetch_dimension_address_read()
1110 AI_SET_PTR(result->var, overloaded_result); in zend_fetch_dimension_address_read()
1111 PZVAL_LOCK(overloaded_result); in zend_fetch_dimension_address_read()
1112 } else if (Z_REFCOUNT_P(overloaded_result) == 0) { in zend_fetch_dimension_address_read()
1114 Z_SET_REFCOUNT_P(overloaded_result, 1); in zend_fetch_dimension_address_read()
1115 zval_ptr_dtor(&overloaded_result); in zend_fetch_dimension_address_read()