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

/PHP_5_4/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_4/ext/phar/
H A Dphar.c2146 char *phar_fix_filepath(char *path, int *new_len, int use_cwd TSRMLS_DC) /* {{{ */ argument
2152 int ptr_length, path_length = *new_len;
2179 *new_len = 1;
2186 *new_len = 1;
2237 *new_len = newpath_len;
/PHP_5_4/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.c3975 size_t new_len; local
3977 char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
3985 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
4000 size_t new_len; local
4002 char *str = php_escape_html_entities((unsigned char*)Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), &new_len, 0, 0, NULL TSRMLS_CC);
4010 xmlNodeSetContentLen(node, BAD_CAST(str), (int)new_len);
/PHP_5_4/ext/standard/
H A Dhtml.c1437 size_t new_len; local
1446 replaced = php_escape_html_entities_ex(str, str_len, &new_len, all, (int) flags, hint_charset, double_encode TSRMLS_CC);
1447 RETVAL_STRINGL(replaced, (int)new_len, 0);
1487 size_t new_len = 0; local
1495 replaced = php_unescape_html_entities(str, str_len, &new_len, 0 /*!all*/, quote_style, NULL TSRMLS_CC);
1497 RETURN_STRINGL(replaced, (int)new_len, 0);
1509 size_t new_len = 0; local
1518 replaced = php_unescape_html_entities(str, str_len, &new_len, 1 /*all*/, quote_style, hint_charset TSRMLS_CC);
1520 RETURN_STRINGL(replaced, (int)new_len, 0);
H A Dfile.c2102 size_t new_len; local
2117 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) {
2129 temp_len += new_len;
2135 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);
297 size_t new_len; local
298 return php_escape_html_entities((unsigned char *) string, strlen(string), &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
/PHP_5_4/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_4/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_4/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;
5095 size_t new_len; local
5118 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL);
5119 if (new_len) {
5120 smart_str_appendl(&querystr, escaped, new_len);
5126 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL);
5127 if (new_len) {
[all...]
/PHP_5_4/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_4/ext/pcre/
H A Dphp_pcre.c1014 int new_len; /* Length of needed storage */ local
1108 new_len = *result_len + offsets[0] - start_offset; /* part before the match */
1114 new_len += eval_result_len;
1118 new_len += eval_result_len;
1131 new_len += offsets[(backref<<1)+1] - offsets[backref<<1];
1135 new_len++;
1141 if (new_len + 1 > alloc_len) {
1142 alloc_len = 1 + alloc_len + 2 * new_len;
1202 new_len = *result_len + subject_len - start_offset;
1203 if (new_len
[all...]

Completed in 53 milliseconds