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

12

/PHP_5_3/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_3/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_3/ext/sqlite/libsqlite/src/
H A Dparse.c17 int limit; /* The LIMIT value. -1 if there is no limit */ member in struct:LimitVal
2143 yygotominor.yy179 = sqliteSelectNew(yymsp[-6].minor.yy322,yymsp[-5].minor.yy307,yymsp[-4].minor.yy242,yymsp[-3].minor.yy322,yymsp[-2].minor.yy242,yymsp[-1].minor.yy322,yymsp[-7].minor.yy372,yymsp[0].minor.yy124.limit,yymsp[0].minor.yy124.offset);
2363 {yygotominor.yy124.limit = -1; yygotominor.yy124.offset = 0;}
2368 {yygotominor.yy124.limit = yymsp[0].minor.yy372; yygotominor.yy124.offset = 0;}
2373 {yygotominor.yy124.limit = yymsp[-2].minor.yy372; yygotominor.yy124.offset = yymsp[0].minor.yy372;}
2378 {yygotominor.yy124.limit = yymsp[0].minor.yy372; yygotominor.yy124.offset = yymsp[-2].minor.yy372;}
H A Dparse.y42 int limit; /* The LIMIT value. -1 if there is no limit */
305 A = sqliteSelectNew(W,X,Y,P,Q,Z,D,L.limit,L.offset);
469 limit_opt(A) ::= . {A.limit = -1; A.offset = 0;}
470 limit_opt(A) ::= LIMIT signed(X). {A.limit = X; A.offset = 0;}
472 {A.limit = X; A.offset = Y;}
474 {A.limit = Y; A.offset = X;}
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h190 int (*limit)(sqlite3*,int,int); member in struct:sqlite3_api_routines
390 #define sqlite3_limit sqlite3_api->limit
/PHP_5_3/win32/
H A Dglob.c439 size_t limit = 0; local
497 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0)
510 return(globextend(pattern, pglob, &limit));
H A Dselect.c39 DWORD ms_total, limit; local
100 limit = GetTickCount() + ms_total;
152 } while (retcode == 0 && (ms_total == INFINITE || GetTickCount() < limit));
/PHP_5_3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp5022x.c494 const int limit = cp932ext3_ucs_table_size > local
498 for (i = 0; i < limit; i++) {
726 const int limit = cp932ext3_ucs_table_size > local
730 for (i = 0; i < limit; i++) {
873 const int limit = cp932ext3_ucs_table_size > local
877 for (i = 0; i < limit; i++) {
/PHP_5_3/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.c422 * If we reached cache limit, clean out the items from the head of the list;
962 int *result_len, int limit, int *replace_count TSRMLS_DC)
972 is_callable_replace, result_len, limit, replace_count TSRMLS_CC);
978 int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC)
1075 if (count > 0 && (limit == -1 || limit > 0)) {
1162 if (limit != -1)
1163 limit--;
1165 } else if (count == PCRE_ERROR_NOMATCH || limit == 0) {
1216 static char *php_replace_in_subject(zval *regex, zval *replace, zval **subject, int *result_len, int limit, in argument
959 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
977 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
1314 long limit = -1; local
[all...]
/PHP_5_3/ext/posix/
H A Dposix.c1229 static int posix_addlimit(int limit, char *name, zval *return_value TSRMLS_DC) { argument
1238 result = getrlimit(limit, &rl);
1263 int limit; member in struct:limitlist
1330 if (posix_addlimit(l->limit, l->name, return_value TSRMLS_CC) == FAILURE) {
/PHP_5_3/ext/session/
H A Dmod_mm.c415 time_t limit; local
422 time(&limit);
424 limit -= maxlifetime;
432 if (sd->ctime < limit) {
/PHP_5_3/ext/spl/
H A Dspl_iterators.h138 } limit; member in union:_spl_dual_it_object::__anon195
H A Dspl_iterators.c1394 intern->u.limit.offset = 0; /* start at beginning */
1395 intern->u.limit.count = -1; /* get all */
1396 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|ll", &zobject, ce_inner, &intern->u.limit.offset, &intern->u.limit.count) == FAILURE) {
1400 if (intern->u.limit.offset < 0) {
1405 if (intern->u.limit.count < 0 && intern->u.limit.count != -1) {
2285 if (intern->u.limit.count != -1 && intern->current.pos >= intern->u.limit.offset + intern->u.limit
[all...]
/PHP_5_3/ext/standard/
H A Dphp_string.h141 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit);
H A Dvar_unserializer.c189 #define YYLIMIT limit
392 const unsigned char *cursor, *limit, *marker, *start; local
395 limit = cursor = *p;
H A Dvar_unserializer.re187 #define YYLIMIT limit
396 const unsigned char *cursor, *limit, *marker, *start;
399 limit = cursor = *p;
H A Dstring.c43 * limit the damage to just the actual setlocale() call in this file
942 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit) argument
958 --limit > 1);
968 PHPAPI void php_explode_negative_limit(zval *delim, zval *str, zval *return_value, long limit) argument
980 do nothing since limit <= -1, thus if only one chunk - 1 + (limit) <= 0
997 to_return = limit + found;
998 /* limit is at least -1 therefore no need of bounds checking : i will be always less than found */
1011 /* {{{ proto array explode(string separator, string str [, int limit])
1012 Splits a string on string separator and return array of components. If limit i
1017 long limit = LONG_MAX; /* No limit */ local
[all...]
H A Dfile.c2169 char *temp, *tptr, *bptr, *line_end, *limit; local
2184 line_end = limit = tptr;
2200 inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0);
2262 if ((size_t)temp_len > (size_t)(limit - buf)) {
2279 line_end = limit = (char *)php_fgetcsv_lookup_trailing_spaces(buf, buf_len, delimiter TSRMLS_CC);
2280 line_end_len = buf_len - (size_t)(limit - buf);
2344 inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0);
2368 inc_len = (bptr < limit
[all...]
/PHP_5_3/ext/zlib/
H A Dzlib.c537 long limit = 0; local
541 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &data, &data_len, &limit) == FAILURE) {
545 if (limit < 0) {
546 php_error_docref(NULL TSRMLS_CC, E_WARNING, "length (%ld) must be greater or equal zero", limit);
549 plength = limit;
644 long limit = 0; local
649 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &data, &data_len, &limit) == FAILURE) {
657 if (limit < 0) {
658 php_error_docref(NULL TSRMLS_CC, E_WARNING, "length (%ld) must be greater or equal zero", limit);
661 plength = limit;
[all...]
/PHP_5_3/main/
H A Drfc1867.c785 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));
951 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));
/PHP_5_3/sapi/cgi/
H A Dfastcgi.c1037 fprintf(stderr, "Too many open file descriptors. FD_SETSIZE limit exceeded.");
1113 int limit, rest; local
1126 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1129 if (limit < sizeof(fcgi_header)) {
1136 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1137 if (rest < limit) {
1142 memcpy(req->out_pos, str, limit);
1143 req->out_pos += limit;
1144 rest -= limit;
1145 str += limit;
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfastcgi.c879 zlog(ZLOG_ERROR, "Too many open file descriptors. FD_SETSIZE limit exceeded.");
955 int limit, rest; local
966 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
968 limit -= sizeof(fcgi_header);
969 if (limit < 0) limit = 0;
972 if (len < limit) {
978 } else if (len - limit < sizeof(req->out_buf) - sizeof(fcgi_header)) {
982 if (limit > 0) {
983 memcpy(req->out_pos, str, limit);
[all...]
/PHP_5_3/Zend/
H A Dzend_alloc.c428 size_t limit; member in struct:_zend_mm_heap
1093 heap->limit = ZEND_MM_LONG_CONST(1)<<(ZEND_MM_NUM_BUCKETS-2);
1675 size_t limit,
1707 limit,
1718 limit,
1864 if (!best_fit && heap->real_size >= heap->limit - heap->block_size) {
1895 heap->real_size + segment_size > heap->limit) {
1896 /* Memory limit overflow */
1902 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);
1904 zend_mm_safe_error(heap, "Allowed memory size of %ld bytes exhausted (tried to allocate %lu bytes)", heap->limit, siz
1673 zend_mm_safe_error(zend_mm_heap *heap, const char *format, size_t limit, const char *filename, uint lineno, size_t size) argument
[all...]

Completed in 91 milliseconds

12