Lines Matching refs:ofp
126 static FILE *ofp = NULL; /* output file pointer */ variable
314 if (ferror(ofp) || fclose(ofp)) { in main()
319 ofp = NULL; in main()
355 if (ofp) in main()
356 fclose(ofp); in main()
357 ofp = NULL; in main()
853 fputs(not_defined, ofp); in apply_hunk()
856 fputs(else_defined, ofp); in apply_hunk()
859 fputs(pfetch(old), ofp); in apply_hunk()
869 fputs(else_defined, ofp); in apply_hunk()
872 fputs(if_defined, ofp); in apply_hunk()
876 fputs(pfetch(new), ofp); in apply_hunk()
890 fputs(not_defined, ofp); in apply_hunk()
895 fputs(pfetch(old), ofp); in apply_hunk()
901 fputs(else_defined, ofp); in apply_hunk()
905 fputs(pfetch(new), ofp); in apply_hunk()
914 fputs(end_defined, ofp); in apply_hunk()
923 fputs(if_defined, ofp); in apply_hunk()
926 fputs(else_defined, ofp); in apply_hunk()
931 fputs(pfetch(new), ofp); in apply_hunk()
936 fputs(end_defined, ofp); in apply_hunk()
946 ofp = fopen(name, "w"); in init_output()
947 if (ofp == NULL) in init_output()
994 rv = ferror(ofp) == 0 && fclose(ofp) == 0; in spew_output()
995 ofp = NULL; in spew_output()
1012 putc(*s, ofp); in dump_line()
1014 putc('\n', ofp); in dump_line()