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