Lines Matching refs:old
891 const char *old, in traverse_for_entities() argument
904 lim = old + oldlen; /* terminator address */ in traverse_for_entities()
907 for (p = old, q = ZSTR_VAL(ret); p < lim;) { in traverse_for_entities()
1087 PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags,… in php_escape_html_entities() argument
1089 return php_escape_html_entities_ex(old, oldlen, all, flags, hint_charset, 1); in php_escape_html_entities()
1099 unsigned char *old, in find_entity_for_char() argument
1126 next_char = get_next_char(charset, old, oldlen, cursor, &status); in find_entity_for_char()
1175 PHPAPI zend_string *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, int all, int fla… in php_escape_html_entities_ex() argument
1232 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex()
1254 mbsequence = &old[cursor_before]; in php_escape_html_entities_ex()
1277 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()
1335 if (old[cursor] == '#') { /* numeric entity */ in php_escape_html_entities_ex()
1338 char *pos = (char*)&old[cursor+1]; in php_escape_html_entities_ex()
1346 ent_len = pos - (char*)&old[cursor]; in php_escape_html_entities_ex()
1349 const char *start = (const char *) &old[cursor], in php_escape_html_entities_ex()
1373 memcpy(&ZSTR_VAL(replaced)[len], &old[cursor], ent_len); in php_escape_html_entities_ex()