Lines Matching refs:ENTITY
35 ENTITY = 0
38 def convert_entity_to_cpp_name(entity):
40 if entity[-1] == ";":
41 return "%sSemicolon%s" % (entity[:-1], postfix)
42 return "%s%s" % (entity, postfix)
45 def convert_entity_to_uchar_array(entity):
46 return "{'%s'}" % "', '".join(entity)
72 entries.sort(key = lambda entry: entry[ENTITY])
102 // THIS FILE IS GENERATED BY WebCore/html/parser/create-html-entity-table
115 convert_entity_to_cpp_name(entry[ENTITY]),
116 convert_entity_to_uchar_array(entry[ENTITY])))
124 letter = entry[ENTITY][0]
128 convert_entity_to_cpp_name(entry[ENTITY]),
129 len(entry[ENTITY]),