Lines Matching refs:idx
141 size_t i, idx = 0; in mbedtls_debug_print_buf() local
151 mbedtls_snprintf( str + idx, sizeof( str ) - idx, "dumping '%s' (%u bytes)\n", in mbedtls_debug_print_buf()
156 idx = 0; in mbedtls_debug_print_buf()
167 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf()
170 idx = 0; in mbedtls_debug_print_buf()
174 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, "%04x: ", in mbedtls_debug_print_buf()
179 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %02x", in mbedtls_debug_print_buf()
187 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " " ); in mbedtls_debug_print_buf()
189 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf()
224 size_t idx = 0; in mbedtls_debug_print_mpi() local
244 idx = 3; in mbedtls_debug_print_mpi()
255 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %02x", octet ); in mbedtls_debug_print_mpi()
256 idx += 3; in mbedtls_debug_print_mpi()
258 if( idx >= 3 * 16 ) in mbedtls_debug_print_mpi()
260 mbedtls_snprintf( str + idx, sizeof( str ) - idx, "\n" ); in mbedtls_debug_print_mpi()
262 idx = 0; in mbedtls_debug_print_mpi()
267 if( idx != 0 ) in mbedtls_debug_print_mpi()
269 mbedtls_snprintf( str + idx, sizeof( str ) - idx, "\n" ); in mbedtls_debug_print_mpi()