Home
last modified time | relevance | path

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

12

/PHP-5.4/ext/gd/libgd/
H A Dgd_security.c26 if(a > INT_MAX / b) { in overflow2()
H A Dgd_jpeg.c351 if (cinfo.image_height > INT_MAX) { in gdImageCreateFromJpegCtx()
352 … is greater than INT_MAX (%d) (and thus greater than gd can handle)", cinfo.image_height, INT_MAX); in gdImageCreateFromJpegCtx()
355 if (cinfo.image_width > INT_MAX) { in gdImageCreateFromJpegCtx()
356 …) is greater than INT_MAX (%d) (and thus greater than gd can handle)", cinfo.image_width, INT_MAX); in gdImageCreateFromJpegCtx()
/PHP-5.4/ext/gd/tests/
H A Dlibgd00094.phpt14 …(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operatio…
H A Dlibgd00101.phpt14 …(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operatio…
H A Dimageloadfont_invalid.phpt23 …(): 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 Dcreatefromwbmp2.phpt45 …(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operatio…
/PHP-5.4/main/
H A Dphp.h224 #ifndef INT_MAX
225 #define INT_MAX 2147483647 macro
229 #define INT_MIN (- INT_MAX - 1)
H A Dspprintf.c164 if (num >= INT_MAX / 10) { \
/PHP-5.4/ext/calendar/
H A Djulian.c179 if (yearl > INT_MAX || yearl < INT_MIN) { in SdnToJulian()
/PHP-5.4/ext/standard/
H A Dformatted_print.c89 if(m_width > INT_MAX - *pos - 1) { in php_sprintf_appendstring()
97 if(*size > INT_MAX/2) { in php_sprintf_appendstring()
339 if (num >= INT_MAX || num < 0) { in php_sprintf_getnumber()
496 …ror_docref(NULL TSRMLS_CC, E_WARNING, "Width must be greater than zero and less than %d", INT_MAX); in php_formatted_print()
513 …docref(NULL TSRMLS_CC, E_WARNING, "Precision must be greater than zero and less than %d", INT_MAX); in php_formatted_print()
H A Dpack.c57 if ((a) < 0 || ((INT_MAX - outputpos)/((int)b)) < (a)) { \
664 if (size != 0 && size != -1 && INT_MAX - size + 1 < inputpos) { in PHP_FUNCTION()
799 v = ~INT_MAX; in PHP_FUNCTION()
H A Dstreamsfuncs.c442 if (len > INT_MAX) { in PHP_FUNCTION()
443 …hp_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %ld to %d bytes", len, INT_MAX); in PHP_FUNCTION()
444 len = INT_MAX; in PHP_FUNCTION()
1460 if (csize > INT_MAX) { in PHP_FUNCTION()
1461 php_error_docref(NULL TSRMLS_CC, E_WARNING, "The chunk size cannot be larger than %d", INT_MAX); in PHP_FUNCTION()
H A Dphp_fopen_wrapper.c291 dtablesize = INT_MAX; in php_stream_url_wrap_php()
H A Dstring.c1962 if (offset < -INT_MAX || -offset > haystack_len) {
2040 if (offset < -INT_MAX || -offset > haystack_len) {
2072 if (offset < -INT_MAX || -offset > haystack_len) {
2148 if(chunks > INT_MAX - 1) {
2152 if(endlen !=0 && out_len > INT_MAX/endlen) {
2156 if(out_len > INT_MAX - srclen - 1) {
4952 if(result_len > INT_MAX) {
4953 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Result is too big, maximum %d allowed", INT_MAX);
5317 if (num_pad_chars >= INT_MAX) {
H A Dfile.c553 if (len > INT_MAX) { in PHP_FUNCTION()
554 …hp_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %ld to %d bytes", len, INT_MAX); in PHP_FUNCTION()
555 len = INT_MAX; in PHP_FUNCTION()
/PHP-5.4/win32/
H A Dphp_stdint.h201 #define SIG_ATOMIC_MAX INT_MAX
/PHP-5.4/Zend/
H A Dzend_constants.h31 #define PHP_USER_CONSTANT INT_MAX /* a constant defined in user space */
/PHP-5.4/ext/pcre/pcrelib/
H A Dpcreposix.c353 if (nmatch > INT_MAX/(sizeof(int) * 3)) return REG_ESPACE; in regexec()
H A Dpcre_exec.c2756 if (max == 0) max = INT_MAX; in match()
3346 max = INT_MAX; in match()
3354 max = INT_MAX; in match()
3382 if (max == 0) max = INT_MAX; in match()
3732 max = INT_MAX; in match()
3740 max = INT_MAX; in match()
3776 if (max == 0) max = INT_MAX; in match()
4098 max = INT_MAX; in match()
4105 max = INT_MAX; in match()
4133 if (max == 0) max = INT_MAX; in match()
[all …]
H A Dpcre_internal.h205 #define PCRE_INT16_MAX INT_MAX
214 #define PCRE_INT32_MAX INT_MAX
/PHP-5.4/ext/shmop/
H A Dshmop.c259 if (count < 0 || start > (INT_MAX - count) || start + count > shmop->size) { in PHP_FUNCTION()
/PHP-5.4/ext/oci8/
H A Dphp_oci8_int.h75 #define PHP_OCI_MAX_DATA_SIZE INT_MAX
/PHP-5.4/ext/mcrypt/
H A Dmcrypt.c1388 if (size <= 0 || size >= INT_MAX) { in PHP_FUNCTION()
1389 …SRMLS_CC, E_WARNING, "Cannot create an IV with a size of less than 1 or greater than %d", INT_MAX); in PHP_FUNCTION()
/PHP-5.4/sapi/fpm/fpm/
H A Dfastcgi.c451 if (name_len > (INT_MAX - val_len) || /* would the addition overflow? */ in fcgi_get_params()

Completed in 96 milliseconds

12