Lines Matching refs:qtest_log_fp
53 static FILE *qtest_log_fp; variable
270 if (!qtest_log_fp || !qtest_opened) { in qtest_log_timestamp()
274 fprintf(qtest_log_fp, "[S +" FMT_timeval "] ", g_timer_elapsed(timer, NULL)); in qtest_log_timestamp()
281 if (!qtest_log_fp || !qtest_opened) { in qtest_log_send()
288 vfprintf(qtest_log_fp, fmt, ap); in qtest_log_send()
297 if (qtest_log_fp && qtest_opened) { in qtest_server_char_be_send()
298 fprintf(qtest_log_fp, "%s", str); in qtest_server_char_be_send()
359 if (qtest_log_fp) { in qtest_process_command()
362 fprintf(qtest_log_fp, "[R +" FMT_timeval "]", g_timer_elapsed(timer, NULL)); in qtest_process_command()
364 fprintf(qtest_log_fp, " %s", words[i]); in qtest_process_command()
366 fprintf(qtest_log_fp, "\n"); in qtest_process_command()
805 if (qtest_log_fp) { in qtest_event()
806 fprintf(qtest_log_fp, "[I " FMT_timeval "] OPENED\n", g_timer_elapsed(timer, NULL)); in qtest_event()
811 if (qtest_log_fp) { in qtest_event()
812 fprintf(qtest_log_fp, "[I +" FMT_timeval "] CLOSED\n", g_timer_elapsed(timer, NULL)); in qtest_event()
855 qtest_log_fp = fopen(qtest_log, "w+"); in qtest_server_start()
858 qtest_log_fp = stderr; in qtest_server_start()
932 if (qtest_log_fp) { in qtest_unparent()
933 fclose(qtest_log_fp); in qtest_unparent()
934 qtest_log_fp = NULL; in qtest_unparent()