Searched refs:new_len (Results 1 - 13 of 13) 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* 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_5/ext/pcre/
H A Dphp_pcre.c1014 int new_len; /* Length of needed storage */ local
1112 new_len = *result_len + offsets[0] - start_offset; /* part before the match */
1118 new_len += eval_result_len;
1122 new_len += eval_result_len;
1135 new_len += offsets[(backref<<1)+1] - offsets[backref<<1];
1139 new_len++;
1145 if (new_len + 1 > alloc_len) {
1146 alloc_len = 1 + alloc_len + 2 * new_len;
1206 new_len = *result_len + subject_len - start_offset;
1207 if (new_len
[all...]
/PHP_5_5/ext/phar/
H A Dphar.c2144 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC) /* {{{ */ argument
2150 int ptr_length, path_length = *new_len;
2177 *new_len = 1;
2184 *new_len = 1;
2235 *new_len = newpath_len;
H A Dphar_internal.h596 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC);
/PHP_5_5/ext/soap/
H A Dphp_encoding.c866 int new_len; local
874 new_len = Z_STRLEN_P(data);
881 new_len = Z_STRLEN(tmp);
886 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len);
893 new_len = n;
900 char *err = emalloc(new_len + 8);
904 memcpy(err, str, new_len+1);
940 text = xmlNewTextLen(BAD_CAST(str), new_len);
H A Dsoap.c3996 size_t new_len; local
3998 char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
4006 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
4021 size_t new_len; local
4023 char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
4031 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
/PHP_5_5/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_5/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_5/ext/mbstring/
H A Dmbstring.c3039 int str_len, new_len; local
3048 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", &arg_str, &str_len, &arg_new, &new_len, &arg_old) == FAILURE) {
/PHP_5_5/ext/pgsql/
H A Dpgsql.c782 size_t new_len; local
789 new_len = PQescapeStringConn(conn, tmp, str, len, NULL);
790 strncpy(rp, tmp, new_len);
792 rp += new_len;
5096 size_t new_len; local
5119 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL);
5120 if (new_len) {
5121 smart_str_appendl(&querystr, escaped, new_len);
5127 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL);
5128 if (new_len) {
[all...]
/PHP_5_5/ext/standard/
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;
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);

Completed in 57 milliseconds