Lines Matching refs:i
42 size_t i, n; in mbedtls_base64_encode() local
70 for( i = 0, p = dst; i < n; i += 3 ) in mbedtls_base64_encode()
84 if( i < slen ) in mbedtls_base64_encode()
87 C2 = ( ( i + 1 ) < slen ) ? *src++ : 0; in mbedtls_base64_encode()
93 if( ( i + 1 ) < slen ) in mbedtls_base64_encode()
112 size_t i; /* index in source */ in mbedtls_base64_decode() local
121 for( i = n = 0; i < slen; i++ ) in mbedtls_base64_decode()
125 while( i < slen && src[i] == ' ' ) in mbedtls_base64_decode()
127 ++i; in mbedtls_base64_decode()
132 if( i == slen ) in mbedtls_base64_decode()
135 if( ( slen - i ) >= 2 && in mbedtls_base64_decode()
136 src[i] == '\r' && src[i + 1] == '\n' ) in mbedtls_base64_decode()
139 if( src[i] == '\n' ) in mbedtls_base64_decode()
146 if( src[i] > 127 ) in mbedtls_base64_decode()
149 if( src[i] == '=' ) in mbedtls_base64_decode()
158 if( mbedtls_ct_base64_dec_value( src[i] ) < 0 ) in mbedtls_base64_decode()
184 for( x = 0, p = dst; i > 0; i--, src++ ) in mbedtls_base64_decode()