Lines Matching refs:DEBUG_BUF_SIZE
51 #define DEBUG_BUF_SIZE 512 macro
73 char idstr[20 + DEBUG_BUF_SIZE]; /* 0x + 16 nibbles + ': ' */ in debug_send_line()
86 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_msg()
95 ret = _vsnprintf_s( str, DEBUG_BUF_SIZE, _TRUNCATE, format, argp ); in mbedtls_debug_print_msg()
97 ret = _vsnprintf( str, DEBUG_BUF_SIZE, format, argp ); in mbedtls_debug_print_msg()
98 if( ret < 0 || (size_t) ret == DEBUG_BUF_SIZE ) in mbedtls_debug_print_msg()
100 str[DEBUG_BUF_SIZE-1] = '\0'; in mbedtls_debug_print_msg()
105 ret = vsnprintf( str, DEBUG_BUF_SIZE, format, argp ); in mbedtls_debug_print_msg()
109 if( ret >= 0 && ret < DEBUG_BUF_SIZE - 1 ) in mbedtls_debug_print_msg()
122 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_ret()
145 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_buf()
200 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_ecp()
218 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_mpi()
319 char str[DEBUG_BUF_SIZE]; in debug_print_line_by_line()
328 if( len > DEBUG_BUF_SIZE - 1 ) in debug_print_line_by_line()
329 len = DEBUG_BUF_SIZE - 1; in debug_print_line_by_line()
345 char str[DEBUG_BUF_SIZE]; in mbedtls_debug_print_crt()