Home
last modified time | relevance | path

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

123

/PHP-7.2/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-7.2/ext/bcmath/libbcmath/src/
H A Dinit.c49 if ((size_t)length+(size_t)scale > INT_MAX) {
50 zend_error(E_ERROR, "Result too long, max is %d", INT_MAX);
/PHP-7.2/ext/gd/libgd/
H A Dgd_security.c27 if(a > INT_MAX / b) { in overflow2()
H A Dgd_jpeg.c381 if (cinfo.image_height > INT_MAX) { in gdImageCreateFromJpegCtxEx()
382 … is greater than INT_MAX (%d) (and thus greater than gd can handle)", cinfo.image_height, INT_MAX); in gdImageCreateFromJpegCtxEx()
385 if (cinfo.image_width > INT_MAX) { in gdImageCreateFromJpegCtxEx()
386 …) is greater than INT_MAX (%d) (and thus greater than gd can handle)", cinfo.image_width, INT_MAX); in gdImageCreateFromJpegCtxEx()
/PHP-7.2/ext/zip/lib/
H A Dzip_get_num_files.c46 if (za->nentry > INT_MAX) { in zip_get_num_files()
/PHP-7.2/ext/gd/
H A Dgd_compat.c60 if(a > INT_MAX / b) { in overflow2()
/PHP-7.2/ext/gd/tests/
H A Dbug77269.phpt19 Warning: imagescale():%S product of memory allocation multiplication would exceed INT_MAX, failing …
H A Dbug77272.phpt18 Warning: imagescale():%S product of memory allocation multiplication would exceed INT_MAX, failing …
H A Dlibgd00101.phpt14 …(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operatio…
H A Dbug77479.phpt18 Warning: imagewbmp(): gd warning: product of memory allocation multiplication would exceed INT_MAX,…
H A Dimageloadfont_invalid.phpt22 …(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operatio…
H A Dcreatefromwbmp2_extern.phpt45 gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gra…
H A Dbug72339.phpt35 …(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operatio…
H A Dcreatefromwbmp2.phpt45 …(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operatio…
H A Dbug66356.phpt47 Warning: imagecrop(): gd warning: product of memory allocation multiplication would exceed INT_MAX,…
/PHP-7.2/ext/calendar/
H A Djulian.c179 if (yearl > INT_MAX || yearl < INT_MIN) { in SdnToJulian()
/PHP-7.2/main/
H A Dphp.h285 #ifndef INT_MAX
286 #define INT_MAX 2147483647 macro
290 #define INT_MIN (- INT_MAX - 1)
/PHP-7.2/ext/json/
H A Djson.c292 if (depth > INT_MAX) { in PHP_FUNCTION()
293 php_error_docref(NULL, E_WARNING, "Depth must be lower than %d", INT_MAX); in PHP_FUNCTION()
/PHP-7.2/ext/bz2/
H A Dbz2.c146 int to_read = (int)(remain <= INT_MAX ? remain : INT_MAX); in php_bz2iop_read()
174 int to_write = (int)(remain <= INT_MAX ? remain : INT_MAX); in php_bz2iop_write()
/PHP-7.2/ext/standard/
H A Dformatted_print.c89 if(m_width > INT_MAX - *pos - 1) { in php_sprintf_appendstring()
353 if (num >= INT_MAX || num < 0) { in php_sprintf_getnumber()
514 … php_error_docref(NULL, E_WARNING, "Width must be greater than zero and less than %d", INT_MAX); in php_formatted_print()
533 …php_error_docref(NULL, E_WARNING, "Precision must be greater than zero and less than %d", INT_MAX); in php_formatted_print()
H A Dpack.c50 if ((a) < 0 || ((INT_MAX - outputpos)/((int)b)) < (a)) { \
346 if (currentarg > INT_MAX - arg) { in PHP_FUNCTION()
900 if (size != 0 && size != -1 && INT_MAX - size + 1 < inputpos) { in PHP_FUNCTION()
1078 v = ~INT_MAX; in PHP_FUNCTION()
/PHP-7.2/win32/
H A Dselect.c50 if (max_fd > (php_socket_t)INT_MAX) { in php_select()
H A Dcodepage.c38 if (!in || in_len > (size_t)INT_MAX) { in php_win32_cp_to_w_int()
112 if (in_len > (size_t)INT_MAX) { in php_win32_cp_conv_ascii_to_w()
180 if (!in || in_len > INT_MAX) { in php_win32_cp_from_w_int()
H A Dphp_stdint.h203 #define SIG_ATOMIC_MAX INT_MAX
/PHP-7.2/ext/xmlrpc/libxmlrpc/
H A Dbase64.c35 if ((INT_MAX - b->length) <= 512) { in buffer_add()

Completed in 40 milliseconds

123