Lines Matching defs:tmesg
107 static void tst_condense(int tnum, int ttype, const char *tmesg);
108 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg);
173 char tmesg[USERMESG];
178 len = sprintf(tmesg, "%s:%d: ", file, lineno);
179 EXPAND_VAR_ARGS(tmesg + len, arg_fmt, USERMESG - len);
197 tst_print(TCID, 0, ttype, tmesg);
210 tst_condense(tst_count + 1, ttype, tmesg);
213 tst_print(TCID, tst_count + 1, ttype, tmesg);
223 static void tst_condense(int tnum, int ttype, const char *tmesg)
232 strcmp(Last_mesg, tmesg) == 0)
253 Last_mesg = malloc(strlen(tmesg) + 1);
254 strcpy(Last_mesg, tmesg);
277 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg)
325 "%s%s%s : %s", tst_ttype2color(ttype), type, ANSI_COLOR_RESET, tmesg);
328 "%s : %s", type, tmesg);
488 char tmesg[USERMESG];
491 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG);
505 tst_res__(file, lineno, ttype, "%s", tmesg);
535 char tmesg[USERMESG];
537 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG);
540 tst_res_(file, lineno, ttype, "%s", tmesg);
542 tst_res__(file, lineno, ttype, "%s", tmesg);
551 char tmesg[USERMESG];
556 char *pmesg = tmesg;
564 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG);
565 offset = strlen(tmesg);
569 res_func(file, lineno, ttype, "%s", tmesg);
575 if (pmesg != tmesg)
581 res_func(file, lineno, ttype, "%s", tmesg);
582 pmesg = tmesg;
590 char tmesg[USERMESG];
592 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG);
600 tst_brk_(file, lineno, ttype, "%s", tmesg);
603 tst_brk__(file, lineno, ttype, func, "%s", tmesg);