Searched refs:INT_MAX (Results 26 – 50 of 66) sorted by relevance
123
/php-src/ext/gd/libgd/ |
H A D | gd_avif.c | 183 if (offset > INT_MAX || size > INT_MAX) in readFromCtx()
|
H A D | gd.c | 1436 const int xuppper = (x > INT_MAX - f->w) ? INT_MAX : x + f->w; in gdImageChar() 1437 const int yuppper = (y > INT_MAX - f->h) ? INT_MAX : y + f->h; in gdImageChar() 1464 const int xuppper = (x > INT_MAX - f->h) ? INT_MAX : x + f->h; in gdImageCharUp()
|
H A D | gd_gd2.c | 140 if (*ncx <= 0 || *ncy <= 0 || *ncx > INT_MAX / *ncy) { in _gd2GetHeader()
|
/php-src/main/streams/ |
H A D | xp_socket.c | 40 # define XP_SOCK_BUF_SIZE(sz) (((sz) > INT_MAX) ? INT_MAX : (int)(sz)) 286 …return ((ret = send(sock->socket, buf, buflen > INT_MAX ? INT_MAX : (int)buflen, flags)) == SOCK_C… in sock_sendto()
|
H A D | plain_wrapper.c | 57 # define PLAIN_WRAP_BUF_SIZE(st) ((unsigned int)(st > INT_MAX ? INT_MAX : st))
|
H A D | streams.c | 1436 ret = stream->chunk_size > INT_MAX ? INT_MAX : (int)stream->chunk_size; in _php_stream_set_option() 1487 if (0 < (b = PHPWRITE(p + bcount, MIN(mapped - bcount, INT_MAX)))) { in _php_stream_passthru()
|
/php-src/ext/session/ |
H A D | mod_files.c | 89 #define SESS_FILE_BUF_SIZE(sz) ((unsigned int)(sz > INT_MAX ? INT_MAX : (unsigned int)sz))
|
/php-src/ext/dom/ |
H A D | namednodemap.c | 180 zend_argument_value_error(1, "must be between 0 and %d", INT_MAX); in PHP_METHOD()
|
H A D | nodelist.c | 109 …basep, nodep, objmap->ns, objmap->local, objmap->local_lower, &count, INT_MAX - 1 /* because of <=… in php_dom_get_nodelist_length()
|
/php-src/main/ |
H A D | fastcgi.c | 928 int out_len = tmp > INT_MAX ? INT_MAX : (int)tmp; in safe_write() 961 unsigned int in_len = tmp > INT_MAX ? INT_MAX : (unsigned int)tmp; in safe_read() 965 int in_len = tmp > INT_MAX ? INT_MAX : (int)tmp; in safe_read()
|
H A D | spprintf.c | 155 if (num >= INT_MAX / 10) { \
|
/php-src/ext/posix/ |
H A D | posix.c | 471 if (fd < 0 || fd > INT_MAX) { in PHP_FUNCTION() 472 …_error_docref(NULL, E_WARNING, "Argument #1 ($file_descriptor) must be between 0 and %d", INT_MAX); in PHP_FUNCTION() 534 if (fd < 0 || fd > INT_MAX) { in PHP_FUNCTION()
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 333 int to_write = remaining > INT_MAX ? INT_MAX : (int)remaining; in sapi_fcgi_ub_write() 489 unsigned int to_read = (diff > INT_MAX) ? INT_MAX : (unsigned int)diff; in sapi_cgi_read_post() 515 int to_read = (diff > INT_MAX) ? INT_MAX : (int)diff; in sapi_fcgi_read_post()
|
/php-src/win32/ |
H A D | codepage.c | 43 if (!in || in_len > (size_t)INT_MAX) { in php_win32_cp_to_w_int() 250 if (!in || in_len > INT_MAX) { in php_win32_cp_from_w_int()
|
/php-src/ext/gd/ |
H A D | gd.c | 683 if (x_size <= 0 || x_size >= INT_MAX) { in PHP_FUNCTION() 688 if (y_size <= 0 || y_size >= INT_MAX) { in PHP_FUNCTION() 736 zend_argument_value_error(3, "must be greater than 0 and less than %d", INT_MAX); in PHP_FUNCTION() 1306 if (x_size <= 0 || x_size >= INT_MAX) { in PHP_FUNCTION() 1311 if (y_size <= 0 || y_size >= INT_MAX) { in PHP_FUNCTION() 1792 if (quality < INT_MIN || quality > INT_MAX) { in _php_image_output() 1793 …r_docref(NULL, E_WARNING, "Argument #3 ($chunk_size) must be between %d and %d", INT_MIN, INT_MAX); in _php_image_output() 3833 if (tmp_h <= 0 || tmp_h > INT_MAX || tmp_w <= 0 || tmp_w > INT_MAX) { in PHP_FUNCTION()
|
/php-src/ext/standard/ |
H A D | php_fopen_wrapper.c | 323 dtablesize = INT_MAX; in php_stream_url_wrap_php()
|
H A D | math.c | 321 places = ZEND_LONG_INT_OVFL(precision) ? INT_MAX : (int)precision; in PHP_FUNCTION() 1348 dec_int = ZEND_LONG_INT_OVFL(dec) ? INT_MAX : (int)dec; in PHP_FUNCTION()
|
H A D | password.c | 81 if (length > (INT_MAX / 3)) { in php_password_make_salt()
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 1166 } else if (ms_timeout > INT_MAX) { in pgsqlGetNotify_internal() 1167 php_error_docref(NULL, E_WARNING, "Timeout was shrunk to %d", INT_MAX); in pgsqlGetNotify_internal() 1168 ms_timeout = INT_MAX; in pgsqlGetNotify_internal()
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_study.c | 486 d = INT_MAX; in find_minlength() 636 if ((d > 0 && (INT_MAX/d) < min) || UINT16_MAX - branchlength < min*d) in find_minlength()
|
H A D | pcre2_substitute.c | 476 if (subs == INT_MAX) in pcre2_substitute()
|
/php-src/ext/json/ |
H A D | json_scanner.re | 284 if (s->utf8_invalid_count > INT_MAX - 2) {
|
/php-src/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 226 if (ZSTR_LEN(unquoted) > (INT_MAX - 3) / 2) { in sqlite_handle_quoter()
|
/php-src/ext/gmp/ |
H A D | gmp.c | 1919 if (index / GMP_NUMB_BITS >= INT_MAX) { in ZEND_FUNCTION() 1920 zend_argument_value_error(2, "must be less than %d * %d", INT_MAX, GMP_NUMB_BITS); in ZEND_FUNCTION()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 80 if (uval > INT_MAX) { in ps_fetch_from_1_to_8_bytes()
|
Completed in 126 milliseconds
123