Home
last modified time | relevance | path

Searched refs:new_len (Results 1 – 15 of 15) sorted by relevance

/PHP-5.5/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* … in convert() argument
105 if(new_len) { in convert()
106 *new_len = outbuf ? outlen : 0; in convert()
H A Dxml_element.c644 int new_len = 0; in _xmlrpc_charHandler() local
645 char* add_text = utf8_decode(s, len, &new_len, mydata->input_options->encoding); in _xmlrpc_charHandler()
647 len = new_len; in _xmlrpc_charHandler()
/PHP-5.5/ext/filter/
H A Dsanitizing_filters.c181 size_t new_len; in php_filter_string() local
203 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, NULL, 0, 1); in php_filter_string()
204 Z_STRLEN_P(value) = new_len; in php_filter_string()
206 if (new_len == 0) { in php_filter_string()
/PHP-5.5/ext/standard/
H A Dhtml.c1442 size_t new_len; in php_html_entities() local
1451 …replaced = php_escape_html_entities_ex(str, str_len, &new_len, all, (int) flags, hint_charset, dou… in php_html_entities()
1452 RETVAL_STRINGL(replaced, (int)new_len, 0); in php_html_entities()
1492 size_t new_len = 0; in PHP_FUNCTION() local
1500 …replaced = php_unescape_html_entities(str, str_len, &new_len, 0 /*!all*/, quote_style, NULL TSRMLS… in PHP_FUNCTION()
1502 RETURN_STRINGL(replaced, (int)new_len, 0); in PHP_FUNCTION()
1514 size_t new_len = 0; in PHP_FUNCTION() local
1523 …replaced = php_unescape_html_entities(str, str_len, &new_len, 1 /*all*/, quote_style, hint_charset… in PHP_FUNCTION()
1525 RETURN_STRINGL(replaced, (int)new_len, 0); in PHP_FUNCTION()
H A Dinfo.c66 size_t new_len; in php_info_print_html_esc() local
71 …new_str = php_escape_html_entities((unsigned char *) str, len, &new_len, 0, ENT_QUOTES, "utf-8" TS… in php_info_print_html_esc()
72 written = php_output_write(new_str, new_len TSRMLS_CC); in php_info_print_html_esc()
289 size_t new_len; in php_info_html_esc() local
290 …return php_escape_html_entities((unsigned char *) string, strlen(string), &new_len, 0, ENT_QUOTES,… in php_info_html_esc()
H A Dfile.c2123 size_t new_len; in php_fgetcsv() local
2138 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) { in php_fgetcsv()
2150 temp_len += new_len; in php_fgetcsv()
2156 buf_len = new_len; in php_fgetcsv()
H A Dstring.c2619 size_t new_len; local
2654 new_len = q - str;
2655 if (UNEXPECTED(new_len > INT_MAX)) {
2660 RETURN_STRINGL(erealloc(str, new_len + 1), new_len, 0);
/PHP-5.5/ext/pcre/
H A Dphp_pcre.c1043 int new_len; /* Length of needed storage */ in php_pcre_replace_impl() local
1141 new_len = *result_len + offsets[0] - start_offset; /* part before the match */ in php_pcre_replace_impl()
1147 new_len += eval_result_len; in php_pcre_replace_impl()
1151 new_len += eval_result_len; in php_pcre_replace_impl()
1164 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1168 new_len++; in php_pcre_replace_impl()
1174 if (new_len + 1 > alloc_len) { in php_pcre_replace_impl()
1175 alloc_len = 1 + alloc_len + 2 * new_len; in php_pcre_replace_impl()
1237 new_len = *result_len + subject_len - start_offset; in php_pcre_replace_impl()
1238 if (new_len + 1 > alloc_len) { in php_pcre_replace_impl()
[all …]
/PHP-5.5/ext/wddx/
H A Dwddx.c950 int new_len=0; in php_wddx_pop_element() local
953 new_str = php_base64_decode(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data), &new_len); in php_wddx_pop_element()
956 Z_STRLEN_P(ent1->data) = new_len; in php_wddx_pop_element()
/PHP-5.5/ext/pgsql/
H A Dpgsql.c782 size_t new_len;
789 new_len = PQescapeStringConn(conn, tmp, str, len, NULL);
790 strncpy(rp, tmp, new_len);
792 rp += new_len;
5112 size_t new_len; local
5139 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL);
5140 if (new_len) {
5141 smart_str_appendl(&querystr, escaped, new_len);
5147 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL);
5148 if (new_len) {
[all …]
/PHP-5.5/ext/soap/
H A Dphp_encoding.c873 int new_len; in to_xml_string() local
881 new_len = Z_STRLEN_P(data); in to_xml_string()
888 new_len = Z_STRLEN(tmp); in to_xml_string()
893 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string()
900 new_len = n; in to_xml_string()
907 char *err = emalloc(new_len + 8); in to_xml_string()
911 memcpy(err, str, new_len+1); in to_xml_string()
947 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
H A Dsoap.c4011 size_t new_len; local
4013 …scape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRML…
4021 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
4037 size_t new_len; local
4039 …scape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRML…
4047 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
/PHP-5.5/ext/phar/
H A Dphar_internal.h604 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC);
H A Dphar.c2142 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC) /* {{{ */ argument
2148 int ptr_length, path_length = *new_len;
2177 *new_len = 1;
2185 *new_len = 1;
2238 *new_len = newpath_len;
/PHP-5.5/ext/mbstring/
H A Dmbstring.c3039 int str_len, new_len; in PHP_FUNCTION() local
3048 …meters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", &arg_str, &str_len, &arg_new, &new_len, &arg_old) == FAI… in PHP_FUNCTION()

Completed in 123 milliseconds