Lines Matching refs:os_toascii
72 static unsigned char os_toascii[256];
99 for (i = 0; i < sizeof(os_toascii); i++) {
100 os_toascii[i] = i;
102 inbytes_left = outbytes_left = sizeof(os_toascii);
103 apr_xlate_conv_buffer(to_ascii, os_toascii, &inbytes_left,
104 os_toascii, &outbytes_left);
208 *p++ = basis_64[(os_toascii[string[i]] >> 2) & 0x3F];
209 *p++ = basis_64[((os_toascii[string[i]] & 0x3) << 4) |
210 ((int) (os_toascii[string[i + 1]] & 0xF0) >> 4)];
211 *p++ = basis_64[((os_toascii[string[i + 1]] & 0xF) << 2) |
212 ((int) (os_toascii[string[i + 2]] & 0xC0) >> 6)];
213 *p++ = basis_64[os_toascii[string[i + 2]] & 0x3F];
216 *p++ = basis_64[(os_toascii[string[i]] >> 2) & 0x3F];
218 *p++ = basis_64[((os_toascii[string[i]] & 0x3) << 4)];
222 *p++ = basis_64[((os_toascii[string[i]] & 0x3) << 4) |
223 ((int) (os_toascii[string[i + 1]] & 0xF0) >> 4)];
224 *p++ = basis_64[((os_toascii[string[i + 1]] & 0xF) << 2)];