Lines Matching refs:tmesg
85 static void tst_condense(int tnum, int ttype, const char *tmesg);
86 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg);
150 char tmesg[USERMESG]; in tst_res__() local
155 len = sprintf(tmesg, "%s:%d: ", file, lineno); in tst_res__()
156 EXPAND_VAR_ARGS(tmesg + len, arg_fmt, USERMESG - len); in tst_res__()
171 tst_print(TCID, 0, ttype, tmesg); in tst_res__()
184 tst_condense(tst_count + 1, ttype, tmesg); in tst_res__()
187 tst_print(TCID, tst_count + 1, ttype, tmesg); in tst_res__()
197 static void tst_condense(int tnum, int ttype, const char *tmesg) in tst_condense() argument
206 strcmp(Last_mesg, tmesg) == 0) in tst_condense()
227 Last_mesg = malloc(strlen(tmesg) + 1); in tst_condense()
228 strcpy(Last_mesg, tmesg); in tst_condense()
251 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg) in tst_print() argument
285 "%-8s %4d %s : %s", tcid, tnum, type, tmesg); in tst_print()
289 tcid, tnum, type, tmesg); in tst_print()
446 char tmesg[USERMESG]; in tst_brk__() local
449 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_brk__()
463 tst_res__(file, lineno, ttype, "%s", tmesg); in tst_brk__()
493 char tmesg[USERMESG]; in tst_resm_() local
495 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_resm_()
498 tst_res_(file, lineno, ttype, "%s", tmesg); in tst_resm_()
500 tst_res__(file, lineno, ttype, "%s", tmesg); in tst_resm_()
510 char tmesg[USERMESG]; in tst_resm_hexd_() local
512 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_resm_hexd_()
516 size_t offset = strlen(tmesg); in tst_resm_hexd_()
517 char *pmesg = tmesg; in tst_resm_hexd_()
521 tst_res__(file, lineno, ttype, "%s", tmesg); in tst_resm_hexd_()
528 if (pmesg != tmesg) in tst_resm_hexd_()
534 tst_res__(file, lineno, ttype, "%s", tmesg); in tst_resm_hexd_()
535 pmesg = tmesg; in tst_resm_hexd_()
545 char tmesg[USERMESG]; in tst_brkm_() local
547 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_brkm_()
555 tst_brk_(file, lineno, ttype, "%s", tmesg); in tst_brkm_()
557 tst_brk__(file, lineno, ttype, func, "%s", tmesg); in tst_brkm_()