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

/PHP_5_5/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_5/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_5/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_5/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_5/ext/standard/
H A Dhtml.c1086 PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1121 *newlen = retlen;
1126 PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC) argument
1128 return php_escape_html_entities_ex(old, oldlen, newlen, all, flags, hint_charset, 1 TSRMLS_CC);
1214 PHPAPI char *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset, zend_bool double_encode TSRMLS_DC) argument
1294 *newlen = 0;
1425 *newlen = len;
H A Durl_scanner_ex.c339 static inline void xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen TSRMLS_DC)
346 smart_str_appendl(&ctx->buf, newdata, newlen);
908 char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen TSRMLS_DC)
923 if (newlen) *newlen = buf.len;
931 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, zend_bool do_flush TSRMLS_DC) argument
940 *newlen = ctx->result.len;
947 *newlen += ctx->buf.len;
H A Dstring.c135 static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) argument
148 if (newlen)
149 *newlen = oldlen * 2 * sizeof(char);
157 static char *php_hex2bin(const unsigned char *old, const size_t oldlen, size_t *newlen) argument
188 if (newlen)
189 *newlen = target_length;
246 size_t newlen; local
253 result = php_bin2hex((unsigned char *)data, datalen, &newlen);
259 RETURN_STRINGL(result, newlen, 0);
268 size_t newlen; local
3493 int newlen; local
[all...]
/PHP_5_5/ext/xml/
H A Dxml.c610 PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding) argument
618 *newlen = 0;
630 *newlen = len;
631 newbuf[*newlen] = '\0';
640 newbuf[(*newlen)++] = (char) c;
642 newbuf[(*newlen)++] = (0xc0 | (c >> 6));
643 newbuf[(*newlen)++] = (0x80 | (c & 0x3f));
645 newbuf[(*newlen)++] = (0xe0 | (c >> 12));
646 newbuf[(*newlen)++] = (0xc0 | ((c >> 6) & 0x3f));
647 newbuf[(*newlen)
664 xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_Char *encoding) argument
956 int newlen = Z_STRLEN_PP(myval) + decoded_len; local
976 int newlen = Z_STRLEN_PP(myval) + decoded_len; local
[all...]
/PHP_5_5/ext/iconv/
H A Diconv.c395 size_t newlen; local
432 size_t newlen; local
/PHP_5_5/main/
H A DSAPI.c366 size_t newlen; local
371 newlen = len + (sizeof(";charset=")-1) + strlen(charset);
372 newtype = emalloc(newlen + 1);
373 PHP_STRLCPY(newtype, *mimetype, newlen + 1, len);
374 strlcat(newtype, ";charset=", newlen + 1);
375 strlcat(newtype, charset, newlen + 1);
378 return newlen;
786 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_5_5/ext/json/
H A Djson.c406 size_t newlen; local
/PHP_5_5/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 )

Completed in 32 milliseconds