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

12

/PHP_5_3/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);
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_3/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_3/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;
133 if (newlen) {
134 *newlen = dba->nextkey.dsize;
154 if (newlen) {
155 *newlen = dba->nextkey.dsize;
H A Ddba_gdbm.c91 if(newlen) *newlen = gval.dsize;
143 if(newlen) *newlen = gkey.dsize;
163 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_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;
140 if (newlen) *newlen = value_size;
156 if (newlen) *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)
/PHP_5_3/ext/session/
H A Dphp_session.h38 #define PS_CREATE_SID_ARGS void **mod_data, int *newlen TSRMLS_DC
161 #define PS_SERIALIZER_ENCODE_ARGS char **newstr, int *newlen TSRMLS_DC
/PHP_5_3/ext/standard/
H A Dhtml.h42 PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
43 PHPAPI char *php_escape_html_entities_ex(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset, zend_bool double_encode TSRMLS_DC);
44 PHPAPI char *php_unescape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, 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.c338 static inline void xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen TSRMLS_DC)
345 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 TSRMLS_DC)
936 if (newlen) *newlen = buf.len;
944 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, zend_bool do_flush TSRMLS_DC) argument
953 *newlen = ctx->result.len;
960 *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_3/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.c609 PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding) argument
617 *newlen = 0;
629 *newlen = len;
630 newbuf[*newlen] = '\0';
639 newbuf[(*newlen)++] = (char) c;
641 newbuf[(*newlen)++] = (0xc0 | (c >> 6));
642 newbuf[(*newlen)++] = (0x80 | (c & 0x3f));
644 newbuf[(*newlen)++] = (0xe0 | (c >> 12));
645 newbuf[(*newlen)++] = (0xc0 | ((c >> 6) & 0x3f));
646 newbuf[(*newlen)
764 xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_Char *encoding) argument
1056 int newlen = Z_STRLEN_PP(myval) + decoded_len; local
1076 int newlen = Z_STRLEN_PP(myval) + decoded_len; local
[all...]
/PHP_5_3/main/
H A DSAPI.c275 size_t newlen; local
280 newlen = len + (sizeof(";charset=")-1) + strlen(charset);
281 newtype = emalloc(newlen + 1);
282 PHP_STRLCPY(newtype, *mimetype, newlen + 1, len);
283 strlcat(newtype, ";charset=", newlen + 1);
284 strlcat(newtype, charset, newlen + 1);
287 return newlen;
671 size_t len = header_line_len - (ptr - header_line), newlen; local
683 newlen = sapi_apply_default_charset(&mimetype, len TSRMLS_CC);
688 if (newlen !
724 int ptr_len=0, result_len = 0, newlen = 0; local
[all...]

Completed in 69 milliseconds

12