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()
913 fputs(not_defined, ofp); in apply_hunk()
916 fputs(else_defined, ofp); in apply_hunk()
919 fputs(pfetch(old), ofp); in apply_hunk()
929 fputs(else_defined, ofp); in apply_hunk()
932 fputs(if_defined, ofp); in apply_hunk()
936 fputs(pfetch(new), ofp); in apply_hunk()
950 fputs(not_defined, ofp); in apply_hunk()
955 fputs(pfetch(old), ofp); in apply_hunk()
961 fputs(else_defined, ofp); in apply_hunk()
965 fputs(pfetch(new), ofp); in apply_hunk()
974 fputs(end_defined, ofp); in apply_hunk()
983 fputs(if_defined, ofp); in apply_hunk()
986 fputs(else_defined, ofp); in apply_hunk()
991 fputs(pfetch(new), ofp); in apply_hunk()
996 fputs(end_defined, ofp); in apply_hunk()
1006 ofp = fopen(name, "w"); in init_output()
1007 if (ofp == NULL) in init_output()
1054 rv = ferror(ofp) == 0 && fclose(ofp) == 0; in spew_output()
1055 ofp = NULL; in spew_output()
1072 putc(*s, ofp); in dump_line()
1074 putc('\n', ofp); in dump_line()