Lines Matching refs:old
820 const char *old, in traverse_for_entities() argument
833 lim = old + oldlen; /* terminator address */ in traverse_for_entities()
836 for (p = old, q = ZSTR_VAL(ret); p < lim;) { in traverse_for_entities()
1016 PHPAPI zend_string *php_escape_html_entities(const unsigned char *old, size_t oldlen, int all, int … in php_escape_html_entities() argument
1018 return php_escape_html_entities_ex(old, oldlen, all, flags, hint_charset, 1, /* quiet */ 0); in php_escape_html_entities()
1028 const unsigned char *old, in find_entity_for_char() argument
1055 next_char = get_next_char(charset, old, oldlen, cursor, &status); in find_entity_for_char()
1103 PHPAPI zend_string *php_escape_html_entities_ex(const unsigned char *old, size_t oldlen, int all, i… in php_escape_html_entities_ex() argument
1160 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex()
1182 mbsequence = &old[cursor_before]; in php_escape_html_entities_ex()
1205 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()
1263 if (old[cursor] == '#') { /* numeric entity */ in php_escape_html_entities_ex()
1266 char *pos = (char*)&old[cursor+1]; in php_escape_html_entities_ex()
1274 ent_len = pos - (char*)&old[cursor]; in php_escape_html_entities_ex()
1277 const char *start = (const char *) &old[cursor], in php_escape_html_entities_ex()
1301 memcpy(&ZSTR_VAL(replaced)[len], &old[cursor], ent_len); in php_escape_html_entities_ex()