Home
last modified time | relevance | path

Searched refs:entity_length (Results 1 – 2 of 2) sorted by relevance

/PHP-5.3/ext/standard/
H A Dhtml.c944 int entity_length = 0; in php_unescape_html_entities() local
949entity_length = slprintf(entity, sizeof(entity), "&%s;", entity_map[j].table[k - entity_map[j].bas… in php_unescape_html_entities()
950 if (entity_length >= sizeof(entity)) { in php_unescape_html_entities()
988 if (php_memnstr(ret, entity, entity_length, ret+retlen)) { in php_unescape_html_entities()
989 …replaced = php_str_to_str(ret, retlen, entity, entity_length, replacement, replacement_len, &retle… in php_unescape_html_entities()
/PHP-5.3/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c307 #define entity_length(c) ( (c >= 100) ? 3 : ((c >= 10) ? 2 : 1) ) + 3; /* "&#" + c + ";" */ macro
342 iLength += entity_length(*bufcopy); in xml_elem_entity_escape()

Completed in 15 milliseconds