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()
177 size_t idx = 0; in mbedtls_debug_print_mpi() local
195 idx = 3; in mbedtls_debug_print_mpi()
203 mbedtls_snprintf(str + idx, sizeof(str) - idx, " %02x", octet); in mbedtls_debug_print_mpi()
204 idx += 3; in mbedtls_debug_print_mpi()
206 if (idx >= 3 * 16) { in mbedtls_debug_print_mpi()
207 mbedtls_snprintf(str + idx, sizeof(str) - idx, "\n"); in mbedtls_debug_print_mpi()
209 idx = 0; in mbedtls_debug_print_mpi()
214 if (idx != 0) { in mbedtls_debug_print_mpi()
215 mbedtls_snprintf(str + idx, sizeof(str) - idx, "\n"); in mbedtls_debug_print_mpi()
230 size_t i, len_bytes = PSA_BITS_TO_BYTES(bitlen), idx = 0; in mbedtls_debug_print_integer() local
232 mbedtls_snprintf(str + idx, sizeof(str) - idx, "value of '%s' (%u bits) is:\n", in mbedtls_debug_print_integer()
244 mbedtls_snprintf(str + idx, sizeof(str) - idx, "\n"); in mbedtls_debug_print_integer()
247 idx = 0; in mbedtls_debug_print_integer()
251 idx += mbedtls_snprintf(str + idx, sizeof(str) - idx, " %02x", in mbedtls_debug_print_integer()
256 mbedtls_snprintf(str + idx, sizeof(str) - idx, "\n"); in mbedtls_debug_print_integer()