Home
last modified time | relevance | path

Searched refs:INT_MAX (Results 1 – 25 of 61) sorted by relevance

123

/PHP-8.1/ext/bcmath/
H A Dbcmath.c66 if (tmp < 0 || tmp > INT_MAX) { in ZEND_GET_MODULE()
170 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
221 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
272 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
323 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
379 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
436 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
494 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
544 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
588 } else if (scale_param < 0 || scale_param > INT_MAX) { in PHP_FUNCTION()
[all …]
/PHP-8.1/Zend/
H A Dzend_range_check.h42 # define ZEND_LONG_INT_OVFL(zlong) UNEXPECTED((zlong) > (zend_long)INT_MAX)
54 #define ZEND_SIZE_T_INT_OVFL(size) UNEXPECTED((size) > (size_t)INT_MAX)
/PHP-8.1/ext/gd/libgd/
H A Dgd_security.c27 if(a > INT_MAX / b) { in overflow2()
H A Dgd_jpeg.c384 if (cinfo.image_height > INT_MAX) { in gdImageCreateFromJpegCtxEx()
385 … is greater than INT_MAX (%d) (and thus greater than gd can handle)", cinfo.image_height, INT_MAX); in gdImageCreateFromJpegCtxEx()
388 if (cinfo.image_width > INT_MAX) { in gdImageCreateFromJpegCtxEx()
389 …) is greater than INT_MAX (%d) (and thus greater than gd can handle)", cinfo.image_width, INT_MAX); in gdImageCreateFromJpegCtxEx()
H A Dgd_avif.c183 if (offset > INT_MAX || size > INT_MAX) in readFromCtx()
/PHP-8.1/ext/gd/
H A Dgd_compat.c17 if(a > INT_MAX / b) { in overflow2()
/PHP-8.1/ext/standard/
H A Dformatted_print.c100 if(m_width > INT_MAX - *pos - 1) { in php_sprintf_appendstring()
368 if (num >= INT_MAX || num < 0) { in php_sprintf_getnumber()
388 zend_value_error("Argument number specifier must be greater than zero and less than %d", INT_MAX); in php_sprintf_get_argnum()
532 if (Z_LVAL_P(tmp) < 0 || Z_LVAL_P(tmp) > INT_MAX) { in php_formatted_print()
533 zend_value_error("Width must be greater than zero and less than %d", INT_MAX); in php_formatted_print()
541 zend_value_error("Width must be greater than zero and less than %d", INT_MAX); in php_formatted_print()
576 if (Z_LVAL_P(tmp) < -1 || Z_LVAL_P(tmp) > INT_MAX) { in php_formatted_print()
577 zend_value_error("Precision must be between -1 and %d", INT_MAX); in php_formatted_print()
585 zend_value_error("Precision must be greater than zero and less than %d", INT_MAX); in php_formatted_print()
H A Dpack.c47 if ((a) < 0 || ((INT_MAX - outputpos)/((int)b)) < (a)) { \
354 if (currentarg > INT_MAX - arg) { in PHP_FUNCTION()
757 if (errno || tmp < INT_MIN || tmp > INT_MAX) { in PHP_FUNCTION()
881 if (size != 0 && size != -1 && INT_MAX - size + 1 < inputpos) { in PHP_FUNCTION()
/PHP-8.1/ext/gd/tests/
H A Dbug77269.phpt19 Warning: imagescale():%S Product of memory allocation multiplication would exceed INT_MAX, failing …
H A Dbug77479.phpt18 Warning: imagewbmp():%S %croduct of memory allocation multiplication would exceed INT_MAX, failing …
H A Dlibgd00101.phpt15 Warning: imagecreatefromgd(): Product of memory allocation multiplication would exceed INT_MAX, fai…
H A Dbug77272.phpt19 Warning: imagescale():%S %croduct of memory allocation multiplication would exceed INT_MAX, failing…
H A Dimageloadfont_invalid.phpt20 Warning: imageloadfont(): Product of memory allocation multiplication would exceed INT_MAX, failing…
H A Dbug81739.phpt18 Warning: imageloadfont(): %croduct of memory allocation multiplication would exceed INT_MAX, failin…
H A Dcreatefromwbmp2.phpt46 Warning: imagecreatefromwbmp(): Product of memory allocation multiplication would exceed INT_MAX, f…
H A Dcreatefromwbmp2_extern.phpt46 Warning: imagecreatefromwbmp(): %croduct of memory allocation multiplication would exceed INT_MAX, …
H A Dbug66356.phpt49 Warning: imagecrop(): %croduct of memory allocation multiplication would exceed INT_MAX, failing op…
H A Dbug72339.phpt43 Warning: imagecreatefromgd2(): Product of memory allocation multiplication would exceed INT_MAX, fa…
/PHP-8.1/main/
H A Dphp.h240 #ifndef INT_MAX
241 #define INT_MAX 2147483647 macro
245 #define INT_MIN (- INT_MAX - 1)
/PHP-8.1/ext/calendar/
H A Djulian.c179 if (yearl > INT_MAX || yearl < INT_MIN) { in SdnToJulian()
/PHP-8.1/ext/bz2/
H A Dbz2.c76 int to_read = (int)(remain <= INT_MAX ? remain : INT_MAX); in php_bz2iop_read()
106 int to_write = (int)(remain <= INT_MAX ? remain : INT_MAX); in php_bz2iop_write()
/PHP-8.1/ext/json/
H A Djson.c313 if (depth > INT_MAX) { in PHP_FUNCTION()
314 zend_argument_value_error(3, "must be less than %d", INT_MAX); in PHP_FUNCTION()
/PHP-8.1/win32/
H A Dselect.c44 if (max_fd > (php_socket_t)INT_MAX) { in php_select()
/PHP-8.1/ext/sockets/
H A Dsendrecvmsg.c75 if ((l) < INT_MIN || (l) > INT_MAX) { \
76 zend_argument_value_error((arg_pos), "must be between %d and %d", INT_MIN, INT_MAX); \
/PHP-8.1/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp198 if (rules_len > INT_MAX - 1) { in PHP_METHOD()

Completed in 78 milliseconds

123