Lines Matching refs:PRINTF_BUF_SIZE
30 #define PRINTF_BUF_SIZE 512 macro
32 static char buf[PRINTF_BUF_SIZE];
33 static wchar_t wbuf[PRINTF_BUF_SIZE];
95 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv1, iv2, ldv); in test()
103 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv1, iv2, dv); in test()
113 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv, ldv); in test()
121 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv, dv); in test()
131 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, ldv); in test()
139 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, dv); in test()
148 n = vsnprintf(buf, PRINTF_BUF_SIZE, fmt, ap); in test()
159 if (n >= PRINTF_BUF_SIZE) { in test()
195 static wchar_t f_wbuf[PRINTF_BUF_SIZE]; in failmsgw()
196 static char f_buf[PRINTF_BUF_SIZE]; in failmsgw()
197 vswprintf(f_wbuf, PRINTF_BUF_SIZE, fmt, ap); in failmsgw()
198 wcstombs(f_buf, f_wbuf, PRINTF_BUF_SIZE); in failmsgw()
239 n = swprintf(wbuf, PRINTF_BUF_SIZE, fmt, iv1, iv2, dv); in testw()
243 n = swprintf(wbuf, PRINTF_BUF_SIZE, fmt, iv, dv); in testw()
247 n = swprintf(wbuf, PRINTF_BUF_SIZE, fmt, dv); in testw()
252 n = vswprintf(wbuf, PRINTF_BUF_SIZE, fmt, ap); in testw()
257 if (n >= PRINTF_BUF_SIZE) { in testw()