Lines Matching refs:ident
865 ident = ""
867 ident = ident + _escapechar(c)
868 if re.match("[0-9]", ident):
869 ident = "_" + ident
870 return ident
873 def identifierToTag(ident): argument
875 if ident == "GlyphOrder":
876 return ident
877 if len(ident) % 2 and ident[0] == "_":
878 ident = ident[1:]
879 assert not (len(ident) % 2)
881 for i in range(0, len(ident), 2):
882 if ident[i] == "_":
883 tag = tag + ident[i+1]
884 elif ident[i+1] == "_":
885 tag = tag + ident[i]
888 tag = tag + chr(int(ident[i:i+2], 16))