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

/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregparse.h195 OnigDistance max_len; /* max length (byte) */ member in struct:__anon48
/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/ext/zlib/
H A Dzlib.c426 static int php_zlib_decode(const char *in_buf, size_t in_len, char **out_buf, size_t *out_len, int encoding, size_t max_len) argument
442 switch (status = php_zlib_inflate_rounds(&Z, max_len, out_buf, out_len)) {
702 zend_long max_len = 0; \
703 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &in_buf, &in_len, &max_len)) { \
706 if (max_len < 0) { \
707 php_error_docref(NULL, E_WARNING, "length (%pd) must be greater or equal zero", max_len); \
710 if (SUCCESS != php_zlib_decode(in_buf, in_len, &out_buf, &out_len, encoding, max_len)) { \
/PHP_TRUNK/main/streams/
H A Dstreams.c1422 size_t len = 0, max_len; local
1464 max_len = ssbuf.sb.st_size + step;
1466 max_len = step;
1469 result = zend_string_alloc(max_len, persistent);
1472 while ((ret = php_stream_read(src, ptr, max_len - len))) {
1474 if (len + min_room >= max_len) {
1475 result = zend_string_extend(result, max_len + step, persistent);
1476 max_len += step;
/PHP_TRUNK/ext/interbase/
H A Dibase_blobs.c93 int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len) /* {{{ */ argument
102 bl_data = zend_string_alloc(max_len, 0);
104 for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_len) {
106 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX
107 : (unsigned short)(max_len-cur_len);
H A Dibase_query.c1545 unsigned long max_len = 0; local
1581 max_len = isc_vax_integer(&bl_info[i+2], item_len);
1587 if (max_len == 0) {
1590 max_len)) {
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1501 SQLUSMALLINT max_len; local
1515 rc = SQLGetInfo(result->conn_ptr->hdbc,SQL_MAX_CURSOR_NAME_LEN, (void *)&max_len,sizeof(max_len),&len);
1520 if (max_len > 0) {
1521 cursorname = emalloc(max_len + 1);
1522 rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len);
1533 snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt);
/PHP_TRUNK/ext/ldap/
H A Dldap.c1588 static int _ldap_strlen_max(const char *str, uint max_len) argument
1592 for (i = 0; i < max_len; ++i) {
1598 return max_len;
/PHP_TRUNK/Zend/
H A Dzend_exceptions.c648 size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) /* {{{ */ argument
654 len = zend_vspprintf(message, max_len, format, arg);
660 zend_string *zend_strpprintf(size_t max_len, const char *format, ...) /* {{{ */ argument
666 str = zend_vstrpprintf(max_len, format, arg);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2508 /* {{{ proto void SplFileObject::setMaxLineLen(int max_len)
2512 zend_long max_len; local
2516 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &max_len) == FAILURE) {
2520 if (max_len < 0) {
2525 intern->u.file.max_line_len = max_len;
3001 ZEND_ARG_INFO(0, max_len)
/PHP_TRUNK/main/
H A Dspprintf.c838 PHPAPI size_t vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ */ argument
849 if (max_len && buf.len > max_len) {
850 buf.len = max_len;
865 PHPAPI size_t spprintf(char **pbuf, size_t max_len, const char *format, ...) /* {{{ */ argument
871 cc = vspprintf(pbuf, max_len, format, ap);
877 PHPAPI zend_string *vstrpprintf(size_t max_len, const char *format, va_list ap) /* {{{ */ argument
887 if (max_len && ZSTR_LEN(buf.s) > max_len) {
888 ZSTR_LEN(buf.s) = max_len;
896 strpprintf(size_t max_len, const char *format, ...) argument
[all...]

Completed in 34 milliseconds