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

/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/ext/xmlrpc/libxmlrpc/
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);
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/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);
922 PHPAPI char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen, int urlencode) argument
951 if (newlen) *newlen = buf.s->len;
961 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, zend_bool do_flush) argument
972 *newlen = 0;
974 *newlen = ctx->result.s->len;
979 *newlen += ctx->buf.s->len;
H A Dstring.c3855 size_t newlen; local
3882 newlen = target - new_str->val;
3883 if (newlen < str->len * 4) {
3884 new_str = zend_string_truncate(new_str, newlen, 0);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c2187 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; local
2188 newlen -= newlen % 4096;
2189 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 )
2226 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; local
2227 newlen -= newlen % 4096;
2228 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 )
/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_extend(Z_STR_P(myval), newlen, 0);
911 int newlen = Z_STRLEN_P(myval) + decoded_value->len; local
912 Z_STR_P(myval) = zend_string_extend(Z_STR_P(myval), newlen, 0);
/PHP_TRUNK/ext/session/
H A Dsession.c1663 PHPAPI void session_adapt_url(const char *url, size_t urllen, char **new, size_t *newlen) /* {{{ */ argument
1666 *new = php_url_scanner_adapt_single_url(url, urllen, PS(session_name), PS(id)->val, newlen, 1);
/PHP_TRUNK/main/
H A DSAPI.c377 size_t newlen; local
382 newlen = len + (sizeof(";charset=")-1) + strlen(charset);
383 newtype = emalloc(newlen + 1);
384 PHP_STRLCPY(newtype, *mimetype, newlen + 1, len);
385 strlcat(newtype, ";charset=", newlen + 1);
386 strlcat(newtype, charset, newlen + 1);
389 return newlen;
778 size_t len = header_line_len - (ptr - header_line), newlen; local
792 newlen = sapi_apply_default_charset(&mimetype, len);
797 if (newlen !
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c898 size_t newlen; local
913 if ((newlen = recv(PHPDBG_G(io)[PHPDBG_STDIN].fd, mem, PHPDBG_SIGSAFE_MEM_SIZE, MSG_PEEK)) == (size_t) -1) {
916 for (i = 0; i < newlen; i++) {

Completed in 32 milliseconds