Lines Matching refs:ident
892 ident = ""
894 ident = ident + _escapechar(c)
895 if re.match("[0-9]", ident):
896 ident = "_" + ident
897 return ident
900 def identifierToTag(ident): argument
902 if ident == "GlyphOrder":
903 return ident
904 if len(ident) % 2 and ident[0] == "_":
905 ident = ident[1:]
906 assert not (len(ident) % 2)
908 for i in range(0, len(ident), 2):
909 if ident[i] == "_":
910 tag = tag + ident[i+1]
911 elif ident[i+1] == "_":
912 tag = tag + ident[i]
915 tag = tag + chr(int(ident[i:i+2], 16))