Searched refs:hex_chars (Results 1 – 2 of 2) sorted by relevance
20 def HexToInt(hex_chars): argument23 for i in xrange(len(hex_chars)):24 val += pow(256, i) * ord(hex_chars[i])27 def HexToMPDecimal(hex_chars): argument33 for i in xrange(len(hex_chars)):34 value = ord(hex_chars[i])41 def HexTo256(hex_chars): argument46 for i in xrange(len(hex_chars)):47 value = ord(hex_chars[i])
2977 static const char hex_chars[] = "0123456789ABCDEF"; in WriteUChar() local2979 w->AddCharacter(hex_chars[(u >> 12) & 0xf]); in WriteUChar()2980 w->AddCharacter(hex_chars[(u >> 8) & 0xf]); in WriteUChar()2981 w->AddCharacter(hex_chars[(u >> 4) & 0xf]); in WriteUChar()2982 w->AddCharacter(hex_chars[u & 0xf]); in WriteUChar()