Searched refs:max_len (Results 1 - 16 of 16) sorted by relevance

/PHP_5_3/ext/spl/internal/
H A Dsplfileobject.inc27 private $max_len = 0;
67 $buf = fgets($this->fp, $this->max_len);
91 return fgetcsv($this->fp, $this->max_len, $delimiter, $enclosure);
232 * @param $max_len set the maximum line length read
234 function setMaxLineLen($max_len)
236 $this->max_len = $max_len;
244 return $this->max_len;
327 $this->line = fgets($this->fp, $this->max_len);
/PHP_5_3/ext/interbase/tests/
H A Dinterbase.inc78 function rand_binstr($max_len)
80 $len = rand() % $max_len;
88 function rand_str($max_len)
90 $len = rand() % $max_len;
/PHP_5_3/ext/intl/grapheme/
H A Dgrapheme_util.h57 #define OUTSIDE_STRING(offset, max_len) ( offset <= INT32_MIN || offset > INT32_MAX || (offset < 0 ? -offset > (long) max_len : offset >= (long) max_len) )
/PHP_5_3/ext/mbstring/oniguruma/
H A Dregcomp.c2228 *max = en->max_len;
2232 en->max_len = *max;
4641 if (IS_EFFECT_MAX_FIXED(en)) max = en->max_len;
H A Dregparse.h185 OnigDistance max_len; /* max length (byte) */ member in struct:__anon239
/PHP_5_3/ext/interbase/
H A Dibase_blobs.c98 int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len TSRMLS_DC) /* {{{ */
107 bl_data = safe_emalloc(1, max_len, 1);
109 for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_len) {
111 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX
112 : (unsigned short)(max_len-cur_len);
H A Dibase_query.c1555 unsigned long max_len = 0; local
1591 max_len = isc_vax_integer(&bl_info[i+2], item_len);
1597 if (max_len == 0) {
1600 max_len TSRMLS_CC)) {
H A Dphp_ibase_includes.h179 int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len TSRMLS_DC);
/PHP_5_3/main/
H A Dspprintf.c795 PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ */ argument
801 if (max_len && xbuf.len > max_len) {
802 xbuf.len = max_len;
812 PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...) /* {{{ */ argument
818 cc = vspprintf(pbuf, max_len, format, ap);
H A Dspprintf.h40 PHPAPI int spprintf( char **pbuf, size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
42 PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0);
/PHP_5_3/main/streams/
H A Dstreams.c1354 size_t len = 0, max_len; local
1393 max_len = ssbuf.sb.st_size + step;
1395 max_len = step;
1398 ptr = *buf = pemalloc_rel_orig(max_len, persistent);
1400 while((ret = php_stream_read(src, ptr, max_len - len))) {
1402 if (len + min_room >= max_len) {
1403 *buf = perealloc_rel_orig(*buf, max_len + step, persistent);
1404 max_len += step;
/PHP_5_3/Zend/
H A Dzend.c59 int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
H A Dzend.h485 int (*vspprintf_function)(char **pbuf, size_t max_len, const char *format, va_list ap);
627 extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
H A Dzend_exceptions.h56 int zend_spprintf(char **message, int max_len, char *format, ...);
/PHP_5_3/ext/odbc/
H A Dphp_odbc.c1463 SQLUSMALLINT max_len; local
1475 rc = SQLGetInfo(result->conn_ptr->hdbc,SQL_MAX_CURSOR_NAME_LEN, (void *)&max_len,sizeof(max_len),&len);
1480 if (max_len > 0) {
1481 cursorname = emalloc(max_len + 1);
1482 rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len);
1493 snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt);
/PHP_5_3/ext/spl/
H A Dspl_directory.c2515 /* {{{ proto void SplFileObject::setMaxLineLen(int max_len)
2519 long max_len; local
2523 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &max_len) == FAILURE) {
2527 if (max_len < 0) {
2532 intern->u.file.max_line_len = max_len;
2886 ZEND_ARG_INFO(0, max_len)

Completed in 37 milliseconds