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

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
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;
H A Dencodings.c117 char* utf8_encode(const char *s, int len, int *newlen, const char* encoding) argument
119 return convert(s, len, newlen, encoding, "UTF-8");
123 char* utf8_decode(const char *s, int len, int *newlen, const char* encoding) argument
125 return convert(s, len, newlen, "UTF-8", encoding);
/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/Zend/
H A Dzend_smart_str.h53 size_t newlen; local
55 newlen = len;
56 str->a = newlen < SMART_STR_START_SIZE
58 : newlen + SMART_STR_PREALLOC;
62 newlen = str->s->len + len;
63 if (newlen >= str->a) {
64 str->a = newlen + SMART_STR_PREALLOC;
68 return newlen;
/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/sapi/litespeed/
H A Dlsapilib.c2168 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; local
2169 newlen -= newlen % 4096;
2170 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 )
2207 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; local
2208 newlen -= newlen % 4096;
2209 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 )
/PHP_TRUNK/ext/session/
H A Dsession.c1609 PHPAPI void session_adapt_url(const char *url, size_t urllen, char **new, size_t *newlen) /* {{{ */ argument
1612 *new = php_url_scanner_adapt_single_url(url, urllen, PS(session_name), PS(id)->val, newlen);
/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) argument
356 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) argument
937 if (newlen) *newlen = buf.s->len;
947 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, zend_bool do_flush) argument
958 *newlen = 0;
960 *newlen = ctx->result.s->len;
965 *newlen += ctx->buf.s->len;
H A Dstring.c3323 size_t newlen; local
3354 newlen = target - new_str->val;
3355 if (newlen < length * 4) {
3356 new_str = zend_string_realloc(new_str, newlen, 0);
/PHP_TRUNK/ext/xml/
H A Dxml.c894 int newlen = Z_STRLEN_P(myval) + decoded_value->len; local
895 Z_STR_P(myval) = zend_string_realloc(Z_STR_P(myval), newlen, 0);
911 int newlen = Z_STRLEN_P(myval) + decoded_value->len; local
912 Z_STR_P(myval) = zend_string_realloc(Z_STR_P(myval), newlen, 0);
/PHP_TRUNK/main/
H A DSAPI.c381 size_t newlen; local
386 newlen = len + (sizeof(";charset=")-1) + strlen(charset);
387 newtype = emalloc(newlen + 1);
388 PHP_STRLCPY(newtype, *mimetype, newlen + 1, len);
389 strlcat(newtype, ";charset=", newlen + 1);
390 strlcat(newtype, charset, newlen + 1);
393 return newlen;
787 size_t len = header_line_len - (ptr - header_line), newlen; local
801 newlen = sapi_apply_default_charset(&mimetype, len);
806 if (newlen !
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c887 size_t newlen; local
902 if ((newlen = recv(PHPDBG_G(io)[PHPDBG_STDIN].fd, mem, PHPDBG_SIGSAFE_MEM_SIZE, MSG_PEEK)) == (size_t) -1) {
905 for (i = 0; i < newlen; i++) {

Completed in 34 milliseconds