Searched defs:max_len (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregparse.h195 OnigDistance max_len; /* max length (byte) */ member in struct:__anon265
/PHP_TRUNK/ext/interbase/
H A Dibase_query.c1546 unsigned long max_len = 0; local
1582 max_len = isc_vax_integer(&bl_info[i+2], item_len);
1588 if (max_len == 0) {
1591 max_len TSRMLS_CC)) {
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_alloc.c615 PHPAPI int _mysqlnd_sprintf(char ** pbuf, size_t max_len, const char *format, ...) argument
620 len = vspprintf(pbuf, max_len, format, ap);
635 PHPAPI int _mysqlnd_vsprintf(char ** pbuf, size_t max_len, const char * format, va_list ap) argument
637 return vspprintf(pbuf, max_len, format, ap);
/PHP_TRUNK/main/
H A Dspprintf.c822 PHPAPI size_t vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ */ argument
829 if (max_len && buf.len > max_len) {
830 buf.len = max_len;
847 PHPAPI size_t spprintf(char **pbuf, size_t max_len, const char *format, ...) /* {{{ */ argument
853 cc = vspprintf(pbuf, max_len, format, ap);
859 PHPAPI zend_string *vstrpprintf(size_t max_len, const char *format, va_list ap) /* {{{ */ argument
865 if (max_len && buf.s && buf.s->len > max_len) {
866 buf.s->len = max_len;
874 strpprintf(size_t max_len, const char *format, ...) argument
[all...]
/PHP_TRUNK/ext/ldap/
H A Dldap.c1495 static int _ldap_strlen_max(const char *str, uint max_len) argument
1499 for (i = 0; i < max_len; ++i) {
1505 return max_len;
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2512 /* {{{ proto void SplFileObject::setMaxLineLen(int max_len)
2516 zend_long max_len; local
2520 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &max_len) == FAILURE) {
2524 if (max_len < 0) {
2529 intern->u.file.max_line_len = max_len;
2998 ZEND_ARG_INFO(0, max_len)
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1465 SQLUSMALLINT max_len; local
1477 rc = SQLGetInfo(result->conn_ptr->hdbc,SQL_MAX_CURSOR_NAME_LEN, (void *)&max_len,sizeof(max_len),&len);
1482 if (max_len > 0) {
1483 cursorname = emalloc(max_len + 1);
1484 rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len);
1495 snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt);
/PHP_TRUNK/main/streams/
H A Dstreams.c1433 size_t len = 0, max_len; local
1475 max_len = ssbuf.sb.st_size + step;
1477 max_len = step;
1480 result = zend_string_alloc(max_len, persistent);
1483 while ((ret = php_stream_read(src, ptr, max_len - len))) {
1485 if (len + min_room >= max_len) {
1486 result = zend_string_realloc(result, max_len + step, persistent);
1487 max_len += step;
/PHP_TRUNK/Zend/
H A Dzend_exceptions.c557 size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) /* {{{ */ argument
563 len = zend_vspprintf(message, max_len, format, arg);
569 zend_string *zend_strpprintf(size_t max_len, const char *format, ...) /* {{{ */ argument
575 str = zend_vstrpprintf(max_len, format, arg);

Completed in 35 milliseconds