Searched refs:kHex (Results 1 – 2 of 2) sorted by relevance
44 static const char kHex[] = "0123456789abcdef"; variable251 buffer[5] = kHex[cp & 0x0f]; in ToHex()253 buffer[4] = kHex[cp & 0x0f]; in ToHex()255 buffer[3] = kHex[cp & 0x0f]; in ToHex()257 buffer[2] = kHex[cp & 0x0f]; in ToHex()268 buffer[11] = kHex[low & 0x0f]; in ToSurrogateHex()270 buffer[10] = kHex[low & 0x0f]; in ToSurrogateHex()272 buffer[9] = kHex[low & 0x0f]; in ToSurrogateHex()274 buffer[8] = kHex[low & 0x0f]; in ToSurrogateHex()276 buffer[5] = kHex[high & 0x0f]; in ToSurrogateHex()[all …]
177 static const char kHex[16] = {'0', '1', '2', '3', '4', '5', '6', '7', variable260 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()264 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()269 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()274 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()278 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()