Lines Matching refs:ctest_errorsize
153 static size_t ctest_errorsize; variable
186 size = snprintf(ctest_errormsg, ctest_errorsize, "%s", color); in msg_start()
187 ctest_errorsize -= size; in msg_start()
190 size = snprintf(ctest_errormsg, ctest_errorsize, " %s: ", title); in msg_start()
191 ctest_errorsize -= size; in msg_start()
198 size = snprintf(ctest_errormsg, ctest_errorsize, ANSI_NORMAL); in msg_end()
199 ctest_errorsize -= size; in msg_end()
202 size = snprintf(ctest_errormsg, ctest_errorsize, "\n"); in msg_end()
203 ctest_errorsize -= size; in msg_end()
213 int size = vsnprintf(ctest_errormsg, ctest_errorsize, fmt, argp); in CTEST_LOG()
214 ctest_errorsize -= size; in CTEST_LOG()
227 int size = vsnprintf(ctest_errormsg, ctest_errorsize, fmt, argp); in CTEST_ERR()
228 ctest_errorsize -= size; in CTEST_ERR()
407 ctest_errorsize = MSG_SIZE-1; in ctest_main()
443 if (ctest_errorsize != MSG_SIZE-1) printf("%s", ctest_errorbuffer); in ctest_main()