Lines Matching refs:old
925 const char *old, in traverse_for_entities() argument
939 lim = old + oldlen; /* terminator address */ in traverse_for_entities()
942 for (p = old, q = ret; p < lim;) { in traverse_for_entities()
1086 PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all,… in php_unescape_html_entities() argument
1104 ret = estrndup((char*)old, oldlen); in php_unescape_html_entities()
1118 traverse_for_entities(old, oldlen, ret, &retlen, all, flags, inverse_map, charset); in php_unescape_html_entities()
1126 PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, i… in php_escape_html_entities() argument
1128 return php_escape_html_entities_ex(old, oldlen, newlen, all, flags, hint_charset, 1 TSRMLS_CC); in php_escape_html_entities()
1138 unsigned char *old, in find_entity_for_char() argument
1165 next_char = get_next_char(charset, old, oldlen, cursor, &status); in find_entity_for_char()
1214 PHPAPI char *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all… in php_escape_html_entities_ex() argument
1275 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex()
1298 mbsequence = &old[cursor_before]; in php_escape_html_entities_ex()
1321 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()
1379 if (old[cursor] == '#') { /* numeric entity */ in php_escape_html_entities_ex()
1382 char *pos = (char*)&old[cursor+1]; in php_escape_html_entities_ex()
1390 ent_len = pos - (char*)&old[cursor]; in php_escape_html_entities_ex()
1393 const char *start = &old[cursor], in php_escape_html_entities_ex()
1417 memcpy(&replaced[len], &old[cursor], ent_len); in php_escape_html_entities_ex()