Home
last modified time | relevance | path

Searched refs:table64 (Results 1 – 1 of 1) sorted by relevance

/curl/lib/
H A Dbase64.c188 static CURLcode base64_encode(const char *table64, in base64_encode() argument
195 const char *padstr = &table64[64]; /* Point to padding string. */ in base64_encode()
213 *output++ = table64[ in[0] >> 2 ]; in base64_encode()
214 *output++ = table64[ ((in[0] & 0x03) << 4) | (in[1] >> 4) ]; in base64_encode()
215 *output++ = table64[ ((in[1] & 0x0F) << 2) | ((in[2] & 0xC0) >> 6) ]; in base64_encode()
216 *output++ = table64[ in[2] & 0x3F ]; in base64_encode()
222 *output++ = table64[ in[0] >> 2 ]; in base64_encode()
224 *output++ = table64[ ((in[0] & 0x03) << 4) ]; in base64_encode()
232 *output++ = table64[ ((in[0] & 0x03) << 4) | ((in[1] & 0xF0) >> 4) ]; in base64_encode()
233 *output++ = table64[ ((in[1] & 0x0F) << 2) ]; in base64_encode()

Completed in 5 milliseconds