Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 179) sorted by last modified time

12345678

/php-src/
H A DNEWS142 . Updated pcntl_get_signal_handler signal id upper limit to be
H A Dphp.ini-development312 ; A value of 0 disables the depth limit.
442 ; https://php.net/memory-limit
1040 ; PCRE library backtracking limit.
1041 ; https://php.net/pcre.backtrack-limit
1044 ; PCRE library recursion limit.
1047 ; stack size limit imposed by the Operating System).
1048 ; https://php.net/pcre.recursion-limit
1129 ; Maximum number of persistent links. -1 means no limit.
1150 ; Maximum number of persistent links. -1 means no limit.
1166 ; Maximum number of links. -1 means no limit.
[all …]
/php-src/main/
H A Dfastcgi.c1542 int limit, rest; local
1566 if (rest < limit) {
1572 req->out_pos += limit;
1573 rest -= limit;
1574 str += limit;
1584 limit -= sizeof(fcgi_header);
1585 if (limit < 0) limit = 0;
1588 if (len < limit) {
1594 if (limit > 0) {
1603 if (len > limit) {
[all …]
/php-src/Zend/
H A Dzend_builtin_functions.c1759 zend_long limit = 0; in ZEND_FUNCTION() local
1762 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ll", &options, &limit) == FAILURE) { in ZEND_FUNCTION()
1766 zend_fetch_debug_backtrace(&backtrace, 1, options, limit); in ZEND_FUNCTION()
1777 ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int options, int limit)… in zend_fetch_debug_backtrace() argument
1827 while (call && (limit == 0 || frameno < limit)) { in zend_fetch_debug_backtrace()
2081 zend_long limit = 0; in ZEND_FUNCTION() local
2083 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ll", &options, &limit) == FAILURE) { in ZEND_FUNCTION()
2087 zend_fetch_debug_backtrace(return_value, 1, options, limit); in ZEND_FUNCTION()
H A Dzend_portability.h211 # define do_alloca_ex(size, limit, use_heap) \ argument
212 ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size))
H A Dzend_alloc.c256 size_t limit; /* memory limit */ member
369 size_t limit, in zend_mm_safe_error() argument
381 limit, in zend_mm_safe_error()
1834 if (UNEXPECTED(new_size > heap->limit - heap->real_size)) {
1944 heap->limit = (size_t)Z_L(-1) >> 1;
2724 AG(mm_heap)->limit = memory_limit;
2799 if (add_size > heap->limit - heap->size && !heap->overflow) {
2803 heap->limit, "file", 0, add_size);
2807 heap->limit, add_size);
2884 mm_heap->limit = (size_t)Z_L(-1) >> 1;
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir.c837 ir_ref limit = ctx->fold_cse_limit; local
839 if (op1 > limit) {
840 limit = op1;
842 if (op2 > limit) {
843 limit = op2;
845 if (op3 > limit) {
846 limit = op3;
848 while (ref >= limit) {
1856 ir_ref limit = (addr > 0) ? addr : 1; local
1860 while (ref > limit) {
[all …]
/php-src/ext/mbstring/
H A Dmbstring.c2623 MB_CONVERT_BUF_ENSURE((&buf), buf.out, buf.limit, ZSTR_LEN(marker)); in mb_trim_string()
6074 unsigned char *out, *limit; in transfer_encode_mime_bytes() local
6075 MB_CONVERT_BUF_LOAD(outbuf, out, limit); in transfer_encode_mime_bytes()
6079 MB_CONVERT_BUF_ENSURE(outbuf, out, limit, ((e - p) + 2) / 3 * 4); in transfer_encode_mime_bytes()
6103 MB_CONVERT_BUF_ENSURE(outbuf, out, limit, (e - p) * 3); in transfer_encode_mime_bytes()
6115 MB_CONVERT_BUF_STORE(outbuf, out, limit); in transfer_encode_mime_bytes()
6226 MB_CONVERT_BUF_ENSURE(&buf, buf.out, buf.limit, 1); in mb_mime_header_encode()
6240 MB_CONVERT_BUF_ENSURE(&buf, buf.out, buf.limit, (e - word_start) + 1); in mb_mime_header_encode()
6279 MB_CONVERT_BUF_ENSURE(&buf, buf.out, buf.limit, (e - word_start) + 1); in mb_mime_header_encode()
6361 MB_CONVERT_BUF_ENSURE(&buf, buf.out, buf.limit, 2); in mb_mime_header_encode()
[all …]
H A Dmbstring.stub.php221 function mb_split(string $pattern, string $string, int $limit = -1): array|false {} argument
H A Dmbstring_arginfo.h267 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "-1")
/php-src/build/
H A Dlibtool.m4823 # no limit to the length of command line arguments.
824 # Libtool will interpret -1 as no limit whatsoever
/php-src/ext/iconv/
H A Diconv.c2133 char *p, *limit; in PHP_FUNCTION() local
2145 limit = ZSTR_VAL(decoded_header.s) + ZSTR_LEN(decoded_header.s); in PHP_FUNCTION()
2146 for (p = ZSTR_VAL(decoded_header.s); p < limit; p++) { in PHP_FUNCTION()
2152 while (++p < limit) { in PHP_FUNCTION()
2159 header_value_len = limit - p; in PHP_FUNCTION()
/php-src/ext/random/
H A Dcsprng.c241 zend_ulong limit = ZEND_ULONG_MAX - (ZEND_ULONG_MAX % umax) - 1; in php_random_int() local
244 while (trial > limit) { in php_random_int()
/php-src/sapi/cli/tests/
H A D006.phpt96 Parameter #3 [ <optional> int $limit = -1 ]
107 Parameter #3 [ <optional> int $limit = -1 ]
118 Parameter #3 [ <optional> int $limit = -1 ]
129 Parameter #2 [ <optional> int $limit = -1 ]
140 Parameter #2 [ <optional> int $limit = -1 ]
/php-src/ext/posix/
H A Dposix.c1047 static zend_result posix_addlimit(int limit, const char *name, zval *return_value) { in posix_addlimit() argument
1056 result = getrlimit(limit, &rl); in posix_addlimit()
1080 int limit; member
1160 if (posix_addlimit(l->limit, l->name, return_value) == FAILURE) { in PHP_FUNCTION()
/php-src/ext/standard/
H A Dbasic_functions.stub.php2357 function explode(string $separator, string $string, int $limit = PHP_INT_MAX): array {}
H A Dbasic_functions_arginfo.h848 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "PHP_INT_MAX")
H A Durl_scanner_ex.re841 char *start, *end, *limit;
896 limit = ZSTR_VAL(url_state->url_app.s) + ZSTR_LEN(url_state->url_app.s);
899 while (end < limit) {
935 limit = ZSTR_VAL(url_state->form_app.s) + ZSTR_LEN(url_state->form_app.s);
937 while (end < limit) {
H A Dvar_unserializer.re379 #define YYLIMIT limit
469 "The depth limit can be changed using the max_depth unserialize() option "
577 "The depth limit can be changed using the max_depth unserialize() option "
877 const unsigned char *cursor, *limit, *marker, *start;
880 limit = max;
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c148 uint32_t limit; member
154 do {_name->count = 0; _name->limit = (_n);} while (0)
160 ZEND_ASSERT(refs->count < refs->limit); in ir_refs_add()
/php-src/ext/openssl/
H A Dxp_ssl.c173 zend_long limit; member
1134 sslsock->reneg->tokens -= (elapsed_time * (sslsock->reneg->limit / sslsock->reneg->window)); in php_openssl_limit_handshake_reneg()
1142 if (sslsock->reneg->tokens > sslsock->reneg->limit) { in php_openssl_limit_handshake_reneg()
1188 zend_long limit = OPENSSL_DEFAULT_RENEG_LIMIT; in php_openssl_init_server_reneg_limit() local
1194 limit = zval_get_long(val); in php_openssl_init_server_reneg_limit()
1198 if (limit < 0) { in php_openssl_init_server_reneg_limit()
1212 sslsock->reneg->limit = limit; in php_openssl_init_server_reneg_limit()
/php-src/ext/xsl/tests/
H A Dbug71571_b.phpt32 // Set the template depth limit so high that we will certainly hit the variable depth limit first.
/php-src/sapi/fpm/tests/
H A Dtester.inc1630 * @param int $limit
1635 int $limit = 1024,
1638 $this->logTool->setExpectedMessage($message, $limit, $repeat);
1768 * @param int $limit
1777 int $limit = 1024,
1782 $this->logTool->setExpectedMessage($message, $limit, $repeat);
1806 $limit = $messageLen > 1024 ? $messageLen + 16 : 1024;
1807 $this->logTool->setExpectedMessage($message, $limit);
/php-src/sapi/phpdbg/
H A Dphpdbg_frame.c254 int i = 0, limit = num; in phpdbg_dump_backtrace() local
258 if (limit < 0) { in phpdbg_dump_backtrace()
259 phpdbg_error("Invalid backtrace size %d", limit); in phpdbg_dump_backtrace()
266 zend_fetch_debug_backtrace(&zbacktrace, 0, 0, limit); in phpdbg_dump_backtrace()
/php-src/ext/session/
H A Dsession.c2318 int limit = 3; in PHP_FUNCTION() local
2320 while (limit-- && PS(mod)->s_validate_sid(&PS(mod_data), PS(id)) == SUCCESS) { in PHP_FUNCTION()
2380 int limit = 3; in PHP_FUNCTION() local
2381 while (limit--) { in PHP_FUNCTION()

Completed in 217 milliseconds

12345678