Lines Matching refs:entity_map
388 static const struct html_entity_map entity_map[] = { variable
938 for (j = 0; entity_map[j].charset != cs_terminator; j++) { in php_unescape_html_entities()
939 if (entity_map[j].charset != charset) in php_unescape_html_entities()
942 for (k = entity_map[j].basechar; k <= entity_map[j].endchar; k++) { in php_unescape_html_entities()
946 if (entity_map[j].table[k - entity_map[j].basechar] == NULL) in php_unescape_html_entities()
949 …entity_length = slprintf(entity, sizeof(entity), "&%s;", entity_map[j].table[k - entity_map[j].bas… in php_unescape_html_entities()
1166 for (j = 0; entity_map[j].charset != cs_terminator; j++) { in php_escape_html_entities_ex()
1167 if (entity_map[j].charset == charset in php_escape_html_entities_ex()
1168 && this_char >= entity_map[j].basechar in php_escape_html_entities_ex()
1169 && this_char <= entity_map[j].endchar) { in php_escape_html_entities_ex()
1170 rep = (unsigned char*)entity_map[j].table[this_char - entity_map[j].basechar]; in php_escape_html_entities_ex()
1440 for (j = 0; entity_map[j].charset != cs_terminator; j++) { in PHP_FUNCTION()
1441 if (entity_map[j].charset != charset) in PHP_FUNCTION()
1443 for (i = 0; i <= entity_map[j].endchar - entity_map[j].basechar; i++) { in PHP_FUNCTION()
1448 if (entity_map[j].table[i] == NULL) in PHP_FUNCTION()
1451 k = i + entity_map[j].basechar; in PHP_FUNCTION()
1471 snprintf(buffer, sizeof(buffer), "&%s;", entity_map[j].table[i]); in PHP_FUNCTION()