Searched refs:b64_encode_table (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/forked-daapd-0.19/src/
H A Dmisc.c558 static const char b64_encode_table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; variable
563 out[0] = b64_encode_table[in[0] >> 2];
568 out[1] = b64_encode_table[((in[0] & 0x03) << 4)];
571 out[1] = b64_encode_table[((in[0] & 0x03) << 4) | ((in[1] & 0xf0) >> 4)];
574 out[2] = b64_encode_table[((in[1] & 0x0f) << 2)];
577 out[2] = b64_encode_table[((in[1] & 0x0f) << 2) | ((in[2] & 0xc0) >> 6)];
578 out[3] = b64_encode_table[in[2] & 0x3f];
586 out[0] = b64_encode_table[in[0] >> 2];
587 out[1] = b64_encode_table[((in[0] & 0x03) << 4) | ((in[1] & 0xf0) >> 4)];
588 out[2] = b64_encode_table[((i
[all...]

Completed in 172 milliseconds