Lines Matching defs:Base64
35 /* This work is based upon Base64 routines (developed by IBM) found
55 static const char Base64[] =
78 Table 1: The Base64 Alphabet
151 target[datalength++] = Base64[output[0]];
152 target[datalength++] = Base64[output[1]];
153 target[datalength++] = Base64[output[2]];
154 target[datalength++] = Base64[output[3]];
173 target[datalength++] = Base64[output[0]];
174 target[datalength++] = Base64[output[1]];
178 target[datalength++] = Base64[output[2]];
212 pos = strchr(Base64, ch);
221 target[tarindex] = (pos - Base64) << 2;
229 target[tarindex] |= (pos - Base64) >> 4;
230 target[tarindex+1] = ((pos - Base64) & 0x0f)
240 target[tarindex] |= (pos - Base64) >> 2;
241 target[tarindex+1] = ((pos - Base64) & 0x03)
251 target[tarindex] |= (pos - Base64);