Lines Matching refs:msg
43 msg += ret;\
65 char * msg = ktest_output_buf; in ktest_emit_testbegin() local
72 ret = snprintf(msg, in ktest_emit_testbegin()
88 EMIT(ktest_output_buf, (int)(msg - ktest_output_buf)); in ktest_emit_testbegin()
94 char * msg = ktest_output_buf; in ktest_emit_testskip() local
100 ret = snprintf(msg, in ktest_emit_testskip()
112 ret = vsnprintf(msg, size, skip_msg, args); in ktest_emit_testskip()
115 ret = snprintf(msg, size, "\n"); in ktest_emit_testskip()
118 EMIT(ktest_output_buf, (int)(msg - ktest_output_buf)); in ktest_emit_testskip()
124 char * msg = ktest_output_buf; in ktest_emit_testend() local
130 ret = snprintf(msg, in ktest_emit_testend()
146 EMIT(ktest_output_buf, (int)(msg - ktest_output_buf)); in ktest_emit_testend()
152 char * msg = ktest_output_buf; in ktest_emit_log() local
158 ret = snprintf(msg, in ktest_emit_log()
170 ret = vsnprintf(msg, size, log_msg, args); in ktest_emit_log()
173 ret = snprintf(msg, size, "\n"); in ktest_emit_log()
176 EMIT(ktest_output_buf, (int)(msg - ktest_output_buf)); in ktest_emit_log()
183 char * msg = ktest_output_buf; in ktest_emit_perfdata() local
190 ret = snprintf(msg, size, in ktest_emit_perfdata()
201 ret = snprintf(msg, size, perfstr, metric, print_value, unit, desc); in ktest_emit_perfdata()
204 ret = snprintf(msg, size, "\n"); in ktest_emit_perfdata()
207 EMIT(ktest_output_buf, (int)(msg - ktest_output_buf)); in ktest_emit_perfdata()
213 char * msg = ktest_output_buf; in ktest_emit_testcase() local
219 ret = snprintf(msg, in ktest_emit_testcase()
240 ret = snprintf(msg, in ktest_emit_testcase()
248 ret = snprintf(msg, size, "\n"); in ktest_emit_testcase()
251 EMIT(ktest_output_buf, (int)(msg - ktest_output_buf)); in ktest_emit_testcase()