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

/PHP_5_3/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_5_3/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_5_3/ext/mbstring/
H A Dmbstring.c2861 int str_len, new_len; local
2870 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", &arg_str, &str_len, &arg_new, &new_len, &arg_old) == FAILURE) {
/PHP_5_3/ext/soap/
H A Dphp_encoding.c877 int new_len; local
886 new_len = Z_STRLEN_P(data);
893 new_len = Z_STRLEN(tmp);
898 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len);
905 new_len = n;
912 char *err = emalloc(new_len + 8);
916 memcpy(err, str, new_len+1);
952 text = xmlNewTextLen(BAD_CAST(str), new_len);
H A Dsoap.c4145 size_t new_len; local
4147 char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
4155 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
4170 size_t new_len; local
4172 char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
4180 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
/PHP_5_3/ext/standard/
H A Dhtml.c1324 int len, j, i, new_len; local
1333 new_len = len;
1334 e = new_str + new_len;
1336 if (!(p = memchr(new_str, '&', new_len))) {
1337 RETURN_STRINGL(new_str, new_len, 0);
1378 new_len = e - new_str;
1380 new_str[new_len] = '\0';
1381 RETURN_STRINGL(new_str, new_len, 0);
H A Dfile.c2242 size_t new_len; local
2257 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) {
2269 temp_len += new_len;
2275 buf_len = new_len;
H A Dinfo.c77 int new_len, written; local
82 elem_esc = php_escape_html_entities((unsigned char *)str, str_length, &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
84 written = php_body_write(elem_esc, new_len TSRMLS_CC);
238 int new_len; local
239 char *ret = php_escape_html_entities((unsigned char *)string, str_len, &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
241 PHPWRITE(ret, new_len);
250 int new_len; local
251 return php_escape_html_entities((unsigned char *)string, strlen(string), &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
/PHP_5_3/ext/wddx/
H A Dwddx.c937 int new_len=0; local
940 new_str = php_base64_decode(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data), &new_len);
943 Z_STRLEN_P(ent1->data) = new_len;
/PHP_5_3/main/
H A Doutput.c408 uint new_len = OG(active_ob_buffer).text_length + text_length; local
410 if (OG(active_ob_buffer).size < new_len) {
412 while (buf_size <= new_len) {
419 OG(active_ob_buffer).text_length = new_len;
/PHP_5_3/Zend/
H A Dzend_language_scanner.c626 size_t original_offset, offset, free_flag, new_len, length; local
651 new_len = original_offset + length;
653 if (new_len > YYLIMIT - SCNG(yy_start)) {
654 unsigned char *new_yy_start = erealloc(SCNG(yy_start), new_len);
660 SCNG(script_filtered_size) = new_len;
663 SCNG(yy_limit) = SCNG(yy_start) + new_len;
/PHP_5_3/ext/phar/
H A Dphar.c2152 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC) /* {{{ */ argument
2158 int ptr_length, path_length = *new_len;
2185 *new_len = 1;
2192 *new_len = 1;
2243 *new_len = newpath_len;
/PHP_5_3/ext/pcre/
H A Dphp_pcre.c988 int new_len; /* Length of needed storage */ local
1082 new_len = *result_len + offsets[0] - start_offset; /* part before the match */
1088 new_len += eval_result_len;
1092 new_len += eval_result_len;
1105 new_len += offsets[(backref<<1)+1] - offsets[backref<<1];
1109 new_len++;
1115 if (new_len + 1 > alloc_len) {
1116 alloc_len = 1 + alloc_len + 2 * new_len;
1176 new_len = *result_len + subject_len - start_offset;
1177 if (new_len
[all...]
/PHP_5_3/ext/pgsql/
H A Dpgsql.c4859 int new_len; local
4881 tmp_name2 = php_addslashes(tmp_name2, strlen(tmp_name2), &new_len, 0 TSRMLS_CC);
4882 smart_str_appendl(&querystr, tmp_name2, new_len);
4885 tmp_name = php_addslashes(tmp_name, strlen(tmp_name), &new_len, 0 TSRMLS_CC);
4886 smart_str_appendl(&querystr, tmp_name, new_len);
5157 int new_len, key_type, err = 0, skip_field; local
5774 field = php_addslashes(field, strlen(field), &new_len, 0 TSRMLS_CC);

Completed in 80 milliseconds