Lines Matching defs:in
26 encode_base64(char *out, const char *in, off_t length, int headerMode)
35 concat = ((in[i] & 0xff) << 16);
38 concat |= ((in[i+1] & 0xff) << 8);
40 concat |= (in[i+2] & 0xff);
57 // No line breaks in header mode, since the text is part of a Subject:
73 decode_base64(char *out, const char *in, off_t length)
84 value = in[i + j];
107 // there is an invalid character in this line - we will
110 while (i < length && in[i] != '\n' && in[i] != '\r')
134 ssize_t encode_base64(char *out, char *in, off_t length)
136 return encode_base64(out, in, length, 0);
139 ssize_t decode_base64(char *out, const char *in, off_t length,
142 return decode_base64(out, in, length);