Home
last modified time | relevance | path

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

123

/PHP-8.1/main/streams/
H A Dxp_socket.c40 # define XP_SOCK_BUF_SIZE(sz) (((sz) > INT_MAX) ? INT_MAX : (int)(sz))
264 …return ((ret = send(sock->socket, buf, buflen > INT_MAX ? INT_MAX : (int)buflen, flags)) == SOCK_C… in sock_sendto()
H A Dstreams.c1387 ret = stream->chunk_size > INT_MAX ? INT_MAX : (int)stream->chunk_size; in _php_stream_set_option()
1438 if (0 < (b = PHPWRITE(p + bcount, MIN(mapped - bcount, INT_MAX)))) { in _php_stream_passthru()
/PHP-8.1/ext/dom/
H A Dnamednodemap.c183 zend_argument_value_error(1, "must be between 0 and %d", INT_MAX); in PHP_METHOD()
/PHP-8.1/win32/
H A Dcodepage.c39 if (!in || in_len > (size_t)INT_MAX) { in php_win32_cp_to_w_int()
216 if (!in || in_len > INT_MAX) { in php_win32_cp_from_w_int()
/PHP-8.1/ext/standard/
H A Dphp_fopen_wrapper.c323 dtablesize = INT_MAX; in php_stream_url_wrap_php()
H A Dmath.c287 places = ZEND_LONG_INT_OVFL(precision) ? INT_MAX : (int)precision; in PHP_FUNCTION()
1157 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()
H A Dstreamsfuncs.c1466 if (csize > INT_MAX) { in PHP_FUNCTION()
/PHP-8.1/ext/pdo_pgsql/
H A Dpgsql_driver.c1113 } else if (ms_timeout > INT_MAX) { in PHP_METHOD()
1114 php_error_docref(NULL, E_WARNING, "Timeout was shrunk to %d", INT_MAX); in PHP_METHOD()
1115 ms_timeout = INT_MAX; in PHP_METHOD()
/PHP-8.1/main/
H A Dfastcgi.c935 int out_len = tmp > INT_MAX ? INT_MAX : (int)tmp;
972 int in_len = tmp > INT_MAX ? INT_MAX : (int)tmp;
H A Dspprintf.c153 if (num >= INT_MAX / 10) { \
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c332 int to_write = remaining > INT_MAX ? INT_MAX : (int)remaining; in sapi_fcgi_ub_write()
514 int to_read = (diff > INT_MAX) ? INT_MAX : (int)diff; in sapi_fcgi_read_post()
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_study.c483 d = INT_MAX; in find_minlength()
633 if ((d > 0 && (INT_MAX/d) < min) || UINT16_MAX - branchlength < min*d) in find_minlength()
H A Dpcre2_substitute.c454 if (subs == INT_MAX) in pcre2_substitute()
H A Dpcre2_compile.c200 #define OFLOW_MAX (INT_MAX - 20)
1805 if (read_number(&ptr, ptrend, -1, INT_MAX/10 - 1, 0, &s, errorcodeptr) && in PRIV()
7028 (INT64_OR_DOUBLE)INT_MAX || in compile_branch()
7198 (INT64_OR_DOUBLE)INT_MAX || in compile_branch()
7251 > (INT64_OR_DOUBLE)INT_MAX || in compile_branch()
9380 INT_MAX/lastitemlength < pptr[1] - 1) in get_branchlength()
9404 if (INT_MAX - branchlength < (int)itemlength || in get_branchlength()
/PHP-8.1/ext/gd/
H A Dgd.c833 if (x_size <= 0 || x_size >= INT_MAX) { in PHP_FUNCTION()
838 if (y_size <= 0 || y_size >= INT_MAX) { in PHP_FUNCTION()
884 zend_argument_value_error(3, "must be greater than 0 and less than %d", INT_MAX); in PHP_FUNCTION()
1407 if (x_size <= 0 || x_size >= INT_MAX) { in PHP_FUNCTION()
1412 if (y_size <= 0 || y_size >= INT_MAX) { in PHP_FUNCTION()
3782 if (tmp_h <= 0 || tmp_h > INT_MAX || tmp_w <= 0 || tmp_w > INT_MAX) { in PHP_FUNCTION()
/PHP-8.1/ext/gd/libgd/
H A Dgd.c1466 const int xuppper = (x > INT_MAX - f->w) ? INT_MAX : x + f->w; in gdImageChar()
1467 const int yuppper = (y > INT_MAX - f->h) ? INT_MAX : y + f->h; in gdImageChar()
1494 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-8.1/ext/oci8/
H A Dphp_oci8_int.h75 #define PHP_OCI_MAX_DATA_SIZE INT_MAX
/PHP-8.1/ext/json/
H A Djson_scanner.re284 if (s->utf8_invalid_count > INT_MAX - 2) {
/PHP-8.1/ext/pdo_sqlite/
H A Dsqlite_driver.c230 if (ZSTR_LEN(unquoted) > (INT_MAX - 3) / 2) { in sqlite_handle_quoter()
/PHP-8.1/ext/gmp/
H A Dgmp.c1896 if (index / GMP_NUMB_BITS >= INT_MAX) { in ZEND_FUNCTION()
1897 zend_argument_value_error(2, "must be less than %d * %d", INT_MAX, GMP_NUMB_BITS); in ZEND_FUNCTION()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c80 if (uval > INT_MAX) { in ps_fetch_from_1_to_8_bytes()
/PHP-8.1/ext/openssl/
H A Dxp_ssl.c2047 if (count > INT_MAX) { in php_openssl_sockop_io()
2048 count = INT_MAX; in php_openssl_sockop_io()
/PHP-8.1/ext/opcache/jit/dynasm/
H A Dminilua.c1302 if(tb->nuse>cast(lu_int32,tb->size)&&tb->size<=(INT_MAX-2)/2)
1691 if(j>cast(unsigned int,(INT_MAX-2))){
2736 if(++ls->linenumber>=(INT_MAX-2))
3631 (INT_MAX-2),"code size overflow");
3634 (INT_MAX-2),"code size overflow");
3769 TString*,(INT_MAX-2),"");
3961 luaY_checklimit(fs,cc->nh,(INT_MAX-2),"items in a constructor");
3997 luaY_checklimit(ls->fs,cc->na,(INT_MAX-2),"items in a constructor");

Completed in 186 milliseconds

123