• Home
  • Raw
  • Download

Lines Matching +full:0 +full:x3f

24     255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
46 if (len < ENCODED_GROUP_BYTES || len % ENCODED_GROUP_BYTES != 0) { in Decode()
47 return {0, false}; in Decode()
53 int8_t i = 0; in Decode()
62 …*dest++ = (base64Chars[0] << 2) | ((base64Chars[1] & 0x30) >> 4); // 2: shift 2bits, 4: shift 4bits in Decode()
63 …*dest++ = (base64Chars[1] << 4) | ((base64Chars[2] & 0x3c) >> 2); // 2: shift 2bits, 4: shift 4bits in Decode()
65 i = 0; in Decode()
70 if (i != 0) { in Decode()
72 … tmp[0] = (base64Chars[0] << 2) | ((base64Chars[1] & 0x30) >> 4); // 2: shift 2bits, 4: shift 4bits in Decode()
73 … tmp[1] = (base64Chars[1] << 4) | ((base64Chars[2] & 0x3c) >> 2); // 2: shift 2bits, 4: shift 4bits in Decode()
75 for (int8_t j = 0; j < i - 1; j++) { in Decode()
83 // 0: decodedDone, 1: =, 2: == in Decode()
84 if (len == 0 || (len == 1 && *src == '=') || (len == 2 && *src == '=' && *(src + 1) == '=')) { in Decode()
93 if (len == 0) { in Encode()
94 return 0; in Encode()
100 *dest++ = ENCODE_TABLE[src[0] >> 2]; // 2: shift 2bits in Encode()
101 *dest++ = ENCODE_TABLE[((src[0] & 0x03) << 4) | (src[1] >> 4)]; // 4: shift 4bits in Encode()
102 … *dest++ = ENCODE_TABLE[((src[1] & 0x0f) << 2) | (src[2] >> 6)]; // 2: shift 2bits, 6: shift 6bits in Encode()
103 *dest++ = ENCODE_TABLE[src[2] & 0x3f]; // 2: the second char in Encode()
112 *dest++ = ENCODE_TABLE[src[0] >> 2]; // 2: shift 2bits in Encode()
113 *dest++ = ENCODE_TABLE[((src[0] & 0x03) << 4) | (src[1] >> 4)]; // 4: shift 4bits in Encode()
114 *dest++ = ENCODE_TABLE[((src[1] & 0x0f) << 2)]; // 2: shift 2bits in Encode()
118 *dest++ = ENCODE_TABLE[src[0] >> 2]; // 2: shift 2bits in Encode()
119 *dest++ = ENCODE_TABLE[((src[0] & 0x03) << 4)]; // 4: shift 4bits in Encode()