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

12

/PHP_5_6/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 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);
/PHP_5_6/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_6/ext/dba/
H A Ddba_cdb.c173 if (newlen)
174 *newlen = len;
277 if (newlen) *newlen = klen;
309 if (newlen) *newlen = klen;
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_db2.c109 if (newlen) *newlen = gval.size;
167 return dba_nextkey_db2(info, newlen TSRMLS_CC);
179 if (newlen) *newlen = gkey.size;
H A Ddba_db3.c132 if (newlen) *newlen = gval.size;
190 return dba_nextkey_db3(info, newlen TSRMLS_CC);
205 if (newlen) *newlen = gkey.size;
H A Ddba_db4.c173 if (newlen) *newlen = gval.size;
242 return dba_nextkey_db4(info, newlen TSRMLS_CC);
261 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_ndbm.c85 if(newlen) *newlen = gval.dsize;
128 if(newlen) *newlen = gkey.dsize;
141 if(newlen) *newlen = gkey.dsize;
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 TSRMLS_DC)
106 char *dba_firstkey_##x(dba_info *info, int *newlen TSRMLS_DC)
108 char *dba_nextkey_##x(dba_info *info, int *newlen TSRMLS_DC)
H A Ddba_inifile.c75 *newlen = ini_val.value ? strlen(ini_val.value) : 0;
143 *newlen = strlen(result);
160 *newlen = strlen(result);
/PHP_5_6/ext/session/
H A Dphp_session.h41 #define PS_CREATE_SID_ARGS void **mod_data, int *newlen TSRMLS_DC
197 #define PS_SERIALIZER_ENCODE_ARGS char **newstr, int *newlen TSRMLS_DC
/PHP_5_6/ext/standard/
H A Dhtml.h57 PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC);
58 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);
59 PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, int flags, char *hint_charset TSRMLS_DC);
H A Dphp_smart_str.h54 #define smart_str_alloc4(d, n, what, newlen) do { \
57 newlen = (n); \
58 (d)->a = newlen < SMART_STR_START_SIZE \
60 : newlen + SMART_STR_PREALLOC; \
63 newlen = (d)->len + (n); \
64 if (newlen >= (d)->a) { \
65 (d)->a = newlen + SMART_STR_PREALLOC; \
72 smart_str_alloc4((d), (n), (what), newlen)
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 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 TSRMLS_DC);
H A Durl_scanner_ex.re275 static inline void xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen TSRMLS_DC)
282 smart_str_appendl(&ctx->buf, newdata, newlen);
360 char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen TSRMLS_DC)
375 if (newlen) *newlen = buf.len;
383 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, zend_bool do_flush TSRMLS_DC)
392 *newlen = ctx->result.len;
399 *newlen += ctx->buf.len;
/PHP_5_6/ext/xml/
H A Dphp_xml.h138 PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding);
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_6/main/
H A DSAPI.c382 size_t newlen; local
387 newlen = len + (sizeof(";charset=")-1) + strlen(charset);
388 newtype = emalloc(newlen + 1);
389 PHP_STRLCPY(newtype, *mimetype, newlen + 1, len);
390 strlcat(newtype, ";charset=", newlen + 1);
391 strlcat(newtype, charset, newlen + 1);
394 return newlen;
790 size_t len = header_line_len - (ptr - header_line), newlen; local
802 newlen = sapi_apply_default_charset(&mimetype, len TSRMLS_CC);
807 if (newlen !
[all...]

Completed in 128 milliseconds

12