Searched refs:newlen (Results 1 - 25 of 31) sorted by relevance

12

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.h43 char* utf8_encode(const char *s, int len, int *newlen, ENCODING_ID encoding);
44 char* utf8_decode(const char *s, int len, int *newlen, ENCODING_ID 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;
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/ext/dba/
H A Ddba_db1.c105 if (newlen) *newlen = gval.size;
150 if (newlen) *newlen = gkey.size;
166 if (newlen) *newlen = gkey.size;
H A Ddba_ndbm.c85 if(newlen) *newlen = gval.dsize;
128 if(newlen) *newlen = gkey.dsize;
141 if(newlen) *newlen = gkey.dsize;
H A Ddba_cdb.c173 if (newlen)
174 *newlen = len;
277 if (newlen) *newlen = klen;
309 if (newlen) *newlen = klen;
H A Ddba_db2.c109 if (newlen) *newlen = gval.size;
167 return dba_nextkey_db2(info, newlen);
179 if (newlen) *newlen = gkey.size;
H A Ddba_db3.c131 if (newlen) *newlen = gval.size;
189 return dba_nextkey_db3(info, newlen);
204 if (newlen) *newlen = gkey.size;
H A Ddba_db4.c172 if (newlen) *newlen = gval.size;
241 return dba_nextkey_db4(info, newlen);
260 if (newlen) *newlen = gkey.size;
H A Ddba_dbm.c105 if(newlen) *newlen = gval.dsize;
156 if(newlen) *newlen = gkey.dsize;
174 if(newlen) *newlen = gkey.dsize;
H A Ddba_flatfile.c72 if (newlen) {
73 *newlen = gval.dsize;
134 if (newlen) {
135 *newlen = dba->nextkey.dsize;
155 if (newlen) {
156 *newlen = dba->nextkey.dsize;
H A Ddba_gdbm.c91 if(newlen) *newlen = gval.dsize;
150 if(newlen) *newlen = gkey.dsize;
170 if(newlen) *newlen = gkey.dsize;
H A Ddba_inifile.c75 *newlen = ini_val.value ? strlen(ini_val.value) : 0;
144 *newlen = strlen(result);
161 *newlen = strlen(result);
H A Ddba_qdbm.c88 if (newlen) *newlen = value_size;
142 if (newlen) *newlen = value_size;
158 if (newlen) *newlen = value_size;
H A Ddba_tcadb.c97 if (newlen) {
98 *newlen = value_size;
161 if (newlen) {
162 *newlen = value_size;
179 if (newlen) {
180 *newlen = value_size;
H A Dphp_dba.h98 char *dba_fetch_##x(dba_info *info, char *key, int keylen, int skip, int *newlen)
106 char *dba_firstkey_##x(dba_info *info, int *newlen)
108 char *dba_nextkey_##x(dba_info *info, int *newlen)
/PHP_TRUNK/ext/standard/
H A Dphp_smart_string.h55 #define smart_string_alloc4(d, n, what, newlen) do { \
58 newlen = (n); \
59 (d)->a = newlen < SMART_STRING_START_SIZE \
61 : newlen + SMART_STRING_PREALLOC; \
64 newlen = (d)->len + (n); \
65 if (newlen >= (d)->a) { \
66 (d)->a = newlen + SMART_STRING_PREALLOC; \
73 smart_string_alloc4((d), (n), (what), newlen)
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 Durl_scanner_ex.h30 PHPAPI char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen);
H A Durl_scanner_ex.re285 static inline void xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen)
292 smart_str_appendl(&ctx->buf, newdata, newlen);
373 char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen)
389 if (newlen) *newlen = buf.s->len;
399 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, zend_bool do_flush)
410 *newlen = 0;
412 *newlen = ctx->result.s->len;
417 *newlen += ctx->buf.s->len;
/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/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...]

Completed in 43 milliseconds

12