Lines Matching refs:idx
121 size_t i, idx = 0; in mbedtls_debug_print_buf() local
130 mbedtls_snprintf(str + idx, sizeof(str) - idx, "dumping '%s' (%u bytes)\n", in mbedtls_debug_print_buf()
143 mbedtls_snprintf(str + idx, sizeof(str) - idx, " %s\n", txt); in mbedtls_debug_print_buf()
146 idx = 0; in mbedtls_debug_print_buf()
150 idx += mbedtls_snprintf(str + idx, sizeof(str) - idx, "%04x: ", in mbedtls_debug_print_buf()
155 idx += mbedtls_snprintf(str + idx, sizeof(str) - idx, " %02x", in mbedtls_debug_print_buf()
162 idx += mbedtls_snprintf(str + idx, sizeof(str) - idx, " "); in mbedtls_debug_print_buf()
165 mbedtls_snprintf(str + idx, sizeof(str) - idx, " %s\n", txt); in mbedtls_debug_print_buf()
198 size_t i, idx = 0; in mbedtls_debug_print_ec_coord() local
200 mbedtls_snprintf(str + idx, sizeof(str) - idx, "value of '%s' (%u bits) is:\n", in mbedtls_debug_print_ec_coord()
212 mbedtls_snprintf(str + idx, sizeof(str) - idx, "\n"); in mbedtls_debug_print_ec_coord()
215 idx = 0; in mbedtls_debug_print_ec_coord()
219 idx += mbedtls_snprintf(str + idx, sizeof(str) - idx, " %02x", in mbedtls_debug_print_ec_coord()
225 idx += mbedtls_snprintf(str + idx, sizeof(str) - idx, " "); in mbedtls_debug_print_ec_coord()
228 mbedtls_snprintf(str + idx, sizeof(str) - idx, "\n"); in mbedtls_debug_print_ec_coord()
271 size_t idx = 0; in mbedtls_debug_print_mpi() local
289 idx = 3; in mbedtls_debug_print_mpi()
297 mbedtls_snprintf(str + idx, sizeof(str) - idx, " %02x", octet); in mbedtls_debug_print_mpi()
298 idx += 3; in mbedtls_debug_print_mpi()
300 if (idx >= 3 * 16) { in mbedtls_debug_print_mpi()
301 mbedtls_snprintf(str + idx, sizeof(str) - idx, "\n"); in mbedtls_debug_print_mpi()
303 idx = 0; in mbedtls_debug_print_mpi()
308 if (idx != 0) { in mbedtls_debug_print_mpi()
309 mbedtls_snprintf(str + idx, sizeof(str) - idx, "\n"); in mbedtls_debug_print_mpi()