Searched defs: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.c233 int i, found, new_len; local
288 new_len = ls > cs ? ls : cs;
290 new_len -= ef->size + 4;
291 new_len += len + 4;
293 if (new_len > ZIP_UINT16_MAX) {
/PHP_TRUNK/Zend/
H A Dzend_smart_str.h83 size_t new_len = smart_str_alloc(dest, 1, persistent); local
84 ZSTR_VAL(dest->s)[new_len - 1] = ch;
85 ZSTR_LEN(dest->s) = new_len;
89 size_t new_len = smart_str_alloc(dest, len, persistent); local
91 ZSTR_LEN(dest->s) = new_len;
/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/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/pcre/
H A Dphp_pcre.c1071 int new_len; /* Length of needed storage */ local
1170 new_len = result_len + offsets[0] - start_offset; /* part before the match */
1187 new_len += offsets[(backref<<1)+1] - offsets[backref<<1];
1191 new_len++;
1196 if (new_len >= alloc_len) {
1197 alloc_len = alloc_len + 2 * new_len;
1240 new_len += (int)ZSTR_LEN(eval_result);
1241 if (new_len >= alloc_len) {
1242 alloc_len = alloc_len + 2 * new_len;
1282 new_len
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c834 int new_len; local
842 new_len = Z_STRLEN_P(data);
846 new_len = ZSTR_LEN(tmp);
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/standard/
H A Dfile.c2101 size_t new_len; local
2116 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) {
2128 temp_len += new_len;
2134 buf_len = new_len;
/PHP_TRUNK/ext/phar/
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;
2109 *new_len = 1;
2117 *new_len = 1;
2170 *new_len = newpath_len;
/PHP_TRUNK/ext/opcache/
H A Dzend_file_cache.c206 size_t new_len = info->str_size + len; local
209 ((_ZSTR_HEADER_SIZE + 1 + new_len + 4095) & ~0xfff) - (_ZSTR_HEADER_SIZE + 1),
/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
5538 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL);
5539 if (new_len) {
5540 smart_str_appendl(&querystr, escaped, new_len);
5546 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL);
5547 if (new_len) {
6603 size_t new_len; local
6773 size_t new_len; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c195 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ argument
211 *new_len = 0;
216 if (new_len) {
217 *new_len = len;

Completed in 42 milliseconds