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

/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);
/PHP_5_3/ext/standard/
H A Dhtml.c944 int entity_length = 0; local
949 entity_length = slprintf(entity, sizeof(entity), "&%s;", entity_map[j].table[k - entity_map[j].basechar]);
950 if (entity_length >= sizeof(entity)) {
988 if (php_memnstr(ret, entity, entity_length, ret+retlen)) {
989 replaced = php_str_to_str(ret, retlen, entity, entity_length, replacement, replacement_len, &retlen);

Completed in 9 milliseconds