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

/PHP_5_3/ext/ereg/regex/
H A Dregcomp.c1505 register sopno newlen; local
1515 newlen = 0;
1521 if (newlen == 0) /* new sequence */
1523 newlen++;
1544 if (newlen > g->mlen) { /* ends one */
1546 g->mlen = newlen;
1548 newlen = 0;
/PHP_5_3/ext/xmlrpc/libxmlrpc/
H A Dencodings.c116 char* utf8_encode(const char *s, int len, int *newlen, const char* encoding) argument
118 return convert(s, len, newlen, encoding, "UTF-8");
122 char* utf8_decode(const char *s, int len, int *newlen, const char* encoding) argument
124 return convert(s, len, newlen, "UTF-8", encoding);
H A Dxml_element.c316 * conversion was performed. In the latter case, *newlen will
324 static char* xml_elem_entity_escape(const char* buf, int old_len, int *newlen, XML_ELEM_ESCAPING flags) { argument
368 if(newlen) {
369 *newlen = iNewBufLen;
/PHP_5_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c145 int newlen; local
148 newlen = device->length + device->allocsz;
149 tmp = (unsigned char *)mbfl_realloc((void *)device->buffer, newlen*sizeof(unsigned char));
153 device->length = newlen;
168 int newlen; local
171 newlen = device->length + device->allocsz;
172 tmp = (unsigned char *)mbfl_realloc((void *)device->buffer, newlen*sizeof(unsigned char));
176 device->length = newlen;
193 int newlen; local
196 newlen
229 int newlen = device->length + (len + MBFL_MEMORY_DEVICE_ALLOC_SIZE)*sizeof(unsigned char); local
256 int newlen = device->length + len + MBFL_MEMORY_DEVICE_ALLOC_SIZE; local
283 int newlen = dest->length + src->pos + MBFL_MEMORY_DEVICE_ALLOC_SIZE; local
335 int newlen; local
[all...]
/PHP_5_3/ext/iconv/
H A Diconv.c331 size_t newlen; local
368 size_t newlen; local
/PHP_5_3/ext/standard/
H A Dhtml.c921 PHPAPI char *php_unescape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC) argument
1112 *newlen = retlen;
1117 PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC) argument
1119 return php_escape_html_entities_ex(old, oldlen, newlen, all, quote_style, hint_charset, 1 TSRMLS_CC);
1125 PHPAPI char *php_escape_html_entities_ex(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset, zend_bool double_encode TSRMLS_DC) argument
1153 *newlen = 0;
1267 *newlen = len;
H A Durl_scanner_ex.c338 static inline void xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen TSRMLS_DC)
345 smart_str_appendl(&ctx->buf, newdata, newlen);
921 char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen TSRMLS_DC)
936 if (newlen) *newlen = buf.len;
944 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, zend_bool do_flush TSRMLS_DC) argument
953 *newlen = ctx->result.len;
960 *newlen += ctx->buf.len;
H A Dstring.c129 static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) argument
142 if (newlen)
143 *newlen = oldlen * 2 * sizeof(char);
200 size_t newlen; local
207 result = php_bin2hex((unsigned char *)data, datalen, &newlen);
213 RETURN_STRINGL(result, newlen, 0);
3190 int newlen; local
3220 newlen = target - new_str;
3222 new_str = erealloc(new_str, newlen + 1);
3225 *new_length = newlen;
[all...]
H A Dstreamsfuncs.c417 newlen; local
450 contents = php_addslashes(contents, len, &newlen, 1 TSRMLS_CC); /* 1 = free source string */
451 len = newlen;
/PHP_5_3/main/
H A DSAPI.c275 size_t newlen; local
280 newlen = len + (sizeof(";charset=")-1) + strlen(charset);
281 newtype = emalloc(newlen + 1);
282 PHP_STRLCPY(newtype, *mimetype, newlen + 1, len);
283 strlcat(newtype, ";charset=", newlen + 1);
284 strlcat(newtype, charset, newlen + 1);
287 return newlen;
671 size_t len = header_line_len - (ptr - header_line), newlen; local
683 newlen = sapi_apply_default_charset(&mimetype, len TSRMLS_CC);
688 if (newlen !
724 int ptr_len=0, result_len = 0, newlen = 0; local
[all...]
/PHP_5_3/sapi/litespeed/
H A Dlsapilib.c1380 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; local
1381 newlen -= newlen % 4096;
1382 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 ) {
/PHP_5_3/ext/phar/
H A Dfunc_interceptors.c208 int newlen; local
209 contents = php_addslashes(contents, len, &newlen, 1 TSRMLS_CC); /* 1 = free source string */
210 len = newlen;
/PHP_5_3/ext/xml/
H A Dxml.c609 PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding) argument
617 *newlen = 0;
629 *newlen = len;
630 newbuf[*newlen] = '\0';
639 newbuf[(*newlen)++] = (char) c;
641 newbuf[(*newlen)++] = (0xc0 | (c >> 6));
642 newbuf[(*newlen)++] = (0x80 | (c & 0x3f));
644 newbuf[(*newlen)++] = (0xe0 | (c >> 12));
645 newbuf[(*newlen)++] = (0xc0 | ((c >> 6) & 0x3f));
646 newbuf[(*newlen)
764 xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_Char *encoding) argument
1056 int newlen = Z_STRLEN_PP(myval) + decoded_len; local
1076 int newlen = Z_STRLEN_PP(myval) + decoded_len; local
[all...]

Completed in 32 milliseconds