Home
last modified time | relevance | path

Searched refs:INT_MAX (Results 26 – 50 of 66) sorted by relevance

123

/php-src/ext/gd/libgd/
H A Dgd_avif.c183 if (offset > INT_MAX || size > INT_MAX) in readFromCtx()
H A Dgd.c1436 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 Dgd_gd2.c140 if (*ncx <= 0 || *ncy <= 0 || *ncx > INT_MAX / *ncy) { in _gd2GetHeader()
/php-src/main/streams/
H A Dxp_socket.c40 # 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 Dplain_wrapper.c57 # define PLAIN_WRAP_BUF_SIZE(st) ((unsigned int)(st > INT_MAX ? INT_MAX : st))
H A Dstreams.c1436 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 Dmod_files.c89 #define SESS_FILE_BUF_SIZE(sz) ((unsigned int)(sz > INT_MAX ? INT_MAX : (unsigned int)sz))
/php-src/ext/dom/
H A Dnamednodemap.c180 zend_argument_value_error(1, "must be between 0 and %d", INT_MAX); in PHP_METHOD()
H A Dnodelist.c109 …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 Dfastcgi.c928 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 Dspprintf.c155 if (num >= INT_MAX / 10) { \
/php-src/ext/posix/
H A Dposix.c471 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 Dcgi_main.c333 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 Dcodepage.c43 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 Dgd.c683 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 Dphp_fopen_wrapper.c323 dtablesize = INT_MAX; in php_stream_url_wrap_php()
H A Dmath.c321 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 Dpassword.c81 if (length > (INT_MAX / 3)) { in php_password_make_salt()
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c1166 } 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 Dpcre2_study.c486 d = INT_MAX; in find_minlength()
636 if ((d > 0 && (INT_MAX/d) < min) || UINT16_MAX - branchlength < min*d) in find_minlength()
H A Dpcre2_substitute.c476 if (subs == INT_MAX) in pcre2_substitute()
/php-src/ext/json/
H A Djson_scanner.re284 if (s->utf8_invalid_count > INT_MAX - 2) {
/php-src/ext/pdo_sqlite/
H A Dsqlite_driver.c226 if (ZSTR_LEN(unquoted) > (INT_MAX - 3) / 2) { in sqlite_handle_quoter()
/php-src/ext/gmp/
H A Dgmp.c1919 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 Dmysqlnd_ps_codec.c80 if (uval > INT_MAX) { in ps_fetch_from_1_to_8_bytes()

Completed in 126 milliseconds

123