Searched refs:kHexChars (Results 1 – 4 of 4) sorted by relevance
112 const char kHexChars[] = "0123456789ABCDEF"; in Byte2Hex() local114 str[0] = kHexChars[(value >> 4) & 0xF]; in Byte2Hex()115 str[1] = kHexChars[value & 0xF]; in Byte2Hex()
133 std::string kHexChars("0123456789ABCDEF"); in SecureBlobToSecureHex() local139 hex[(i * 2)] = kHexChars[(blob_char_data[i] >> 4) & 0xf]; in SecureBlobToSecureHex()140 hex[(i * 2) + 1] = kHexChars[blob_char_data[i] & 0xf]; in SecureBlobToSecureHex()
2037 static const char kHexChars[] = "0123456789ABCDEF"; in DebugHexDump() local2153 *s++ = kHexChars[ ( ( (uintptr_t) src ) >> 28 ) & 0xF ]; in DebugHexDump()2154 *s++ = kHexChars[ ( ( (uintptr_t) src ) >> 24 ) & 0xF ]; in DebugHexDump()2155 *s++ = kHexChars[ ( ( (uintptr_t) src ) >> 20 ) & 0xF ]; in DebugHexDump()2156 *s++ = kHexChars[ ( ( (uintptr_t) src ) >> 16 ) & 0xF ]; in DebugHexDump()2157 *s++ = kHexChars[ ( ( (uintptr_t) src ) >> 12 ) & 0xF ]; in DebugHexDump()2158 *s++ = kHexChars[ ( ( (uintptr_t) src ) >> 8 ) & 0xF ]; in DebugHexDump()2159 *s++ = kHexChars[ ( ( (uintptr_t) src ) >> 4 ) & 0xF ]; in DebugHexDump()2160 *s++ = kHexChars[ ( (uintptr_t) src ) & 0xF ]; in DebugHexDump()2171 *s++ = kHexChars[ ( offset >> 28 ) & 0xF ]; in DebugHexDump()[all …]
462 static const char kHexChars[] = "0123456789ABCDEF"; in HexEncode() local469 ret[(i * 2)] = kHexChars[(b >> 4) & 0xf]; in HexEncode()470 ret[(i * 2) + 1] = kHexChars[b & 0xf]; in HexEncode()