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

/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/sapi/litespeed/
H A Dlsapilib.c2164 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; local
2165 newlen -= newlen % 4096;
2166 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 )
2203 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; local
2204 newlen -= newlen % 4096;
2205 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 )
/PHP_TRUNK/ext/standard/
H A Durl_scanner_ex.c349 static inline void xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen TSRMLS_DC)
356 smart_str_appendl(&ctx->buf, newdata, newlen);
918 char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen TSRMLS_DC)
934 if (newlen) *newlen = buf.s->len;
944 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, zend_bool do_flush TSRMLS_DC) argument
955 *newlen = 0;
957 *newlen = ctx->result.s->len;
962 *newlen += ctx->buf.s->len;
H A Dstring.c3321 size_t newlen; local
3352 newlen = target - new_str->val;
3353 if (newlen < length * 4) {
3354 new_str = zend_string_realloc(new_str, newlen, 0);
/PHP_TRUNK/main/
H A DSAPI.c378 size_t newlen; local
383 newlen = len + (sizeof(";charset=")-1) + strlen(charset);
384 newtype = emalloc(newlen + 1);
385 PHP_STRLCPY(newtype, *mimetype, newlen + 1, len);
386 strlcat(newtype, ";charset=", newlen + 1);
387 strlcat(newtype, charset, newlen + 1);
390 return newlen;
784 size_t len = header_line_len - (ptr - header_line), newlen; local
798 newlen = sapi_apply_default_charset(&mimetype, len TSRMLS_CC);
803 if (newlen !
[all...]
/PHP_TRUNK/ext/json/
H A Djson.c387 size_t pos, checkpoint, newlen; local
/PHP_TRUNK/ext/xml/
H A Dxml.c890 int newlen = Z_STRLEN_P(myval) + decoded_value->len; local
891 Z_STR_P(myval) = zend_string_realloc(Z_STR_P(myval), newlen, 0);
907 int newlen = Z_STRLEN_P(myval) + decoded_value->len; local
908 Z_STR_P(myval) = zend_string_realloc(Z_STR_P(myval), newlen, 0);
/PHP_TRUNK/ext/iconv/
H A Diconv.c466 size_t newlen; local
503 size_t newlen; local

Completed in 31 milliseconds