Searched refs:limit (Results 1 - 25 of 40) sorted by relevance

12

/PHP_5_6/ext/sockets/tests/
H A Dmcast_helpers.php.inc2 function checktimeout($sock, $limit) {
5 if (socket_select($readfs, $writefs, $exceptfs, 0, $limit*1000) != 1) {
/PHP_5_6/ext/spl/internal/
H A Dinfiniteiterator.inc26 $limit = new LimitIterator($infinite, 0, 5);
27 foreach($limit as $val=>$key)
H A Dlimititerator.inc33 * @param it Iterator to limit
/PHP_5_6/ext/intl/transliterator/
H A Dtransliterator_methods.c309 limit = -1; local
321 &arg1, &str, &str_len, &start, &limit ) == FAILURE )
357 &str, &str_len, &start, &limit ) == FAILURE )
364 if( limit < -1 )
372 if( start < 0 || ((limit != -1 ) && (start > limit )) )
390 if( ( start > ustr_len ) || (( limit != -1 ) && (limit > ustr_len ) ) )
412 int32_t temp_limit = ( limit == -1 ? ustr_len : (int32_t) limit );
[all...]
/PHP_5_6/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp5022x.c491 const int limit = cp932ext3_ucs_table_size > local
495 for (i = 0; i < limit; i++) {
723 const int limit = cp932ext3_ucs_table_size > local
727 for (i = 0; i < limit; i++) {
870 const int limit = cp932ext3_ucs_table_size > local
874 for (i = 0; i < limit; i++) {
/PHP_5_6/TSRM/
H A Dtsrm_config_common.h58 # define tsrm_do_alloca_ex(size, limit, use_heap) \
59 ((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size))
/PHP_5_6/Zend/
H A Dzend_builtin_functions.c231 ZEND_ARG_INFO(0, limit)
2069 /* {{{ proto void debug_print_backtrace([int options[, int limit]]) */
2082 long limit = 0; local
2084 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", &options, &limit) == FAILURE) {
2093 while (ptr && (limit == 0 || frameno < limit)) {
2238 ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int options, int limit TSRMLS_DC)
2262 while (ptr && (limit == 0 || frameno < limit)) {
2408 /* {{{ proto array debug_backtrace([int options[, int limit]])
2413 long limit = 0; local
[all...]
H A Dzend_builtin_functions.h28 ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int options, int limit TSRMLS_DC);
H A Dzend_alloc.c428 size_t limit; member in struct:_zend_mm_heap
1119 heap->limit = ZEND_MM_LONG_CONST(1)<<(ZEND_MM_NUM_BUCKETS-2);
1745 size_t limit,
1777 limit,
1788 limit,
1940 if (!best_fit && heap->real_size >= heap->limit - heap->block_size) {
1969 heap->real_size + segment_size > heap->limit) {
1970 /* Memory limit overflow */
1976 zend_mm_safe_error(heap, "Allowed memory size of %ld bytes exhausted at %s:%d (tried to allocate %lu bytes)", heap->limit, __zend_filename, __zend_lineno, size);
1978 zend_mm_safe_error(heap, "Allowed memory size of %ld bytes exhausted (tried to allocate %lu bytes)", heap->limit, siz
1743 zend_mm_safe_error(zend_mm_heap *heap, const char *format, size_t limit, const char *filename, uint lineno, size_t size) argument
[all...]
/PHP_5_6/ext/pcre/
H A Dphp_pcre.h36 PHPAPI char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC);
61 int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC);
H A Dphp_pcre.c456 * If we reached cache limit, clean out the items from the head of the list;
1047 int *result_len, int limit, int *replace_count TSRMLS_DC)
1058 is_callable_replace, result_len, limit, replace_count TSRMLS_CC);
1067 int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC)
1173 if (count > 0 && (offsets[1] - offsets[0] >= 0) && (limit == -1 || limit > 0)) {
1260 if (limit != -1)
1261 limit--;
1263 } else if (count == PCRE_ERROR_NOMATCH || limit == 0) {
1316 static char *php_replace_in_subject(zval *regex, zval *replace, zval **subject, int *result_len, int limit, in argument
1044 php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC) argument
1066 php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC) argument
1414 long limit = -1; local
[all...]
/PHP_5_6/ext/posix/
H A Dposix.c1214 static int posix_addlimit(int limit, char *name, zval *return_value TSRMLS_DC) { argument
1223 result = getrlimit(limit, &rl);
1248 int limit; member in struct:limitlist
1315 if (posix_addlimit(l->limit, l->name, return_value TSRMLS_CC) == FAILURE) {
/PHP_5_6/ext/session/
H A Dmod_mm.c450 time_t limit; local
457 time(&limit);
459 limit -= maxlifetime;
467 if (sd->ctime < limit) {
/PHP_5_6/ext/spl/
H A Dspl_iterators.h144 } limit; member in union:_spl_dual_it_object::__anon229
H A Dspl_iterators.c1459 intern->u.limit.offset = 0; /* start at beginning */
1460 intern->u.limit.count = -1; /* get all */
1461 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|ll", &zobject, ce_inner, &intern->u.limit.offset, &intern->u.limit.count) == FAILURE) {
1465 if (intern->u.limit.offset < 0) {
1470 if (intern->u.limit.count < 0 && intern->u.limit.count != -1) {
2530 if (intern->u.limit.count != -1 && intern->current.pos >= intern->u.limit.offset + intern->u.limit
[all...]
/PHP_5_6/ext/standard/
H A Dphp_string.h141 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit);
H A Dfile.c2047 char *temp, *tptr, *bptr, *line_end, *limit; local
2062 line_end = limit = tptr;
2079 inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0);
2141 if ((size_t)temp_len > (size_t)(limit - buf)) {
2158 line_end = limit = (char *)php_fgetcsv_lookup_trailing_spaces(buf, buf_len, delimiter TSRMLS_CC);
2159 line_end_len = buf_len - (size_t)(limit - buf);
2223 inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0);
2247 inc_len = (bptr < limit
[all...]
H A Dvar_unserializer.re238 #define YYLIMIT limit
470 const unsigned char *cursor, *limit, *marker, *start;
473 limit = max;
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_frame.c170 int i = 0, limit = num; local
173 if (limit < 0) {
174 phpdbg_error("Invalid backtrace size %d", limit);
178 &zbacktrace, 0, 0, limit TSRMLS_CC);
/PHP_5_6/win32/
H A Dselect.c39 ULONGLONG ms_total, limit; local
100 limit = GetTickCount64() + ms_total;
152 } while (retcode == 0 && (ms_total == INFINITE || GetTickCount64() < limit));
H A Dglob.c448 size_t limit = 0; local
506 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0)
519 return(globextend(pattern, pglob, &limit));
/PHP_5_6/sapi/fpm/fpm/
H A Dfastcgi.c911 zlog(ZLOG_ERROR, "Too many open file descriptors. FD_SETSIZE limit exceeded.");
988 int limit, rest; local
999 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1001 limit -= sizeof(fcgi_header);
1002 if (limit < 0) limit = 0;
1005 if (len < limit) {
1011 } else if (len - limit < sizeof(req->out_buf) - sizeof(fcgi_header)) {
1015 if (limit > 0) {
1016 memcpy(req->out_pos, str, limit);
[all...]
/PHP_5_6/sapi/cgi/
H A Dfastcgi.c1267 fprintf(stderr, "Too many open file descriptors. FD_SETSIZE limit exceeded.");
1344 int limit, rest; local
1357 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1360 if (limit < sizeof(fcgi_header)) {
1367 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1368 if (rest < limit) {
1373 memcpy(req->out_pos, str, limit);
1374 req->out_pos += limit;
1375 rest -= limit;
1376 str += limit;
[all...]
/PHP_5_6/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c203 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data) argument
215 if (limit > max_limit || limit < 1)
233 /* Align limit and max_limit. */
247 stack->limit = stack->base;
249 if (sljit_stack_resize(stack, stack->base + limit)) {
270 stack->limit = stack->base + limit;
299 aligned_old_limit = (stack->limit + sljit_page_align) & ~sljit_page_align;
310 stack->limit
[all...]
/PHP_5_6/main/
H A Drfc1867.c716 sapi_module.sapi_error(E_WARNING, "POST Content-Length of %ld bytes exceeds the limit of %ld bytes", SG(request_info).content_length, SG(post_max_size));
894 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variables exceeded %ld. To increase the limit change max_input_vars in php.ini.", PG(max_input_vars));

Completed in 136 milliseconds

12