Lines Matching refs:UNEXPECTED
153 if (UNEXPECTED(scale < 0 || scale > INT_MAX)) { in bcmath_check_scale()
1051 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_mul_internal()
1068 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_div_internal()
1105 if (UNEXPECTED(n2->n_scale != 0)) { in bcmath_number_pow_internal()
1119 if (UNEXPECTED(*scale > INT_MAX || *scale < n1_full_scale)) { in bcmath_number_pow_internal()
1125 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_pow_internal()
1139 if (UNEXPECTED(exponent == 0 && (n2->n_len > 1 || n2->n_value[0] != 0))) { in bcmath_number_pow_internal()
1235 …if (UNEXPECTED(bcmath_number_parse_num(op1, &obj1, &str1, &lval1) == FAILURE || bcmath_number_pars… in bcmath_number_do_operation()
1243 …if (UNEXPECTED(bc_num_from_obj_or_str_or_long(&n1, &n1_full_scale, obj1, str1, lval1) == FAILURE))… in bcmath_number_do_operation()
1247 …if (UNEXPECTED(bc_num_from_obj_or_str_or_long(&n2, &n2_full_scale, obj2, str2, lval2) == FAILURE))… in bcmath_number_do_operation()
1252 if (UNEXPECTED(CHECK_SCALE_OVERFLOW(n1_full_scale) || CHECK_SCALE_OVERFLOW(n2_full_scale))) { in bcmath_number_do_operation()
1267 …if (UNEXPECTED(bcmath_number_mul_internal(n1, n2, &ret, n1_full_scale, n2_full_scale, &scale, true… in bcmath_number_do_operation()
1272 …if (UNEXPECTED(bcmath_number_div_internal(n1, n2, &ret, n1_full_scale, &scale, true) == FAILURE)) { in bcmath_number_do_operation()
1277 …if (UNEXPECTED(bcmath_number_mod_internal(n1, n2, &ret, n1_full_scale, n2_full_scale, &scale, true… in bcmath_number_do_operation()
1282 …if (UNEXPECTED(bcmath_number_pow_internal(n1, n2, &ret, n1_full_scale, &scale, true, true) == FAIL… in bcmath_number_do_operation()
1331 if (UNEXPECTED(bcmath_number_parse_num(op1, &obj1, &str1, &lval1) == FAILURE)) { in bcmath_number_compare()
1335 if (UNEXPECTED(bcmath_number_parse_num(op2, &obj2, &str2, &lval2) == FAILURE)) { in bcmath_number_compare()
1341 if (UNEXPECTED(bc_num_from_obj_or_str_or_long(&n1, &n1_full_scale, obj1, str1, lval1) == FAILURE || in bcmath_number_compare()
1346 if (UNEXPECTED(CHECK_SCALE_OVERFLOW(n1_full_scale) || CHECK_SCALE_OVERFLOW(n2_full_scale))) { in bcmath_number_compare()
1366 if (UNEXPECTED(!(zend_parse_arg_obj(_arg, &(dest_obj), ce, 0) || \
1378 if (UNEXPECTED(bc_num_from_obj_or_str_or_long(num, &full_scale, obj, str, lval) == FAILURE)) { in bc_num_from_obj_or_str_or_long_with_err()
1382 if (UNEXPECTED(CHECK_SCALE_OVERFLOW(full_scale))) { in bc_num_from_obj_or_str_or_long_with_err()
1402 if (UNEXPECTED(intern->num != NULL)) { in PHP_METHOD()
1453 …if (UNEXPECTED(bcmath_number_mul_internal(intern->num, num, &ret, intern->scale, num_full_scale, &… in bcmath_number_calc_method()
1458 …if (UNEXPECTED(bcmath_number_div_internal(intern->num, num, &ret, intern->scale, &scale, scale_is_… in bcmath_number_calc_method()
1463 …if (UNEXPECTED(bcmath_number_mod_internal(intern->num, num, &ret, intern->scale, num_full_scale, &… in bcmath_number_calc_method()
1468 …if (UNEXPECTED(bcmath_number_pow_internal(intern->num, num, &ret, intern->scale, &scale, scale_is_… in bcmath_number_calc_method()
1676 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(scale, intern->scale))) { in PHP_METHOD()
1845 if (UNEXPECTED(intern->num != NULL)) { in PHP_METHOD()