Lines Matching refs:base64_table
14 static const unsigned char base64_table[65] = variable
51 *pos++ = base64_table[(in[0] >> 2) & 0x3f]; in base64_encode()
52 *pos++ = base64_table[(((in[0] & 0x03) << 4) | in base64_encode()
54 *pos++ = base64_table[(((in[1] & 0x0f) << 2) | in base64_encode()
56 *pos++ = base64_table[in[2] & 0x3f]; in base64_encode()
66 *pos++ = base64_table[(in[0] >> 2) & 0x3f]; in base64_encode()
68 *pos++ = base64_table[((in[0] & 0x03) << 4) & 0x3f]; in base64_encode()
71 *pos++ = base64_table[(((in[0] & 0x03) << 4) | in base64_encode()
73 *pos++ = base64_table[((in[1] & 0x0f) << 2) & 0x3f]; in base64_encode()
107 for (i = 0; i < sizeof(base64_table) - 1; i++) in base64_decode()
108 dtable[base64_table[i]] = (unsigned char) i; in base64_decode()