Lines Matching refs:DEBUG_BUF_SIZE
21 /* DEBUG_BUF_SIZE must be at least 2 */
22 #define DEBUG_BUF_SIZE 512
44 char idstr[20 + DEBUG_BUF_SIZE]; /* 0x + 16 nibbles + ': ' */
58 char str[DEBUG_BUF_SIZE];
61 MBEDTLS_STATIC_ASSERT(DEBUG_BUF_SIZE >= 2, "DEBUG_BUF_SIZE too small");
71 ret = mbedtls_vsnprintf(str, DEBUG_BUF_SIZE, format, argp);
77 if (ret >= DEBUG_BUF_SIZE - 1) {
78 ret = DEBUG_BUF_SIZE - 2;
91 char str[DEBUG_BUF_SIZE];
119 char str[DEBUG_BUF_SIZE];
175 char str[DEBUG_BUF_SIZE];
197 char str[DEBUG_BUF_SIZE];
237 char str[DEBUG_BUF_SIZE];
269 char str[DEBUG_BUF_SIZE];
363 char str[DEBUG_BUF_SIZE];
370 if (len > DEBUG_BUF_SIZE - 1) {
371 len = DEBUG_BUF_SIZE - 1;
388 char str[DEBUG_BUF_SIZE];