Searched defs:oldlen (Results 1 - 2 of 2) sorted by relevance
| /PHP_5_3/ext/standard/ |
| H A D | html.c | 921 PHPAPI char *php_unescape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC) argument 930 ret = estrndup(old, oldlen); 931 retlen = oldlen; 1117 PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC) argument 1119 return php_escape_html_entities_ex(old, oldlen, newlen, all, quote_style, hint_charset, 1 TSRMLS_CC); 1125 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) argument 1132 maxlen = 2 * oldlen; 1138 while (i < oldlen) { 1142 unsigned int this_char = get_next_char(charset, old, oldlen, &i, mbsequence, &mbseqlen, &status); 1204 char *e = memchr(old + i, ';', oldlen [all...] |
| H A D | string.c | 129 static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) argument 134 result = (unsigned char *) safe_emalloc(oldlen, 2 * sizeof(char), 1); 136 for (i = j = 0; i < oldlen; i++) { 143 *newlen = oldlen * 2 * sizeof(char);
|
Completed in 10 milliseconds