Home
last modified time | relevance | path

Searched refs:limit (Results 26 – 50 of 135) sorted by last modified time

123456

/PHP-5.5/ext/standard/tests/mail/
H A Dezmlm_hash_variation1.phpt6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
74 $limit = 5;
77 var_dump( explode($delimiter, $string, $limit) );
/PHP-5.5/ext/standard/tests/http/
H A Dbug38802.phpt104 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a…
115 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a…
123 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a…
/PHP-5.5/ext/standard/
H A Dstring.c1029 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit) in php_explode() argument
1045 --limit > 1); in php_explode()
1055 PHPAPI void php_explode_negative_limit(zval *delim, zval *str, zval *return_value, long limit) in php_explode_negative_limit() argument
1084 to_return = limit + found; in php_explode_negative_limit()
1104 long limit = LONG_MAX; /* No limit */ in PHP_FUNCTION() local
1107 …meters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &delim, &delim_len, &str, &str_len, &limit) == FAILURE) { in PHP_FUNCTION()
1119 if (limit >= 0) { in PHP_FUNCTION()
1127 if (limit > 1) { in PHP_FUNCTION()
1128 php_explode(&zdelim, &zstr, return_value, limit); in PHP_FUNCTION()
1129 } else if (limit < 0) { in PHP_FUNCTION()
[all …]
H A Dphp_string.h141 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit);
H A Dfile.c2049 char *temp, *tptr, *bptr, *line_end, *limit; in php_fgetcsv() local
2064 line_end = limit = tptr; in php_fgetcsv()
2081 inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0); in php_fgetcsv()
2143 if ((size_t)temp_len > (size_t)(limit - buf)) { in php_fgetcsv()
2160 … line_end = limit = (char *)php_fgetcsv_lookup_trailing_spaces(buf, buf_len, delimiter TSRMLS_CC); in php_fgetcsv()
2161 line_end_len = buf_len - (size_t)(limit - buf); in php_fgetcsv()
2225 inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0); in php_fgetcsv()
2249 inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0); in php_fgetcsv()
2280 inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0); in php_fgetcsv()
H A Dbasic_functions.c2211 ZEND_ARG_INFO(0, limit)
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h207 int (*limit)(sqlite3*,int,int); member
445 #define sqlite3_limit sqlite3_api->limit
H A Dsqlite3.c59896 int limit;
59899 limit = pOld->nCell+pOld->nOverflow;
59901 for(j=0; j<limit; j++){
59911 for(j=0; j<limit; j++){
102062 int (*limit)(sqlite3*,int,int);
102300 #define sqlite3_limit sqlite3_api->limit
130539 int limit = 0;
130550 limit = mask;
130565 limit = mask & flags;
130584 if( (mode & ~SQLITE_OPEN_MEMORY)>limit ){
/PHP-5.5/ext/spl/
H A Dspl_iterators.c1391 intern->u.limit.offset = 0; /* start at beginning */ in spl_dual_it_construct()
1392 intern->u.limit.count = -1; /* get all */ in spl_dual_it_construct()
1393 …NUM_ARGS() TSRMLS_CC, "O|ll", &zobject, ce_inner, &intern->u.limit.offset, &intern->u.limit.count)… in spl_dual_it_construct()
1397 if (intern->u.limit.offset < 0) { in spl_dual_it_construct()
1402 if (intern->u.limit.count < 0 && intern->u.limit.count != -1) { in spl_dual_it_construct()
2462 …if (intern->u.limit.count != -1 && intern->current.pos >= intern->u.limit.offset + intern->u.limit in spl_limit_it_valid()
2474 if (pos < intern->u.limit.offset) { in spl_limit_it_seek()
2478 if (pos >= intern->u.limit.offset + intern->u.limit.count && intern->u.limit.count != -1) { in spl_limit_it_seek()
2524 spl_limit_it_seek(intern, intern->u.limit.offset TSRMLS_CC); in SPL_METHOD()
2536 …RETURN_BOOL((intern->u.limit.count == -1 || intern->current.pos < intern->u.limit.offset + intern-… in SPL_METHOD()
[all …]
H A Dspl_iterators.h144 } limit; member
H A Dspl_heap.c278 const int limit = (heap->count-1)/2; in spl_ptr_heap_delete_top() local
289 for( i = 0; i < limit; i = j) in spl_ptr_heap_delete_top()
/PHP-5.5/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.5/ext/session/
H A Dmod_mm.c450 time_t limit; in PS_GC_FUNC() local
457 time(&limit); in PS_GC_FUNC()
459 limit -= maxlifetime; in PS_GC_FUNC()
467 if (sd->ctime < limit) { in PS_GC_FUNC()
/PHP-5.5/ext/posix/
H A Dposix.c1214 static int posix_addlimit(int limit, char *name, zval *return_value TSRMLS_DC) { in posix_addlimit() argument
1223 result = getrlimit(limit, &rl); in posix_addlimit()
1248 int limit; member
1315 if (posix_addlimit(l->limit, l->name, return_value TSRMLS_CC) == FAILURE) { in PHP_FUNCTION()
/PHP-5.5/ext/pdo/tests/
H A Dbug65946.phpt19 $stmt = $db->prepare('SELECT * FROM test LIMIT :limit');
20 $stmt->bindValue('limit', 1, PDO::PARAM_INT);
/PHP-5.5/ext/pcre/
H A Dphp_pcre.c1134 if (count > 0 && (offsets[1] - offsets[0] >= 0) && (limit == -1 || limit > 0)) { in php_pcre_replace_impl()
1221 if (limit != -1) in php_pcre_replace_impl()
1222 limit--; in php_pcre_replace_impl()
1224 } else if (count == PCRE_ERROR_NOMATCH || limit == 0) { in php_pcre_replace_impl()
1334 limit, in php_replace_in_subject()
1356 limit, in php_replace_in_subject()
1375 long limit = -1; in preg_replace_impl() local
1409 limit_val = limit; in preg_replace_impl()
1927 ZEND_ARG_INFO(0, limit)
1935 ZEND_ARG_INFO(0, limit)
[all …]
H A Dphp_pcre.h36 …ect_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_coun…
61 int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC);
/PHP-5.5/ext/pcre/tests/
H A Dbacktrack_limit.phpt2 Backtracking limit
H A Dcache_limit.phpt2 Compiled regex cache limit
H A Dpreg_replace_basic.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
H A Dpreg_split_basic.phpt6 * proto array preg_split(string pattern, string subject [, int limit [, int flags]])
H A Dpreg_split_error2.phpt6 * proto array preg_split(string pattern, string subject [, int limit [, int flags]])
H A Dpreg_replace_callback_basic.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
H A Dpreg_replace_callback_error.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
22 $limit = 10;
24 var_dump(preg_replace_callback($regex, 'integer_word', $subject, $limit, $count, $extra_arg));

Completed in 583 milliseconds

123456