/PHP-5.4/ext/xmlrpc/libxmlrpc/ |
H A D | encodings.c | 60 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 D | xml_element.c | 644 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.4/ext/filter/ |
H A D | sanitizing_filters.c | 181 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.4/ext/standard/ |
H A D | html.c | 1437 size_t new_len; in php_html_entities() local 1446 …replaced = php_escape_html_entities_ex(str, str_len, &new_len, all, (int) flags, hint_charset, dou… in php_html_entities() 1447 RETVAL_STRINGL(replaced, (int)new_len, 0); in php_html_entities() 1487 size_t new_len = 0; in PHP_FUNCTION() local 1495 …replaced = php_unescape_html_entities(str, str_len, &new_len, 0 /*!all*/, quote_style, NULL TSRMLS… in PHP_FUNCTION() 1497 RETURN_STRINGL(replaced, (int)new_len, 0); in PHP_FUNCTION() 1509 size_t new_len = 0; in PHP_FUNCTION() local 1518 …replaced = php_unescape_html_entities(str, str_len, &new_len, 1 /*all*/, quote_style, hint_charset… in PHP_FUNCTION() 1520 RETURN_STRINGL(replaced, (int)new_len, 0); in PHP_FUNCTION()
|
H A D | info.c | 66 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() 297 size_t new_len; in php_info_html_esc() local 298 …return php_escape_html_entities((unsigned char *) string, strlen(string), &new_len, 0, ENT_QUOTES,… in php_info_html_esc()
|
H A D | file.c | 2102 size_t new_len; in php_fgetcsv() local 2117 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) { in php_fgetcsv() 2129 temp_len += new_len; in php_fgetcsv() 2135 buf_len = new_len; in php_fgetcsv()
|
/PHP-5.4/ext/pcre/ |
H A D | php_pcre.c | 1014 int new_len; /* Length of needed storage */ in php_pcre_replace_impl() local 1108 new_len = *result_len + offsets[0] - start_offset; /* part before the match */ in php_pcre_replace_impl() 1114 new_len += eval_result_len; in php_pcre_replace_impl() 1118 new_len += eval_result_len; in php_pcre_replace_impl() 1131 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl() 1135 new_len++; in php_pcre_replace_impl() 1141 if (new_len + 1 > alloc_len) { in php_pcre_replace_impl() 1142 alloc_len = 1 + alloc_len + 2 * new_len; in php_pcre_replace_impl() 1202 new_len = *result_len + subject_len - start_offset; in php_pcre_replace_impl() 1203 if (new_len + 1 > alloc_len) { in php_pcre_replace_impl() [all …]
|
/PHP-5.4/ext/wddx/ |
H A D | wddx.c | 937 int new_len=0; in php_wddx_pop_element() local 940 new_str = php_base64_decode(Z_STRVAL_P(ent1->data), Z_STRLEN_P(ent1->data), &new_len); in php_wddx_pop_element() 943 Z_STRLEN_P(ent1->data) = new_len; in php_wddx_pop_element()
|
/PHP-5.4/ext/pgsql/ |
H A D | pgsql.c | 782 size_t new_len; 789 new_len = PQescapeStringConn(conn, tmp, str, len, NULL); 790 strncpy(rp, tmp, new_len); 792 rp += new_len; 5095 size_t new_len; local 5122 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL); 5123 if (new_len) { 5124 smart_str_appendl(&querystr, escaped, new_len); 5130 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL); 5131 if (new_len) { [all …]
|
/PHP-5.4/ext/soap/ |
H A D | php_encoding.c | 873 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 D | soap.c | 3992 size_t new_len; local 3994 …scape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRML… 4002 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len); 4018 size_t new_len; local 4020 …scape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRML… 4028 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
|
/PHP-5.4/ext/phar/ |
H A D | phar.c | 2143 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC) /* {{{ */ argument 2149 int ptr_length, path_length = *new_len; 2178 *new_len = 1; 2186 *new_len = 1; 2239 *new_len = newpath_len;
|
H A D | phar_internal.h | 661 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC);
|
/PHP-5.4/ext/mbstring/ |
H A D | mbstring.c | 3039 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()
|