Searched refs:DEBUG_BUF_SIZE (Results 1 – 1 of 1) sorted by relevance
/net-tools-latest/mbedtls-2.4.0/library/ |
D | debug.c | 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() [all …]
|