Lines Matching refs:ofp
128 static FILE *ofp = NULL; /* output file pointer */ variable
356 if (ferror(ofp) || fclose(ofp)) { in main()
361 ofp = NULL; in main()
397 if (ofp) in main()
398 fclose(ofp); in main()
399 ofp = NULL; in main()
908 fputs(not_defined, ofp); in apply_hunk()
911 fputs(else_defined, ofp); in apply_hunk()
914 fputs(pfetch(old), ofp); in apply_hunk()
924 fputs(else_defined, ofp); in apply_hunk()
927 fputs(if_defined, ofp); in apply_hunk()
931 fputs(pfetch(new), ofp); in apply_hunk()
945 fputs(not_defined, ofp); in apply_hunk()
950 fputs(pfetch(old), ofp); in apply_hunk()
956 fputs(else_defined, ofp); in apply_hunk()
960 fputs(pfetch(new), ofp); in apply_hunk()
969 fputs(end_defined, ofp); in apply_hunk()
978 fputs(if_defined, ofp); in apply_hunk()
981 fputs(else_defined, ofp); in apply_hunk()
986 fputs(pfetch(new), ofp); in apply_hunk()
991 fputs(end_defined, ofp); in apply_hunk()
1001 ofp = fopen(name, "w"); in init_output()
1002 if (ofp == NULL) in init_output()
1049 rv = ferror(ofp) == 0 && fclose(ofp) == 0; in spew_output()
1050 ofp = NULL; in spew_output()
1067 putc(*s, ofp); in dump_line()
1069 putc('\n', ofp); in dump_line()