Searched refs:base64_chars (Results 1 – 5 of 5) sorted by relevance
143 const char* const base64_chars = kBase64UrlSafeChars; in Base64Encode() local162 *current++ = base64_chars[(data[0] >> 2) & 0x3F]; in Base64Encode()164 base64_chars[((data[0] & 0x03) << 4) | ((data[1] >> 4) & 0x0F)]; in Base64Encode()166 base64_chars[((data[1] & 0x0F) << 2) | ((data[2] >> 6) & 0x03)]; in Base64Encode()167 *current++ = base64_chars[data[2] & 0x3F]; in Base64Encode()174 *current++ = base64_chars[(data[0] >> 2) & 0x3F]; in Base64Encode()176 base64_chars[((data[0] & 0x03) << 4) | ((data[1] >> 4) & 0x0F)]; in Base64Encode()177 *current++ = base64_chars[(data[1] & 0x0F) << 2]; in Base64Encode()182 *current++ = base64_chars[(data[0] >> 2) & 0x3F]; in Base64Encode()183 *current++ = base64_chars[(data[0] & 0x03) << 4]; in Base64Encode()
81 const char* base64_chars = in grpc_base64_encode_core() local92 *current++ = base64_chars[(data[i] >> 2) & 0x3F]; in grpc_base64_encode_core()94 base64_chars[((data[i] & 0x03) << 4) | ((data[i + 1] >> 4) & 0x0F)]; in grpc_base64_encode_core()96 base64_chars[((data[i + 1] & 0x0F) << 2) | ((data[i + 2] >> 6) & 0x03)]; in grpc_base64_encode_core()97 *current++ = base64_chars[data[i + 2] & 0x3F]; in grpc_base64_encode_core()110 *current++ = base64_chars[(data[i] >> 2) & 0x3F]; in grpc_base64_encode_core()112 base64_chars[((data[i] & 0x03) << 4) | ((data[i + 1] >> 4) & 0x0F)]; in grpc_base64_encode_core()113 *current++ = base64_chars[(data[i + 1] & 0x0F) << 2]; in grpc_base64_encode_core()116 *current++ = base64_chars[(data[i] >> 2) & 0x3F]; in grpc_base64_encode_core()117 *current++ = base64_chars[(data[i] & 0x03) << 4]; in grpc_base64_encode_core()
411 static const char base64_chars[] = variable419 result += base64_chars[src[0] >> 2]; in StringToBase64()420 result += base64_chars[((src[0] & 0x3) << 4) | (src[1] >> 4)]; in StringToBase64()421 result += base64_chars[((src[1] & 0xf) << 2) | (src[2] >> 6)]; in StringToBase64()422 result += base64_chars[src[2] & 0x3f]; in StringToBase64()428 result += base64_chars[src[0] >> 2]; in StringToBase64()429 result += base64_chars[((src[0] & 0x3) << 4) | (src[1] >> 4)]; in StringToBase64()430 result += base64_chars[(src[1] & 0xf) << 2]; in StringToBase64()435 result += base64_chars[src[0] >> 2]; in StringToBase64()436 result += base64_chars[((src[0] & 0x3) << 4)]; in StringToBase64()
552 bool do_padding, const char* base64_chars) { in Base64EscapeInternal() argument558 static_cast<int>(dest->size()), base64_chars, do_padding); in Base64EscapeInternal()
2195 const char* base64_chars) { in Base64EscapeInternal() argument2202 base64_chars, in Base64EscapeInternal()