/PHP-5.3/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.3/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.3/ext/standard/ |
H A D | info.c | 77 int new_len, written; in php_info_write_wrapper() local 82 …elem_esc = php_escape_html_entities((unsigned char *)str, str_length, &new_len, 0, ENT_QUOTES, NUL… in php_info_write_wrapper() 84 written = php_body_write(elem_esc, new_len TSRMLS_CC); in php_info_write_wrapper() 238 int new_len; in php_info_html_esc_write() local 239 …char *ret = php_escape_html_entities((unsigned char *)string, str_len, &new_len, 0, ENT_QUOTES, NU… in php_info_html_esc_write() 241 PHPWRITE(ret, new_len); in php_info_html_esc_write() 250 int new_len; in php_info_html_esc() local 251 …return php_escape_html_entities((unsigned char *)string, strlen(string), &new_len, 0, ENT_QUOTES, … in php_info_html_esc()
|
H A D | html.c | 1324 int len, j, i, new_len; in PHP_FUNCTION() local 1333 new_len = len; in PHP_FUNCTION() 1334 e = new_str + new_len; in PHP_FUNCTION() 1336 if (!(p = memchr(new_str, '&', new_len))) { in PHP_FUNCTION() 1337 RETURN_STRINGL(new_str, new_len, 0); in PHP_FUNCTION() 1378 new_len = e - new_str; in PHP_FUNCTION() 1380 new_str[new_len] = '\0'; in PHP_FUNCTION() 1381 RETURN_STRINGL(new_str, new_len, 0); in PHP_FUNCTION()
|
H A D | file.c | 2242 size_t new_len; in php_fgetcsv() local 2257 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) { in php_fgetcsv() 2269 temp_len += new_len; in php_fgetcsv() 2275 buf_len = new_len; in php_fgetcsv()
|
/PHP-5.3/ext/pcre/ |
H A D | php_pcre.c | 988 int new_len; /* Length of needed storage */ in php_pcre_replace_impl() local 1082 new_len = *result_len + offsets[0] - start_offset; /* part before the match */ in php_pcre_replace_impl() 1088 new_len += eval_result_len; in php_pcre_replace_impl() 1092 new_len += eval_result_len; in php_pcre_replace_impl() 1105 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl() 1109 new_len++; in php_pcre_replace_impl() 1115 if (new_len + 1 > alloc_len) { in php_pcre_replace_impl() 1116 alloc_len = 1 + alloc_len + 2 * new_len; in php_pcre_replace_impl() 1176 new_len = *result_len + subject_len - start_offset; in php_pcre_replace_impl() 1177 if (new_len + 1 > alloc_len) { in php_pcre_replace_impl() [all …]
|
/PHP-5.3/main/ |
H A D | output.c | 408 uint new_len = OG(active_ob_buffer).text_length + text_length; in php_ob_allocate() local 410 if (OG(active_ob_buffer).size < new_len) { in php_ob_allocate() 412 while (buf_size <= new_len) { in php_ob_allocate() 419 OG(active_ob_buffer).text_length = new_len; in php_ob_allocate()
|
/PHP-5.3/Zend/ |
H A D | zend_language_scanner.l | 624 size_t original_offset, offset, free_flag, new_len, length; in BEGIN_EXTERN_C() local 649 new_len = original_offset + length; in BEGIN_EXTERN_C() 651 if (new_len > YYLIMIT - SCNG(yy_start)) { in BEGIN_EXTERN_C() 652 unsigned char *new_yy_start = erealloc(SCNG(yy_start), new_len); in BEGIN_EXTERN_C() 658 SCNG(script_filtered_size) = new_len; in BEGIN_EXTERN_C() 661 SCNG(yy_limit) = SCNG(yy_start) + new_len; in BEGIN_EXTERN_C()
|
H A D | zend_language_scanner.c | 626 size_t original_offset, offset, free_flag, new_len, length; in BEGIN_EXTERN_C() local 651 new_len = original_offset + length; in BEGIN_EXTERN_C() 653 if (new_len > YYLIMIT - SCNG(yy_start)) { in BEGIN_EXTERN_C() 654 unsigned char *new_yy_start = erealloc(SCNG(yy_start), new_len); in BEGIN_EXTERN_C() 660 SCNG(script_filtered_size) = new_len; in BEGIN_EXTERN_C() 663 SCNG(yy_limit) = SCNG(yy_start) + new_len; in BEGIN_EXTERN_C()
|
/PHP-5.3/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.3/ext/soap/ |
H A D | php_encoding.c | 877 int new_len; in to_xml_string() local 886 new_len = Z_STRLEN_P(data); in to_xml_string() 893 new_len = Z_STRLEN(tmp); in to_xml_string() 898 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string() 905 new_len = n; in to_xml_string() 912 char *err = emalloc(new_len + 8); in to_xml_string() 916 memcpy(err, str, new_len+1); in to_xml_string() 952 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
|
H A D | soap.c | 4145 size_t new_len; local 4147 …scape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRML… 4155 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len); 4170 size_t new_len; local 4172 …scape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRML… 4180 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
|
/PHP-5.3/ext/phar/ |
H A D | phar.c | 2152 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;
|
H A D | phar_internal.h | 655 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC);
|
/PHP-5.3/ext/pgsql/ |
H A D | pgsql.c | 4859 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);
|
/PHP-5.3/ext/mbstring/ |
H A D | mbstring.c | 2861 int str_len, new_len; in PHP_FUNCTION() local 2870 …meters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", &arg_str, &str_len, &arg_new, &new_len, &arg_old) == FAI… in PHP_FUNCTION()
|