Searched refs:hex_chars (Results 1 – 2 of 2) sorted by relevance
2910 static const char hex_chars[] = "0123456789ABCDEF"; in WriteUChar() local2912 w->AddCharacter(hex_chars[(u >> 12) & 0xF]); in WriteUChar()2913 w->AddCharacter(hex_chars[(u >> 8) & 0xF]); in WriteUChar()2914 w->AddCharacter(hex_chars[(u >> 4) & 0xF]); in WriteUChar()2915 w->AddCharacter(hex_chars[u & 0xF]); in WriteUChar()
994 hex_chars = {'{:04X}'.format(ord(c)) for c in illegal_chars}997 if (hex_chars & set(unicodedata.decomposition(c).split()))