Searched defs:new_len (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c644 int new_len = 0; local
645 char* add_text = utf8_decode(s, len, &new_len, mydata->input_options->encoding);
647 len = new_len;
H A Dencodings.c61 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { argument
106 if(new_len) {
107 *new_len = outbuf ? outlen : 0;
/PHP_TRUNK/ext/zip/lib/
H A Dzip_extra_field_api.c249 int i, found, new_len;
304 new_len = ls > cs ? ls : cs;
306 new_len -= ef->size + 4;
307 new_len += len + 4;
309 if (new_len > ZIP_UINT16_MAX) {
241 int i, found, new_len; local
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c3084 size_t str_len, new_len; local
3092 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", &arg_str, &str_len, &arg_new, &new_len, &arg_old) == FAILURE) {
/PHP_TRUNK/Zend/
H A Dzend_smart_str.h86 size_t new_len = smart_str_alloc(dest, 1, persistent); local
87 dest->s->val[new_len - 1] = ch;
88 dest->s->len = new_len;
92 size_t new_len = smart_str_alloc(dest, len, persistent); local
94 dest->s->len = new_len;
/PHP_TRUNK/ext/phar/
H A Dphar.c2078 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC) /* {{{ */ argument
2084 int ptr_length, path_length = *new_len;
2111 *new_len = 1;
2118 *new_len = 1;
2169 *new_len = newpath_len;
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c827 int new_len; local
835 new_len = Z_STRLEN_P(data);
839 new_len = tmp->len;
844 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len);
851 new_len = n;
858 char *err = emalloc(new_len + 8);
862 memcpy(err, str, new_len+1);
898 text = xmlNewTextLen(BAD_CAST(str), new_len);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c190 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ argument
206 *new_len = 0;
211 if (new_len) {
212 *new_len = len;
/PHP_TRUNK/ext/filter/
H A Dsanitizing_filters.c184 size_t new_len; local
210 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, NULL, 0, 1);
211 Z_STRLEN_P(value) = new_len;
213 if (new_len == 0) {
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1108 int new_len; /* Length of needed storage */ local
1209 new_len = result_len + offsets[0] - start_offset; /* part before the match */
1215 new_len += (int)eval_result->len;
1219 new_len += (int)eval_result->len;
1232 new_len += offsets[(backref<<1)+1] - offsets[backref<<1];
1236 new_len++;
1242 if (new_len > alloc_len) {
1243 alloc_len = alloc_len + 2 * new_len;
1300 new_len = result_len + subject_len - start_offset;
1301 if (new_len > alloc_le
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.c2136 size_t new_len; local
2151 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) {
2163 temp_len += new_len;
2169 buf_len = new_len;
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c814 size_t new_len; local
821 new_len = PQescapeStringConn(conn, tmp, str, len, NULL);
822 strncpy(rp, tmp, new_len);
824 rp += new_len;
5429 size_t new_len; local
5467 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL);
5468 if (new_len) {
5469 smart_str_appendl(&querystr, escaped, new_len);
5475 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL);
5476 if (new_len) {
6530 size_t new_len; local
6700 size_t new_len; local
[all...]

Completed in 40 milliseconds