Lines Matching defs:Base64
1171 // MARK: - base64 -> binary conversion
1173 static const char Base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
1210 pos = mDNSstrchr(Base64, ch);
1211 if (pos == 0) /* A non-base64 character. */
1219 target[tarindex] = (mDNSu8)((pos - Base64) << 2);
1227 target[tarindex] |= (pos - Base64) >> 4;
1228 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x0f) << 4);
1237 target[tarindex] |= (pos - Base64) >> 2;
1238 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x03) << 6);
1247 target[tarindex] |= (pos - Base64);