Lines Matching refs:tmesg
98 static void tst_condense(int tnum, int ttype, const char *tmesg);
99 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg);
164 char tmesg[USERMESG]; in tst_res__() local
169 len = sprintf(tmesg, "%s:%d: ", file, lineno); in tst_res__()
170 EXPAND_VAR_ARGS(tmesg + len, arg_fmt, USERMESG - len); in tst_res__()
188 tst_print(TCID, 0, ttype, tmesg); in tst_res__()
201 tst_condense(tst_count + 1, ttype, tmesg); in tst_res__()
204 tst_print(TCID, tst_count + 1, ttype, tmesg); in tst_res__()
214 static void tst_condense(int tnum, int ttype, const char *tmesg) in tst_condense() argument
223 strcmp(Last_mesg, tmesg) == 0) in tst_condense()
244 Last_mesg = malloc(strlen(tmesg) + 1); in tst_condense()
245 strcpy(Last_mesg, tmesg); in tst_condense()
268 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg) in tst_print() argument
316 "%s%s%s : %s", tst_ttype2color(ttype), type, ANSI_COLOR_RESET, tmesg); in tst_print()
319 "%s : %s", type, tmesg); in tst_print()
479 char tmesg[USERMESG]; in tst_brk__() local
482 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_brk__()
496 tst_res__(file, lineno, ttype, "%s", tmesg); in tst_brk__()
526 char tmesg[USERMESG]; in tst_resm_() local
528 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_resm_()
531 tst_res_(file, lineno, ttype, "%s", tmesg); in tst_resm_()
533 tst_res__(file, lineno, ttype, "%s", tmesg); in tst_resm_()
542 char tmesg[USERMESG]; in tst_resm_hexd_() local
547 char *pmesg = tmesg; in tst_resm_hexd_()
555 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_resm_hexd_()
556 offset = strlen(tmesg); in tst_resm_hexd_()
560 res_func(file, lineno, ttype, "%s", tmesg); in tst_resm_hexd_()
566 if (pmesg != tmesg) in tst_resm_hexd_()
572 res_func(file, lineno, ttype, "%s", tmesg); in tst_resm_hexd_()
573 pmesg = tmesg; in tst_resm_hexd_()
581 char tmesg[USERMESG]; in tst_brkm_() local
583 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_brkm_()
591 tst_brk_(file, lineno, ttype, "%s", tmesg); in tst_brkm_()
593 tst_brk__(file, lineno, ttype, func, "%s", tmesg); in tst_brkm_()