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

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.c60 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { argument
105 if(new_len) {
106 *new_len = outbuf ? outlen : 0;
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;
/PHP_TRUNK/Zend/
H A Dzend_string.h71 #define str_erealloc(str, new_len) \
73 ? _str_erealloc(str, new_len, INTERNED_LEN(str)) \
74 : erealloc(str, new_len))
76 static inline char *_str_erealloc(char *str, size_t new_len, size_t old_len) { argument
77 char *buf = (char *) emalloc(new_len);
/PHP_TRUNK/ext/filter/
H A Dsanitizing_filters.c181 size_t new_len; local
203 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, NULL, 0, 1);
204 Z_STRLEN_P(value) = new_len;
206 if (new_len == 0) {
/PHP_TRUNK/ext/phar/
H A Dphar.c2122 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC) /* {{{ */ argument
2128 int ptr_length, path_length = *new_len;
2155 *new_len = 1;
2162 *new_len = 1;
2213 *new_len = newpath_len;
H A Dphar_internal.h571 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC);
/PHP_TRUNK/ext/soap/
H A Dsoap.c3970 size_t new_len; local
3972 char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
3980 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
3995 size_t new_len; local
3997 char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
4005 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
H A Dphp_encoding.c864 int new_len; local
872 new_len = Z_STRLEN_P(data);
879 new_len = Z_STRLEN(tmp);
884 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len);
891 new_len = n;
898 char *err = emalloc(new_len + 8);
902 memcpy(err, str, new_len+1);
938 text = xmlNewTextLen(BAD_CAST(str), new_len);
/PHP_TRUNK/ext/standard/
H A Dinfo.c66 size_t new_len; local
71 new_str = php_escape_html_entities((unsigned char *) str, len, &new_len, 0, ENT_QUOTES, "utf-8" TSRMLS_CC);
72 written = php_output_write(new_str, new_len TSRMLS_CC);
289 size_t new_len; local
290 return php_escape_html_entities((unsigned char *) string, strlen(string), &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
H A Dfile.c2117 size_t new_len; local
2132 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) {
2144 temp_len += new_len;
2150 buf_len = new_len;
/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/wddx/
H A Dwddx.c935 int new_len=0; local
938 new_str = php_base64_decode(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data), &new_len);
941 Z_STRLEN_P(ent1->data) = new_len;
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1043 int new_len; /* Length of needed storage */ local
1146 new_len = *result_len + offsets[0] - start_offset; /* part before the match */
1152 new_len += eval_result_len;
1156 new_len += eval_result_len;
1169 new_len += offsets[(backref<<1)+1] - offsets[backref<<1];
1173 new_len++;
1179 if (new_len + 1 > alloc_len) {
1180 alloc_len = 1 + alloc_len + 2 * new_len;
1240 new_len = *result_len + subject_len - start_offset;
1241 if (new_len
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c3063 int str_len, new_len; local
3072 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", &arg_str, &str_len, &arg_new, &new_len, &arg_old) == FAILURE) {
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c812 size_t new_len; local
819 new_len = PQescapeStringConn(conn, tmp, str, len, NULL);
820 strncpy(rp, tmp, new_len);
822 rp += new_len;
5453 size_t new_len; local
5491 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL);
5492 if (new_len) {
5493 smart_str_appendl(&querystr, escaped, new_len);
5499 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL);
5500 if (new_len) {
6577 size_t new_len; local
6753 size_t new_len; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c194 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ argument
210 *new_len = 0;
215 if (new_len) {
216 *new_len = len;

Completed in 61 milliseconds