Lines Matching refs:old

938 	const char *old,  in traverse_for_entities()  argument
951 lim = old + oldlen; /* terminator address */ in traverse_for_entities()
954 for (p = old, q = ZSTR_VAL(ret); p < lim;) { in traverse_for_entities()
1098 PHPAPI zend_string *php_unescape_html_entities(unsigned char *old, size_t oldlen, int all, int flag… in php_unescape_html_entities() argument
1116 ret = zend_string_init((char*)old, oldlen, 0); in php_unescape_html_entities()
1131 traverse_for_entities((char*)old, oldlen, ret, all, flags, inverse_map, charset); in php_unescape_html_entities()
1138 PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags,… in php_escape_html_entities() argument
1140 return php_escape_html_entities_ex(old, oldlen, all, flags, hint_charset, 1); in php_escape_html_entities()
1150 unsigned char *old, in find_entity_for_char() argument
1177 next_char = get_next_char(charset, old, oldlen, cursor, &status); in find_entity_for_char()
1226 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
1283 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex()
1305 mbsequence = &old[cursor_before]; in php_escape_html_entities_ex()
1328 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()
1386 if (old[cursor] == '#') { /* numeric entity */ in php_escape_html_entities_ex()
1389 char *pos = (char*)&old[cursor+1]; in php_escape_html_entities_ex()
1397 ent_len = pos - (char*)&old[cursor]; in php_escape_html_entities_ex()
1400 const char *start = (const char *) &old[cursor], in php_escape_html_entities_ex()
1424 memcpy(&ZSTR_VAL(replaced)[len], &old[cursor], ent_len); in php_escape_html_entities_ex()