Lines Matching refs:ofp
132 static FILE *ofp = NULL; /* output file pointer */ variable
313 if (ferror(ofp) || fclose(ofp)) { in main()
318 ofp = NULL; in main()
354 if (ofp) in main()
355 fclose(ofp); in main()
356 ofp = NULL; in main()
855 fputs(not_defined, ofp); in apply_hunk()
858 fputs(else_defined, ofp); in apply_hunk()
861 fputs(pfetch(old), ofp); in apply_hunk()
871 fputs(else_defined, ofp); in apply_hunk()
874 fputs(if_defined, ofp); in apply_hunk()
878 fputs(pfetch(new), ofp); in apply_hunk()
892 fputs(not_defined, ofp); in apply_hunk()
897 fputs(pfetch(old), ofp); in apply_hunk()
903 fputs(else_defined, ofp); in apply_hunk()
907 fputs(pfetch(new), ofp); in apply_hunk()
916 fputs(end_defined, ofp); in apply_hunk()
925 fputs(if_defined, ofp); in apply_hunk()
928 fputs(else_defined, ofp); in apply_hunk()
933 fputs(pfetch(new), ofp); in apply_hunk()
938 fputs(end_defined, ofp); in apply_hunk()
948 ofp = fopen(name, "w"); in init_output()
949 if (ofp == NULL) in init_output()
996 rv = ferror(ofp) == 0 && fclose(ofp) == 0; in spew_output()
997 ofp = NULL; in spew_output()
1014 putc(*s, ofp); in dump_line()
1016 putc('\n', ofp); in dump_line()