Lines Matching defs:base64
8979 ** - handling of base64 sequences with padding characters.
9445 /* Returns true if the given character is not a valid base64 character or
9484 "Non-base64 characters in bytes field: %s",
9524 "Incorrect base64 padding for field: %s (%.*s)",
10216 * parsed. We don't do this yet for BYTES fields, because our base64
10219 * TODO(haberman): make base64 decoding streaming also. */
12845 /* This is the regular base64, not the "web-safe" version. */
12846 static const char base64[] =
12869 to[0] = base64[from[0] >> 2];
12870 to[1] = base64[((from[0] & 0x3) << 4) | (from[1] >> 4)];
12871 to[2] = base64[((from[1] & 0xf) << 2) | (from[2] >> 6)];
12872 to[3] = base64[from[2] & 0x3f];
12881 to[0] = base64[from[0] >> 2];
12882 to[1] = base64[((from[0] & 0x3) << 4) | (from[1] >> 4)];
12883 to[2] = base64[(from[1] & 0xf) << 2];
12889 to[0] = base64[from[0] >> 2];
12890 to[1] = base64[((from[0] & 0x3) << 4)];
13733 /* XXX: this doesn't support strings that span buffers yet. The base64