Home
last modified time | relevance | path

Searched refs:limit (Results 126 – 150 of 179) sorted by relevance

12345678

/php-src/Zend/tests/stack_limit/
H A Dstack_limit_010.phpt2 Stack limit 010 - Check stack size detection against known defaults
H A Dstack_limit_005.phpt2 Stack limit 005 - Internal stack limit check in zend_compile_expr()
/php-src/ext/phar/tests/
H A Dbug74991.phpt2 Phar: PHP bug #74991: include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
H A Dphar_metadata_write3.phpt80 Warning: Phar::getMetadata(): Maximum depth of 1 exceeded. The depth limit can be changed using the…
/php-src/ext/spl/
H A Dspl_iterators.c121 } limit; member
1335 intern->u.limit.count = -1; /* get all */ in spl_dual_it_construct()
1336 …ters(ZEND_NUM_ARGS(), "O|ll", &zobject, ce_inner, &intern->u.limit.offset, &intern->u.limit.count)… in spl_dual_it_construct()
1339 if (intern->u.limit.offset < 0) { in spl_dual_it_construct()
1343 if (intern->u.limit.count < -1) { in spl_dual_it_construct()
2190 …if (intern->u.limit.count != -1 && intern->current.pos >= intern->u.limit.offset + intern->u.limit in spl_limit_it_valid()
2202 if (pos < intern->u.limit.offset) { in spl_limit_it_seek()
2206 if (pos >= intern->u.limit.offset + intern->u.limit.count && intern->u.limit.count != -1) { in spl_limit_it_seek()
2252 spl_limit_it_seek(intern, intern->u.limit.offset); in PHP_METHOD()
2267 …RETURN_BOOL((intern->u.limit.count == -1 || intern->current.pos < intern->u.limit.offset + intern-… in PHP_METHOD()
[all …]
H A Dspl_iterators.stub.php192 public function __construct(Iterator $iterator, int $offset = 0, int $limit = -1) {} argument
/php-src/ext/standard/tests/streams/
H A Dproc_open_bug69900.phpt52 /* It is expected that the first call takes more than the limit.
/php-src/Zend/
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 …]
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_builtin_functions_arginfo.h185 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "0")
190 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "0")
/php-src/Zend/asm/
H A Dmake_arm64_aapcs_pe_armasm.asm48 ;* | base | limit | dealloc | fiber data| *
H A Dmake_i386_ms_pe_masm.asm12 ; | fc_mxcsr|fc_x87_cw| fc_strg |fc_deallo| limit | base | fc_seh | EDI |
58 ; compute bottom address of context stack (limit)
/php-src/ext/zend_test/
H A Dtest.c585 zend_long (*volatile zend_call_stack_use_all_fun)(void *limit);
587 static zend_long zend_call_stack_use_all(void *limit) in zend_call_stack_use_all() argument
589 if (zend_call_stack_overflowed(limit)) { in zend_call_stack_use_all()
593 return 1 + zend_call_stack_use_all_fun(limit); in zend_call_stack_use_all()
608 void *limit = zend_call_stack_limit(stack.base, stack.max_size, 4096); in ZEND_FUNCTION() local
610 RETURN_LONG(zend_call_stack_use_all(limit)); in ZEND_FUNCTION()
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_execute.phpt63 $limit = 1;
64 if (!mysqli_stmt_bind_param($stmt, "i", $limit))
/php-src/ext/json/
H A Djson_scanner.re25 #define YYLIMIT s->limit
97 s->limit = (php_json_ctype *) str + str_len;
200 if (s->limit < s->cursor) {
/php-src/ext/standard/
H A Dphp_string.h56 … void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit);
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) {
/php-src/ext/mbstring/tests/
H A Dmb_strtolower_basic.phpt60 // there is no limit as to how far we will scan
H A Dmb_convert_case_various_mode.phpt46 // there is no limit as to how far we will scan
H A Dencoding_tests.inc6 // Test failed limit. If you want to execute all tests, set to -1.
15 // $testFailedLimit is -1, no limit.
/php-src/win32/
H A Dglob.c421 size_t limit = 0; in glob0() local
479 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0) in glob0()
492 return(globextend(pattern, pglob, &limit)); in glob0()
/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/
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 …]
H A Dphp.ini-production312 ; A value of 0 disables the depth limit.
444 ; https://php.net/memory-limit
1042 ; PCRE library backtracking limit.
1043 ; https://php.net/pcre.backtrack-limit
1046 ; PCRE library recursion limit.
1049 ; stack size limit imposed by the Operating System).
1050 ; https://php.net/pcre.recursion-limit
1131 ; Maximum number of persistent links. -1 means no limit.
1152 ; Maximum number of persistent links. -1 means no limit.
1168 ; Maximum number of links. -1 means no limit.
[all …]
/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()

Completed in 84 milliseconds

12345678