Lines Matching defs:CHAR64
95 #define CHAR64(c) (((c) < 0 || (c) > 127) ? -1 : index_64[(c)])
209 if (CHAR64(c1) == -1) return SASL_BADPROT;
211 if (CHAR64(c2) == -1) return SASL_BADPROT;
213 if (c3 != '=' && CHAR64(c3) == -1) return SASL_BADPROT;
215 if (c4 != '=' && CHAR64(c4) == -1) return SASL_BADPROT;
217 *out++ = (CHAR64(c1) << 2) | (CHAR64(c2) >> 4);
220 *out++ = ((CHAR64(c2) << 4) & 0xf0) | (CHAR64(c3) >> 2);
223 *out++ = ((CHAR64(c3) << 6) & 0xc0) | CHAR64(c4);