Lines Matching refs:ofp
127 static FILE *ofp = NULL; /* output file pointer */ variable
355 if (ferror(ofp) || fclose(ofp)) { in main()
360 ofp = NULL; in main()
396 if (ofp) in main()
397 fclose(ofp); in main()
398 ofp = NULL; in main()
911 fputs(not_defined, ofp); in apply_hunk()
914 fputs(else_defined, ofp); in apply_hunk()
917 fputs(pfetch(old), ofp); in apply_hunk()
927 fputs(else_defined, ofp); in apply_hunk()
930 fputs(if_defined, ofp); in apply_hunk()
934 fputs(pfetch(new), ofp); in apply_hunk()
948 fputs(not_defined, ofp); in apply_hunk()
953 fputs(pfetch(old), ofp); in apply_hunk()
959 fputs(else_defined, ofp); in apply_hunk()
963 fputs(pfetch(new), ofp); in apply_hunk()
972 fputs(end_defined, ofp); in apply_hunk()
981 fputs(if_defined, ofp); in apply_hunk()
984 fputs(else_defined, ofp); in apply_hunk()
989 fputs(pfetch(new), ofp); in apply_hunk()
994 fputs(end_defined, ofp); in apply_hunk()
1004 ofp = fopen(name, "w"); in init_output()
1005 if (ofp == NULL) in init_output()
1052 rv = ferror(ofp) == 0 && fclose(ofp) == 0; in spew_output()
1053 ofp = NULL; in spew_output()
1070 putc(*s, ofp); in dump_line()
1072 putc('\n', ofp); in dump_line()