/PHP-8.1/main/streams/ |
H A D | xp_socket.c | 40 # 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 D | streams.c | 1387 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 D | namednodemap.c | 183 zend_argument_value_error(1, "must be between 0 and %d", INT_MAX); in PHP_METHOD()
|
/PHP-8.1/win32/ |
H A D | codepage.c | 39 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 D | php_fopen_wrapper.c | 323 dtablesize = INT_MAX; in php_stream_url_wrap_php()
|
H A D | math.c | 287 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 D | password.c | 81 if (length > (INT_MAX / 3)) { in php_password_make_salt()
|
H A D | streamsfuncs.c | 1466 if (csize > INT_MAX) { in PHP_FUNCTION()
|
/PHP-8.1/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 1113 } 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 D | fastcgi.c | 935 int out_len = tmp > INT_MAX ? INT_MAX : (int)tmp; 972 int in_len = tmp > INT_MAX ? INT_MAX : (int)tmp;
|
H A D | spprintf.c | 153 if (num >= INT_MAX / 10) { \
|
/PHP-8.1/sapi/cgi/ |
H A D | cgi_main.c | 332 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 D | pcre2_study.c | 483 d = INT_MAX; in find_minlength() 633 if ((d > 0 && (INT_MAX/d) < min) || UINT16_MAX - branchlength < min*d) in find_minlength()
|
H A D | pcre2_substitute.c | 454 if (subs == INT_MAX) in pcre2_substitute()
|
H A D | pcre2_compile.c | 200 #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 D | gd.c | 833 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 D | gd.c | 1466 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 D | gd_gd2.c | 140 if (*ncx <= 0 || *ncy <= 0 || *ncx > INT_MAX / *ncy) { in _gd2GetHeader()
|
/PHP-8.1/ext/oci8/ |
H A D | php_oci8_int.h | 75 #define PHP_OCI_MAX_DATA_SIZE INT_MAX
|
/PHP-8.1/ext/json/ |
H A D | json_scanner.re | 284 if (s->utf8_invalid_count > INT_MAX - 2) {
|
/PHP-8.1/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 230 if (ZSTR_LEN(unquoted) > (INT_MAX - 3) / 2) { in sqlite_handle_quoter()
|
/PHP-8.1/ext/gmp/ |
H A D | gmp.c | 1896 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 D | mysqlnd_ps_codec.c | 80 if (uval > INT_MAX) { in ps_fetch_from_1_to_8_bytes()
|
/PHP-8.1/ext/openssl/ |
H A D | xp_ssl.c | 2047 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 D | minilua.c | 1302 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");
|