Lines Matching refs:oldlen
818 #define TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen) ((oldlen) + (oldlen) / 5 + 2) argument
821 size_t oldlen, in traverse_for_entities() argument
833 lim = old + oldlen; /* terminator address */ 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()
1029 size_t oldlen, in find_entity_for_char() argument
1052 if (!(*cursor < oldlen)) in find_entity_for_char()
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
1146 if (oldlen < 64) { in php_escape_html_entities_ex()
1149 maxlen = zend_safe_addmult(oldlen, 2, 0, "html_entities"); in php_escape_html_entities_ex()
1155 while (cursor < oldlen) { in php_escape_html_entities_ex()
1160 unsigned int this_char = get_next_char(charset, old, oldlen, &cursor, &status); in php_escape_html_entities_ex()
1205 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()