Lines Matching refs:sfile
570 FILE *sfile; in dumpsum_ostyle() local
572 if ((sfile = fopen(sumfile, "w")) == NULL) { in dumpsum_ostyle()
580 if (fwrite(&h, sizeof (h), 1, sfile) != 1) { in dumpsum_ostyle()
589 if (fwrite(&hdr, sizeof (hdr), 1, sfile) != 1) { in dumpsum_ostyle()
597 if (fwrite(samples, sizeof (unsigned_UNIT), nsamples, sfile) != in dumpsum_ostyle()
613 if (fwrite(&arc, sizeof (arc), 1, sfile) != 1) { in dumpsum_ostyle()
623 if (fwrite(&arc32, sizeof (arc32), 1, sfile) != in dumpsum_ostyle()
639 (void) fclose(sfile); in dumpsum_ostyle()
648 FILE *sfile; in dumpsum() local
658 if ((sfile = fopen(sumfile, "w")) == NULL) { in dumpsum()
668 dump_gprofhdr(sfile, sumfile); in dumpsum()
678 dump_modules(sfile, sumfile, pathbuf_sz); in dumpsum()
688 dump_pcsamples(sfile, sumfile, &total_arcs, &ncallees); in dumpsum()
693 dump_callgraph(sfile, sumfile, total_arcs, ncallees); in dumpsum()
696 (void) fclose(sfile); in dumpsum()