Lines Matching refs:UNEXPECTED

59 	if (UNEXPECTED(func == NULL)) {  in zend_jit_find_func_helper()
63 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_jit_find_func_helper()
77 if (UNEXPECTED(func == NULL)) { in zend_jit_find_ns_func_helper()
82 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_jit_find_ns_func_helper()
99 if (UNEXPECTED(EG(exception) != NULL)) { in zend_jit_invalid_method_call()
144 if (UNEXPECTED(fbc == NULL)) { in zend_jit_find_method_helper()
151 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_jit_find_method_helper()
155 if (UNEXPECTED(obj != *obj_ptr)) { in zend_jit_find_method_helper()
197 if (UNEXPECTED(EG(exception))) { in zend_jit_push_static_metod_call_frame_tmp()
739 if (UNEXPECTED(Z_TYPE_P(retval) == IS_REFERENCE)) { in zend_jit_fetch_dim_isset_helper()
746 if (UNEXPECTED(Z_TYPE_P(retval) == IS_REFERENCE)) { in zend_jit_fetch_dim_isset_helper()
777 if (UNEXPECTED(opline->opcode == ZEND_HANDLE_EXCEPTION)) { in zend_jit_fetch_dim_rw_helper()
1034 if (UNEXPECTED(trailing_data) in zend_check_string_offset()
1065 if (UNEXPECTED((zend_ulong)offset >= (zend_ulong)ZSTR_LEN(str))) { in zend_jit_fetch_dim_str_offset()
1090 if (UNEXPECTED(Z_TYPE_P(dim) != IS_LONG)) { in zend_jit_fetch_dim_str_r_helper()
1095 if (!(GC_FLAGS(str) & IS_STR_INTERNED) && UNEXPECTED(GC_DELREF(str) == 0)) { in zend_jit_fetch_dim_str_r_helper()
1103 if (UNEXPECTED(EG(exception) != NULL)) { in zend_jit_fetch_dim_str_r_helper()
1114 if (UNEXPECTED(Z_TYPE_P(dim) != IS_LONG)) { in zend_jit_fetch_dim_str_is_helper()
1168 if (UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_fetch_dim_obj_r_helper()
1178 } else if (UNEXPECTED(Z_ISREF_P(retval))) { in zend_jit_fetch_dim_obj_r_helper()
1184 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_jit_fetch_dim_obj_r_helper()
1195 if (UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_fetch_dim_obj_is_helper()
1205 } else if (UNEXPECTED(Z_ISREF_P(retval))) { in zend_jit_fetch_dim_obj_is_helper()
1211 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_jit_fetch_dim_obj_is_helper()
1235 if (UNEXPECTED(Z_TYPE_P(dim) != IS_LONG)) { in zend_assign_to_string_offset()
1240 if (UNEXPECTED(GC_DELREF(s) == 0)) { in zend_assign_to_string_offset()
1247 if (UNEXPECTED(EG(exception) != NULL)) { in zend_assign_to_string_offset()
1248 if (UNEXPECTED(result)) { in zend_assign_to_string_offset()
1272 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_assign_to_string_offset()
1282 if (UNEXPECTED(GC_DELREF(s) == 0)) { in zend_assign_to_string_offset()
1292 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset()
1299 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset()
1329 if (UNEXPECTED(GC_DELREF(s) == 0)) { in zend_assign_to_string_offset()
1337 if (UNEXPECTED(EG(exception) != NULL)) { in zend_assign_to_string_offset()
1375 if (dim && UNEXPECTED(Z_ISUNDEF_P(dim))) { in zend_jit_fetch_dim_obj_helper()
1382 if (UNEXPECTED(retval == &EG(uninitialized_zval))) { in zend_jit_fetch_dim_obj_helper()
1397 } else if (UNEXPECTED(Z_REFCOUNT_P(retval) == 1)) { in zend_jit_fetch_dim_obj_helper()
1407 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_jit_fetch_dim_obj_helper()
1414 if (UNEXPECTED(Z_TYPE_P(dim) != IS_LONG)) { in zend_jit_fetch_dim_obj_helper()
1425 if (UNEXPECTED(GC_DELREF(arr) == 0)) { in zend_jit_fetch_dim_obj_helper()
1480 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper()
1486 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_jit_assign_dim_helper()
1503 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_jit_assign_dim_helper()
1512 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_jit_assign_dim_helper()
1529 if (UNEXPECTED(GC_DELREF(arr) == 0)) { in zend_jit_assign_dim_helper()
1553 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper()
1573 if (dim && UNEXPECTED(Z_ISUNDEF_P(dim))) { in zend_jit_assign_dim_op_helper()
1594 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_jit_assign_dim_op_helper()
1600 } else if (UNEXPECTED(Z_TYPE_P(container) == IS_STRING)) { in zend_jit_assign_dim_op_helper()
1604 if (UNEXPECTED(Z_TYPE_P(dim) != IS_LONG)) { in zend_jit_assign_dim_op_helper()
1614 if (UNEXPECTED(GC_DELREF(arr) == 0)) { in zend_jit_assign_dim_op_helper()
1639 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in zend_jit_fast_assign_concat_helper()
1650 if (UNEXPECTED(Z_STR_P(op1) == Z_STR_P(op2))) { in zend_jit_fast_assign_concat_helper()
1675 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in zend_jit_fast_concat_helper()
1699 if (UNEXPECTED(op1_len > SIZE_MAX - op2_len)) { in zend_jit_fast_concat_tmp_helper()
1728 if (UNEXPECTED(Z_TYPE_P(offset) == IS_UNDEF)) { in zend_jit_isset_dim_helper()
1741 if (UNEXPECTED(lval < 0)) { /* Handle negative offset */ in zend_jit_isset_dim_helper()
1787 if (UNEXPECTED(value == NULL)) { in zend_jit_fetch_global_helper()
1798 if (UNEXPECTED(Z_TYPE_P(value) == IS_INDIRECT)) { in zend_jit_fetch_global_helper()
1800 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_jit_fetch_global_helper()
1806 if (UNEXPECTED(!Z_ISREF_P(value))) { in zend_jit_fetch_global_helper()
1824 if (UNEXPECTED(!ret)) { in zend_jit_verify_arg_slow()
1839 if (UNEXPECTED(!zend_check_user_type_slow( in zend_jit_verify_return_slow()
1857 } else if (UNEXPECTED(Z_ISREF_P(retval))) { in zend_jit_fetch_obj_r_slow()
1913 } else if (UNEXPECTED(Z_ISREF_P(retval))) { in zend_jit_fetch_obj_is_slow()
1977 if (UNEXPECTED(slot < obj->properties_table || in zend_object_fetch_property_type_info()
2062 if (UNEXPECTED(Z_ISREF_P(retval) && Z_REFCOUNT_P(retval) == 1)) { in zend_jit_fetch_obj_w_slow()
2067 if (UNEXPECTED(EG(exception))) { in zend_jit_fetch_obj_w_slow()
2071 } else if (UNEXPECTED(Z_ISERROR_P(retval))) { in zend_jit_fetch_obj_w_slow()
2091 if (UNEXPECTED(!zend_handle_fetch_obj_flags(result, retval, zobj, prop_info, flags))) { in zend_jit_fetch_obj_w_slow()
2097 if (UNEXPECTED(Z_TYPE_P(retval) == IS_UNDEF)) { in zend_jit_fetch_obj_w_slow()
2176 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_jit_assign_cv_to_typed_ref()
2222 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_jit_assign_cv_to_typed_ref2()
2281 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE(tmp) == IS_LONG) { in zend_jit_pre_inc_typed_ref()
2283 if (UNEXPECTED(error_prop)) { in zend_jit_pre_inc_typed_ref()
2287 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_pre_inc_typed_ref()
2307 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE(tmp) == IS_LONG) { in zend_jit_pre_dec_typed_ref()
2309 if (UNEXPECTED(error_prop)) { in zend_jit_pre_dec_typed_ref()
2313 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_pre_dec_typed_ref()
2331 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(ret) == IS_LONG) { in zend_jit_post_inc_typed_ref()
2333 if (UNEXPECTED(error_prop)) { in zend_jit_post_inc_typed_ref()
2337 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_post_inc_typed_ref()
2350 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(ret) == IS_LONG) { in zend_jit_post_dec_typed_ref()
2352 if (UNEXPECTED(error_prop)) { in zend_jit_post_dec_typed_ref()
2356 …} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, ZEND_CALL_USES_STRICT_TYPES(E… in zend_jit_post_dec_typed_ref()
2507 if (UNEXPECTED(HT_HAS_ITERATORS(ht))) { in zend_jit_array_free()
2537 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_jit_assign_obj_helper()
2557 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_jit_assign_to_typed_prop()
2564 …if (UNEXPECTED((info->flags & ZEND_ACC_READONLY) && !(Z_PROP_FLAG_P(property_val) & IS_PROP_REINIT… in zend_jit_assign_to_typed_prop()
2575 if (UNEXPECTED(!zend_verify_property_type(info, &tmp, EX_USES_STRICT_TYPES()))) { in zend_jit_assign_to_typed_prop()
2601 if (UNEXPECTED(EG(exception))) { in _zend_jit_assign_op_overloaded_property()
2626 …if (UNEXPECTED((prop_info->flags & ZEND_ACC_READONLY) && !(Z_PROP_FLAG_P(zptr) & IS_PROP_REINITABL… in zend_jit_assign_op_to_typed_prop()
2655 if (UNEXPECTED(Z_ISERROR_P(zptr))) { in zend_jit_assign_obj_op_helper()
2664 if (UNEXPECTED(Z_ISREF_P(zptr))) { in zend_jit_assign_obj_op_helper()
2667 if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(ref))) { in zend_jit_assign_obj_op_helper()
2678 if (UNEXPECTED(prop_info)) { in zend_jit_assign_obj_op_helper()
2721 …if (UNEXPECTED((prop_info->flags & ZEND_ACC_READONLY) && !(Z_PROP_FLAG_P(var_ptr) & IS_PROP_REINIT… in zend_jit_inc_typed_prop()
2734 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE(tmp) == IS_LONG) { in zend_jit_inc_typed_prop()
2741 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_jit_inc_typed_prop()
2754 …if (UNEXPECTED((prop_info->flags & ZEND_ACC_READONLY) && !(Z_PROP_FLAG_P(var_ptr) & IS_PROP_REINIT… in zend_jit_dec_typed_prop()
2767 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE(tmp) == IS_LONG) { in zend_jit_dec_typed_prop()
2774 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_jit_dec_typed_prop()
2801 …if (UNEXPECTED((prop_info->flags & ZEND_ACC_READONLY) && !(Z_PROP_FLAG_P(var_ptr) & IS_PROP_REINIT… in zend_jit_post_inc_typed_prop()
2816 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(result) == IS_LONG) { in zend_jit_post_inc_typed_prop()
2823 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_jit_post_inc_typed_prop()
2836 …if (UNEXPECTED((prop_info->flags & ZEND_ACC_READONLY) && !(Z_PROP_FLAG_P(var_ptr) & IS_PROP_REINIT… in zend_jit_post_dec_typed_prop()
2851 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(result) == IS_LONG) { in zend_jit_post_dec_typed_prop()
2858 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_jit_post_dec_typed_prop()
2872 if (UNEXPECTED(Z_ISERROR_P(prop))) { in zend_jit_pre_inc_obj_helper()
2873 if (UNEXPECTED(result)) { in zend_jit_pre_inc_obj_helper()
2881 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_jit_pre_inc_obj_helper()
2891 if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(ref))) { in zend_jit_pre_inc_obj_helper()
2897 if (UNEXPECTED(prop_info)) { in zend_jit_pre_inc_obj_helper()
2904 if (UNEXPECTED(result)) { in zend_jit_pre_inc_obj_helper()
2915 if (UNEXPECTED(EG(exception))) { in zend_jit_pre_inc_obj_helper()
2917 if (UNEXPECTED(result)) { in zend_jit_pre_inc_obj_helper()
2925 if (UNEXPECTED(result)) { in zend_jit_pre_inc_obj_helper()
2942 if (UNEXPECTED(Z_ISERROR_P(prop))) { in zend_jit_pre_dec_obj_helper()
2943 if (UNEXPECTED(result)) { in zend_jit_pre_dec_obj_helper()
2951 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_jit_pre_dec_obj_helper()
2961 if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(ref))) { in zend_jit_pre_dec_obj_helper()
2967 if (UNEXPECTED(prop_info)) { in zend_jit_pre_dec_obj_helper()
2974 if (UNEXPECTED(result)) { in zend_jit_pre_dec_obj_helper()
2985 if (UNEXPECTED(EG(exception))) { in zend_jit_pre_dec_obj_helper()
2987 if (UNEXPECTED(result)) { in zend_jit_pre_dec_obj_helper()
2995 if (UNEXPECTED(result)) { in zend_jit_pre_dec_obj_helper()
3012 if (UNEXPECTED(Z_ISERROR_P(prop))) { in zend_jit_post_inc_obj_helper()
3020 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_jit_post_inc_obj_helper()
3035 if (UNEXPECTED(prop_info)) { in zend_jit_post_inc_obj_helper()
3050 if (UNEXPECTED(EG(exception))) { in zend_jit_post_inc_obj_helper()
3073 if (UNEXPECTED(Z_ISERROR_P(prop))) { in zend_jit_post_dec_obj_helper()
3081 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_jit_post_dec_obj_helper()
3096 if (UNEXPECTED(prop_info)) { in zend_jit_post_dec_obj_helper()
3111 if (UNEXPECTED(EG(exception))) { in zend_jit_post_dec_obj_helper()