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

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.c61 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { argument
106 if(new_len) {
107 *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_TRUNK/ext/zip/lib/
H A Dzip_extra_field_api.c241 int i, found, new_len; local
296 new_len = ls > cs ? ls : cs;
298 new_len -= ef->size + 4;
299 new_len += len + 4;
301 if (new_len > ZIP_UINT16_MAX) {
/PHP_TRUNK/ext/filter/
H A Dsanitizing_filters.c184 size_t new_len; local
210 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, NULL, 0, 1);
211 Z_STRLEN_P(value) = new_len;
213 if (new_len == 0) {
/PHP_TRUNK/ext/standard/
H A Dfile.c2127 size_t new_len; local
2142 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) {
2154 temp_len += new_len;
2160 buf_len = new_len;
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c3094 size_t str_len, new_len; local
3102 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|z", &arg_str, &str_len, &arg_new, &new_len, &arg_old) == FAILURE) {
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c817 size_t new_len; local
824 new_len = PQescapeStringConn(conn, tmp, str, len, NULL);
825 strncpy(rp, tmp, new_len);
827 rp += new_len;
5496 size_t new_len; local
5534 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL);
5535 if (new_len) {
5536 smart_str_appendl(&querystr, escaped, new_len);
5542 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL);
5543 if (new_len) {
6600 size_t new_len; local
6771 size_t new_len; local
[all...]
/PHP_TRUNK/ext/phar/
H A Dphar_internal.h569 char *phar_fix_filepath(char *path, int *new_len, int use_cwd);
H A Dphar.c2074 char *phar_fix_filepath(char *path, int *new_len, int use_cwd) /* {{{ */ argument
2080 int ptr_length, path_length = *new_len;
2107 *new_len = 1;
2114 *new_len = 1;
2165 *new_len = newpath_len;
/PHP_TRUNK/Zend/
H A Dzend_smart_str.h83 size_t new_len = smart_str_alloc(dest, 1, persistent); local
84 dest->s->val[new_len - 1] = ch;
85 dest->s->len = new_len;
89 size_t new_len = smart_str_alloc(dest, len, persistent); local
91 dest->s->len = new_len;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c190 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ argument
206 *new_len = 0;
211 if (new_len) {
212 *new_len = len;
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c834 int new_len; local
842 new_len = Z_STRLEN_P(data);
846 new_len = tmp->len;
851 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len);
858 new_len = n;
865 char *err = emalloc(new_len + 8);
869 memcpy(err, str, new_len+1);
905 text = xmlNewTextLen(BAD_CAST(str), new_len);
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1043 int new_len; /* Length of needed storage */ local
1137 new_len = result_len + offsets[0] - start_offset; /* part before the match */
1142 new_len += (int)eval_result->len;
1155 new_len += offsets[(backref<<1)+1] - offsets[backref<<1];
1159 new_len++;
1165 if (new_len >= alloc_len) {
1168 if (new_len >= alloc_len) {
1169 alloc_len = alloc_len + 2 * new_len;
1173 alloc_len = alloc_len + 2 * new_len;
1234 new_len
[all...]

Completed in 58 milliseconds