Searched defs:limit (Results 1 - 24 of 24) sorted by relevance

/PHP_TRUNK/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_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h207 int (*limit)(sqlite3*,int,int); member in struct:sqlite3_api_routines
428 #define sqlite3_limit sqlite3_api->limit
H A Dsqlite3.c534 #define SQLITE_TOOBIG 18 /* String or BLOB exceeds size limit */
1042 ** pointer is overwritten with the old value. The limit is not changed if
1043 ** the value originally pointed to is negative, and so the current limit
1820 ** that are the default mmap size limit (the default setting for
1821 ** [PRAGMA mmap_size]) and the maximum allowed mmap size limit.
2700 ** The [SQLITE_TRACE_SIZE_LIMIT] compile-time option can be used to limit
3087 ** [database connection] whose limit is to be set or queried. The
3088 ** second parameter is one of the [limit categories] that define a
3090 ** new limit for that construct.)^
3092 ** ^If the new limit i
57068 int limit; local
122351 int limit = 0; local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitLir.h934 writable memory region between base (inclusive) and limit (exclusive).
935 Both base and limit is a pointer, and base is always <= than limit.
956 sljit_uw limit; member in struct:sljit_stack
961 Note: limit and max_limit contains the size for stack allocation
963 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit);
969 since the growth ratio can be added to the current limit, and sljit_stack_resize
H A DsljitUtils.c203 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit) argument
214 if (limit > max_limit || limit < 1)
232 /* Align limit and max_limit. */
246 stack->limit = stack->base;
248 if (sljit_stack_resize(stack, stack->base + limit)) {
269 stack->limit = stack->base + limit;
297 aligned_old_limit = (stack->limit + sljit_page_align) & ~sljit_page_align;
308 stack->limit
[all...]
/PHP_TRUNK/win32/
H A Dglob.c446 size_t limit = 0; local
504 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0)
517 return(globextend(pattern, pglob, &limit));
H A Dselect.c39 ULONGLONG ms_total, limit; local
100 limit = GetTickCount64() + ms_total;
152 } while (retcode == 0 && (ms_total == INFINITE || GetTickCount64() < limit));
/PHP_TRUNK/ext/intl/transliterator/
H A Dtransliterator_methods.c311 limit = -1; local
324 &arg1, &str, &str_len, &start, &limit ) == FAILURE )
359 &str, &str_len, &start, &limit ) == FAILURE )
366 if( limit < -1 )
374 if( start < 0 || ((limit != -1 ) && (start > limit )) )
392 if( ( start > ustr_len ) || (( limit != -1 ) && (limit > ustr_len ) ) )
414 int32_t temp_limit = ( limit == -1 ? ustr_len : (int32_t) limit );
[all...]
/PHP_TRUNK/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_TRUNK/ext/session/
H A Dmod_mm.c450 time_t limit; local
457 time(&limit);
459 limit -= maxlifetime;
467 if (sd->ctime < limit) {
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c280 const int limit = (heap->count-1)/2; local
291 for (i = 0; i < limit; i = j) {
H A Dspl_iterators.h144 } limit; member in union:_spl_dual_it_object::__anon224
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c1256 fprintf(stderr, "Too many open file descriptors. FD_SETSIZE limit exceeded.");
1332 int limit, rest; local
1345 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1348 if (limit < sizeof(fcgi_header)) {
1355 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1356 if (rest < limit) {
1361 memcpy(req->out_pos, str, limit);
1362 req->out_pos += limit;
1363 rest -= limit;
1364 str += limit;
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.c870 zlog(ZLOG_ERROR, "Too many open file descriptors. FD_SETSIZE limit exceeded.");
946 int limit, rest; local
957 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
959 limit -= sizeof(fcgi_header);
960 if (limit < 0) limit = 0;
963 if (len < limit) {
969 } else if (len - limit < sizeof(req->out_buf) - sizeof(fcgi_header)) {
973 if (limit > 0) {
974 memcpy(req->out_pos, str, limit);
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c716 "The website is temporarily unable to service your request as it exceeded resource limit.\n"
736 LSAPI_perror_r(pReq, "LSAPI: lve_enter() failure, reached resource limit.", NULL );
2756 fprintf( stderr, "Reached max children process limit: %d, extra: %d, current: %d, please increase LSAPI_CHILDREN.\n",
2836 perror( "fork() failed, please increase process limit" );
3162 struct rlimit limit = { 0, 0 }; local
3163 setrlimit( RLIMIT_CORE, &limit );
/PHP_TRUNK/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_TRUNK/ext/iconv/
H A Diconv.c2353 char *p, *limit; local
2365 limit = decoded_header.s->val + decoded_header.s->len;
2366 for (p = decoded_header.s->val; p < limit; p++) {
2372 while (++p < limit) {
2379 header_value_len = limit - p;
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c439 * If we reached cache limit, clean out the items from the head of the list;
1082 int limit, int *replace_count TSRMLS_DC)
1092 is_callable_replace, limit, replace_count TSRMLS_CC);
1098 int is_callable_replace, int limit, int *replace_count TSRMLS_DC)
1202 if (count > 0 && (limit == -1 || limit > 0)) {
1286 if (limit != -1)
1287 limit--;
1289 } else if (count == PCRE_ERROR_NOMATCH || limit == 0) {
1346 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, in argument
1079 php_pcre_replace(zend_string *regex, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count TSRMLS_DC) argument
1097 php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count TSRMLS_DC) argument
1437 zend_long limit = -1; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c236 ZEND_ARG_INFO(0, limit)
2103 /* {{{ proto void debug_print_backtrace([int options[, int limit]]) */
2118 zend_long limit = 0; local
2120 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", &options, &limit) == FAILURE) {
2131 while (ptr && (limit == 0 || frameno < limit)) {
2290 ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int options, int limit TSRMLS_DC) /* {{{ */
2328 while (ptr && (limit == 0 || frameno < limit)) {
2495 /* {{{ proto array debug_backtrace([int options[, int limit]])
2500 zend_long limit = 0; local
[all...]
H A Dzend_alloc.c116 # define ZEND_MM_LIMIT 1 /* support for user-defined memory limit */
238 size_t limit; /* memory limit */ member in struct:_zend_mm_heap
356 size_t limit,
369 limit,
970 if (heap->real_size + ZEND_MM_CHUNK_SIZE > heap->limit) {
973 zend_mm_safe_error(heap, "Allowed memory size of %zu bytes exhausted at %s:%d (tried to allocate %zu bytes)", heap->limit, __zend_filename, __zend_lineno, size);
975 zend_mm_safe_error(heap, "Allowed memory size of %zu bytes exhausted (tried to allocate %zu bytes)", heap->limit, ZEND_MM_PAGE_SIZE * pages_count);
1423 if (heap->real_size + (new_size - old_size) > heap->limit) {
1426 zend_mm_safe_error(heap, "Allowed memory size of %zu bytes exhausted at %s:%d (tried to allocate %zu bytes)", heap->limit, __zend_filenam
354 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_TRUNK/ext/standard/
H A Dvar_unserializer.c232 #define YYLIMIT limit
467 const unsigned char *cursor, *limit, *marker, *start; local
470 limit = max;
H A Dstring.c43 * limit the damage to just the actual setlocale() call in this file
1016 PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit) argument
1029 } while (p2 != NULL && --limit > 1);
1040 PHPAPI void php_explode_negative_limit(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit) argument
1049 do nothing since limit <= -1, thus if only one chunk - 1 + (limit) <= 0
1067 to_return = limit + found;
1068 /* limit is at least -1 therefore no need of bounds checking : i will be always less than found */
1079 /* {{{ proto array explode(string separator, string str [, int limit])
1080 Splits a string on string separator and return array of components. If limit i
1084 zend_long limit = ZEND_LONG_MAX; /* No limit */ local
[all...]
H A Dfile.c2068 char *temp, *tptr, *bptr, *line_end, *limit; local
2083 line_end = limit = tptr;
2100 inc_len = (bptr < limit ? (*bptr == '\0' ? 1 : php_mblen(bptr, limit - bptr)): 0);
2162 if ((size_t)temp_len > (size_t)(limit - buf)) {
2179 line_end = limit = (char *)php_fgetcsv_lookup_trailing_spaces(buf, buf_len, delimiter TSRMLS_CC);
2180 line_end_len = buf_len - (size_t)(limit - buf);
2244 inc_len = (bptr < limit ? (*bptr == '\0' ? 1 : php_mblen(bptr, limit - bptr)): 0);
2268 inc_len = (bptr < limit
[all...]
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c93 zend_long limit; member in struct:_php_openssl_handshake_bucket_t
979 sslsock->reneg->tokens -= (elapsed_time * (sslsock->reneg->limit / sslsock->reneg->window));
986 /* The token level exceeds our allowed limit */
987 if (sslsock->reneg->tokens > sslsock->reneg->limit) {
1004 php_error(E_WARNING, "SSL: failed invoking reneg limit notification callback");
1016 "SSL: client-initiated handshake rate limit exceeded by peer");
1024 /* Rate-limit client-initiated handshake renegotiation to prevent DoS */
1034 zend_long limit = OPENSSL_DEFAULT_RENEG_LIMIT; local
1042 limit = Z_LVAL_P(val);
1046 if (limit <
[all...]

Completed in 151 milliseconds