Searched defs:src_c (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/lib/
H A Dbase64.c51 const unsigned char *src_c = src; local
55 ptr[0] = b64enc[src_c[src_pos] >> 2];
56 ptr[1] = b64enc[((src_c[src_pos] & 0x03) << 4) |
57 (src_c[src_pos+1] >> 4)];
58 ptr[2] = b64enc[((src_c[src_pos+1] & 0x0f) << 2) |
59 ((src_c[src_pos+2] & 0xc0) >> 6)];
60 ptr[3] = b64enc[src_c[src_pos+2] & 0x3f];
69 ptr[0] = b64enc[src_c[src_pos] >> 2];
70 ptr[1] = b64enc[(src_c[src_pos] & 0x03) << 4];
75 ptr[0] = b64enc[src_c[src_po
92 const unsigned char *src_c = src; local
[all...]
H A Dbase32.c89 const unsigned char *src_c = src; local
99 tmp[0] = alph[src_c[src_pos] >> 3];
100 tmp[1] = alph[((src_c[src_pos] & 0x07) << 2) |
101 ((src_c[src_pos+1] >> 6) & 0x03)];
102 tmp[2] = alph[((src_c[src_pos+1] >> 1) & 0x1f)];
103 tmp[3] = alph[((src_c[src_pos+1] & 0x01) << 4) |
104 (src_c[src_pos+2] >> 4)];
105 tmp[4] = alph[((src_c[src_pos+2] & 0x0f) << 1) |
106 (src_c[src_pos+3] >> 7)];
107 tmp[5] = alph[((src_c[src_po
184 const unsigned char *src_c = src; local
[all...]
H A Dstrescape.c35 const unsigned char *src_c = src; local
40 if (src_c[i] == '\\')
44 str_append_n(dest, src_c + start, i-start);
49 str_append_c(dest, src_c[i++]);
158 const unsigned char *src_c = src; local
163 if (src_c[i] == '\001')
167 str_append_n(dest, src_c + start, i-start);
172 switch (src_c[i]) {
189 str_append_c(dest, src_c[i]);

Completed in 17 milliseconds