Lines Matching refs:g_ofp
97 static FILE *g_ofp = stdout; variable
259 if (g_ofp == NULL) in oprintf()
263 n = vfprintf(g_ofp, fmt, ap); in oprintf()
271 clearerr(g_ofp); in oprintf()
461 if ((g_ofp = fopen(g_ofile = g_etcfile, "a")) == NULL) in etcsystem_add()
482 if (fclose(g_ofp) == EOF) in etcsystem_add()
1396 g_ofp = NULL; in main()
1521 if (g_ofp == NULL && g_mode != DMODE_EXEC) { in main()
1527 if (g_ofp == NULL && g_ofile != NULL) { in main()
1590 if (g_ofp == NULL && in main()
1613 if (g_ofile != NULL && (g_ofp = fopen(g_ofile, "a")) == NULL) in main()
1637 if ((g_ofp = fopen(g_ofile, "a")) == NULL) in main()
1652 if (fclose(g_ofp) == EOF) in main()
1693 if (g_ofile != NULL && (g_ofp = fopen(g_ofile, "a")) == NULL) in main()
1742 if ((g_ofp = fopen(g_ofile, "w")) == NULL) in main()
1747 if (dtrace_program_header(g_dtp, g_ofp, g_ofile) != 0 || in main()
1748 fclose(g_ofp) == EOF) in main()
1821 switch (dtrace_work(g_dtp, g_ofp, chew, chewrec, NULL)) { in main()
1832 if (g_ofp != NULL && fflush(g_ofp) == EOF) in main()
1833 clearerr(g_ofp); in main()
1839 if (dtrace_aggregate_print(g_dtp, g_ofp, NULL) == -1 && in main()