Lines Matching refs:i
42 size_t i, n; in mbedtls_base64_encode() local
67 for (i = 0, p = dst; i < n; i += 3) { in mbedtls_base64_encode()
80 if (i < slen) { in mbedtls_base64_encode()
82 C2 = ((i + 1) < slen) ? *src++ : 0; in mbedtls_base64_encode()
88 if ((i + 1) < slen) { in mbedtls_base64_encode()
109 size_t i; /* index in source */ in mbedtls_base64_decode() local
118 for (i = n = 0; i < slen; i++) { in mbedtls_base64_decode()
121 while (i < slen && src[i] == ' ') { in mbedtls_base64_decode()
122 ++i; in mbedtls_base64_decode()
127 if (i == slen) { in mbedtls_base64_decode()
131 if ((slen - i) >= 2 && in mbedtls_base64_decode()
132 src[i] == '\r' && src[i + 1] == '\n') { in mbedtls_base64_decode()
136 if (src[i] == '\n') { in mbedtls_base64_decode()
145 if (src[i] > 127) { in mbedtls_base64_decode()
149 if (src[i] == '=') { in mbedtls_base64_decode()
157 if (mbedtls_ct_base64_dec_value(src[i]) < 0) { in mbedtls_base64_decode()
182 for (x = 0, p = dst; i > 0; i--, src++) { in mbedtls_base64_decode()