Home | History | Annotate | Download | only in utils

Lines Matching defs:in

27  * not included in out_len.
33 const unsigned char *end, *in;
47 in = src;
50 while (end - in >= 3) {
51 *pos++ = base64_table[in[0] >> 2];
52 *pos++ = base64_table[((in[0] & 0x03) << 4) | (in[1] >> 4)];
53 *pos++ = base64_table[((in[1] & 0x0f) << 2) | (in[2] >> 6)];
54 *pos++ = base64_table[in[2] & 0x3f];
55 in += 3;
63 if (end - in) {
64 *pos++ = base64_table[in[0] >> 2];
65 if (end - in == 1) {
66 *pos++ = base64_table[(in[0] & 0x03) << 4];
69 *pos++ = base64_table[((in[0] & 0x03) << 4) |
70 (in[1] >> 4)];
71 *pos++ = base64_table[(in[1] & 0x0f) << 2];