Lines Matching refs:hex_repr
18 hex_repr = hex(ord(char))[2:].upper()19 if len(hex_repr) == 1:20 hex_repr = "0%s" % hex_repr21 return "%" + hex_repr