Lines Matching refs:ref

124 	zend_reference *ref;  in zend_jit_unref_helper()  local
127 ref = Z_REF_P(zv); in zend_jit_unref_helper()
128 ZVAL_COPY_VALUE(zv, &ref->val); in zend_jit_unref_helper()
129 if (GC_DELREF(ref) == 0) { in zend_jit_unref_helper()
130 efree_size(ref, sizeof(zend_reference)); in zend_jit_unref_helper()
1769 zend_reference *ref; in zend_jit_fetch_global_helper() local
1808 ref = Z_REF_P(value); in zend_jit_fetch_global_helper()
1810 ref = Z_REF_P(value); in zend_jit_fetch_global_helper()
1811 GC_ADDREF(ref); in zend_jit_fetch_global_helper()
1814 return ref; in zend_jit_fetch_global_helper()
2145 static zend_always_inline zval* zend_jit_assign_to_typed_ref_helper(zend_reference *ref, zval *valu… in zend_jit_assign_to_typed_ref_helper() argument
2149 ZVAL_REF(&variable, ref); in zend_jit_assign_to_typed_ref_helper()
2153 static zval* ZEND_FASTCALL zend_jit_assign_const_to_typed_ref(zend_reference *ref, zval *value) in zend_jit_assign_const_to_typed_ref() argument
2155 return zend_jit_assign_to_typed_ref_helper(ref, value, IS_CONST); in zend_jit_assign_const_to_typed_ref()
2158 static zval* ZEND_FASTCALL zend_jit_assign_tmp_to_typed_ref(zend_reference *ref, zval *value) in zend_jit_assign_tmp_to_typed_ref() argument
2160 return zend_jit_assign_to_typed_ref_helper(ref, value, IS_TMP_VAR); in zend_jit_assign_tmp_to_typed_ref()
2163 static zval* ZEND_FASTCALL zend_jit_assign_var_to_typed_ref(zend_reference *ref, zval *value) in zend_jit_assign_var_to_typed_ref() argument
2165 return zend_jit_assign_to_typed_ref_helper(ref, value, IS_VAR); in zend_jit_assign_var_to_typed_ref()
2168 static zval* ZEND_FASTCALL zend_jit_assign_cv_to_typed_ref(zend_reference *ref, zval *value) in zend_jit_assign_cv_to_typed_ref() argument
2182 return zend_jit_assign_to_typed_ref_helper(ref, value, IS_CV); in zend_jit_assign_cv_to_typed_ref()
2185 static zend_always_inline zval* zend_jit_assign_to_typed_ref2_helper(zend_reference *ref, zval *val… in zend_jit_assign_to_typed_ref2_helper() argument
2190 ZVAL_REF(&variable, ref); in zend_jit_assign_to_typed_ref2_helper()
2199 static zval* ZEND_FASTCALL zend_jit_assign_const_to_typed_ref2(zend_reference *ref, zval *value, zv… in zend_jit_assign_const_to_typed_ref2() argument
2201 return zend_jit_assign_to_typed_ref2_helper(ref, value, result, IS_CONST); in zend_jit_assign_const_to_typed_ref2()
2204 static zval* ZEND_FASTCALL zend_jit_assign_tmp_to_typed_ref2(zend_reference *ref, zval *value, zval… in zend_jit_assign_tmp_to_typed_ref2() argument
2206 return zend_jit_assign_to_typed_ref2_helper(ref, value, result, IS_TMP_VAR); in zend_jit_assign_tmp_to_typed_ref2()
2209 static zval* ZEND_FASTCALL zend_jit_assign_var_to_typed_ref2(zend_reference *ref, zval *value, zval… in zend_jit_assign_var_to_typed_ref2() argument
2211 return zend_jit_assign_to_typed_ref2_helper(ref, value, result, IS_VAR); in zend_jit_assign_var_to_typed_ref2()
2214 static zval* ZEND_FASTCALL zend_jit_assign_cv_to_typed_ref2(zend_reference *ref, zval *value, zval … in zend_jit_assign_cv_to_typed_ref2() argument
2228 return zend_jit_assign_to_typed_ref2_helper(ref, value, result, IS_CV); in zend_jit_assign_cv_to_typed_ref2()
2231 static zend_property_info *zend_jit_get_prop_not_accepting_double(zend_reference *ref) in zend_jit_get_prop_not_accepting_double() argument
2234 ZEND_REF_FOREACH_TYPE_SOURCES(ref, prop) { in zend_jit_get_prop_not_accepting_double()
2242 static ZEND_COLD void zend_jit_throw_inc_ref_error(zend_reference *ref, zend_property_info *error_p… in zend_jit_throw_inc_ref_error() argument
2254 static ZEND_COLD void zend_jit_throw_dec_ref_error(zend_reference *ref, zend_property_info *error_p… in zend_jit_throw_dec_ref_error() argument
2266 static void ZEND_FASTCALL zend_jit_pre_inc_typed_ref(zend_reference *ref, zval *ret) in zend_jit_pre_inc_typed_ref() argument
2268 zval *var_ptr = &ref->val; in zend_jit_pre_inc_typed_ref()
2276 zend_property_info *error_prop = zend_jit_get_prop_not_accepting_double(ref); in zend_jit_pre_inc_typed_ref()
2278 zend_jit_throw_inc_ref_error(ref, error_prop); in zend_jit_pre_inc_typed_ref()
2281 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_pre_inc_typed_ref()
2292 static void ZEND_FASTCALL zend_jit_pre_dec_typed_ref(zend_reference *ref, zval *ret) in zend_jit_pre_dec_typed_ref() argument
2294 zval *var_ptr = &ref->val; in zend_jit_pre_dec_typed_ref()
2302 zend_property_info *error_prop = zend_jit_get_prop_not_accepting_double(ref); in zend_jit_pre_dec_typed_ref()
2304 zend_jit_throw_dec_ref_error(ref, error_prop); in zend_jit_pre_dec_typed_ref()
2307 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_pre_dec_typed_ref()
2318 static void ZEND_FASTCALL zend_jit_post_inc_typed_ref(zend_reference *ref, zval *ret) in zend_jit_post_inc_typed_ref() argument
2320 zval *var_ptr = &ref->val; in zend_jit_post_inc_typed_ref()
2326 zend_property_info *error_prop = zend_jit_get_prop_not_accepting_double(ref); in zend_jit_post_inc_typed_ref()
2328 zend_jit_throw_inc_ref_error(ref, error_prop); in zend_jit_post_inc_typed_ref()
2331 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_post_inc_typed_ref()
2337 static void ZEND_FASTCALL zend_jit_post_dec_typed_ref(zend_reference *ref, zval *ret) in zend_jit_post_dec_typed_ref() argument
2339 zval *var_ptr = &ref->val; in zend_jit_post_dec_typed_ref()
2345 zend_property_info *error_prop = zend_jit_get_prop_not_accepting_double(ref); in zend_jit_post_dec_typed_ref()
2347 zend_jit_throw_dec_ref_error(ref, error_prop); in zend_jit_post_dec_typed_ref()
2350 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_post_dec_typed_ref()
2356 static void ZEND_FASTCALL zend_jit_assign_op_to_typed_ref(zend_reference *ref, zval *val, binary_op… in zend_jit_assign_op_to_typed_ref() argument
2361 if (binary_op == concat_function && Z_TYPE(ref->val) == IS_STRING) { in zend_jit_assign_op_to_typed_ref()
2362 concat_function(&ref->val, &ref->val, val); in zend_jit_assign_op_to_typed_ref()
2363 ZEND_ASSERT(Z_TYPE(ref->val) == IS_STRING && "Concat should return string"); in zend_jit_assign_op_to_typed_ref()
2367 binary_op(&z_copy, &ref->val, val); in zend_jit_assign_op_to_typed_ref()
2368 …if (EXPECTED(zend_verify_ref_assignable_zval(ref, &z_copy, ZEND_CALL_USES_STRICT_TYPES(EG(current_… in zend_jit_assign_op_to_typed_ref()
2369 zval_ptr_dtor(&ref->val); in zend_jit_assign_op_to_typed_ref()
2370 ZVAL_COPY_VALUE(&ref->val, &z_copy); in zend_jit_assign_op_to_typed_ref()
2376 static void ZEND_FASTCALL zend_jit_assign_op_to_typed_ref_tmp(zend_reference *ref, zval *val, binar… in zend_jit_assign_op_to_typed_ref_tmp() argument
2380 binary_op(&z_copy, &ref->val, val); in zend_jit_assign_op_to_typed_ref_tmp()
2381 …if (EXPECTED(zend_verify_ref_assignable_zval(ref, &z_copy, ZEND_CALL_USES_STRICT_TYPES(EG(current_… in zend_jit_assign_op_to_typed_ref_tmp()
2382 zval_ptr_dtor(&ref->val); in zend_jit_assign_op_to_typed_ref_tmp()
2383 ZVAL_COPY_VALUE(&ref->val, &z_copy); in zend_jit_assign_op_to_typed_ref_tmp()
2451 static zval * ZEND_FASTCALL zend_jit_prepare_assign_dim_ref(zval *ref) { in zend_jit_prepare_assign_dim_ref() argument
2452 zval *val = Z_REFVAL_P(ref); in zend_jit_prepare_assign_dim_ref()
2454 if (ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(ref)) in zend_jit_prepare_assign_dim_ref()
2455 && !zend_verify_ref_array_assignable(Z_REF_P(ref))) { in zend_jit_prepare_assign_dim_ref()
2655 zend_reference *ref; in zend_jit_assign_obj_op_helper() local
2659 ref = Z_REF_P(zptr); in zend_jit_assign_obj_op_helper()
2661 if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(ref))) { in zend_jit_assign_obj_op_helper()
2662 zend_jit_assign_op_to_typed_ref(ref, value, binary_op); in zend_jit_assign_obj_op_helper()
2883 zend_reference *ref = Z_REF_P(prop); in zend_jit_pre_inc_obj_helper() local
2885 if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(ref))) { in zend_jit_pre_inc_obj_helper()
2886 zend_jit_pre_inc_typed_ref(ref, result); in zend_jit_pre_inc_obj_helper()
2953 zend_reference *ref = Z_REF_P(prop); in zend_jit_pre_dec_obj_helper() local
2955 if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(ref))) { in zend_jit_pre_dec_obj_helper()
2956 zend_jit_pre_dec_typed_ref(ref, result); in zend_jit_pre_dec_obj_helper()
3021 zend_reference *ref = Z_REF_P(prop); in zend_jit_post_inc_obj_helper() local
3023 if (ZEND_REF_HAS_TYPE_SOURCES(ref)) { in zend_jit_post_inc_obj_helper()
3024 zend_jit_post_inc_typed_ref(ref, result); in zend_jit_post_inc_obj_helper()
3082 zend_reference *ref = Z_REF_P(prop); in zend_jit_post_dec_obj_helper() local
3084 if (ZEND_REF_HAS_TYPE_SOURCES(ref)) { in zend_jit_post_dec_obj_helper()
3085 zend_jit_post_dec_typed_ref(ref, result); in zend_jit_post_dec_obj_helper()