Lines Matching refs:p
65 uint8_t *p; in base64_encode() local
88 for (i = 0, p = dst; i < n; i += 3) { in base64_encode()
93 *p++ = base64_enc_map[(C1 >> 2) & 0x3F]; in base64_encode()
94 *p++ = base64_enc_map[(((C1 & 3) << 4) + (C2 >> 4)) & 0x3F]; in base64_encode()
95 *p++ = base64_enc_map[(((C2 & 15) << 2) + (C3 >> 6)) & 0x3F]; in base64_encode()
96 *p++ = base64_enc_map[C3 & 0x3F]; in base64_encode()
103 *p++ = base64_enc_map[(C1 >> 2) & 0x3F]; in base64_encode()
104 *p++ = base64_enc_map[(((C1 & 3) << 4) + (C2 >> 4)) & 0x3F]; in base64_encode()
107 *p++ = base64_enc_map[((C2 & 15) << 2) & 0x3F]; in base64_encode()
109 *p++ = '='; in base64_encode()
112 *p++ = '='; in base64_encode()
115 *olen = p - dst; in base64_encode()
116 *p = 0U; in base64_encode()
129 uint8_t *p; in base64_decode() local
190 for (j = 3U, n = x = 0U, p = dst; i > 0; i--, src++) { in base64_decode()
202 *p++ = (unsigned char)(x >> 16); in base64_decode()
205 *p++ = (unsigned char)(x >> 8); in base64_decode()
208 *p++ = (unsigned char)(x); in base64_decode()
213 *olen = p - dst; in base64_decode()