| /mirbsd/src/usr.bin/patch/ |
| D | patch.c | 127 static FILE *ofp = NULL; /* output file pointer */ variable 300 fclose(ofp); in main() 301 ofp = NULL; in main() 337 if (ofp) in main() 338 fclose(ofp); in main() 339 ofp = NULL; in main() 826 fputs(not_defined, ofp); in apply_hunk() 829 fputs(else_defined, ofp); in apply_hunk() 832 fputs(pfetch(old), ofp); in apply_hunk() 842 fputs(else_defined, ofp); in apply_hunk() [all …]
|
| /mirbsd/src/usr.bin/uniq/ |
| D | uniq.c | 70 FILE *ifp = NULL, *ofp = NULL; in main() local 122 ofp = stdout; in main() 126 ofp = stdout; in main() 130 ofp = file(argv[1], "w"); in main() 156 show(ofp, prevline); in main() 164 show(ofp, prevline); in main() 174 show(FILE *ofp, char *str) in show() argument 178 (void)fprintf(ofp, "%4d %s", repeats + 1, str); in show() 180 (void)fprintf(ofp, "%s", str); in show()
|
| /mirbsd/src/lib/libncurses/src/ncurses/tinfo/ |
| D | setbuf.c | 101 _nc_set_buffer(FILE *ofp, bool buffered) in NCURSES_EXPORT() 112 fflush(ofp); in NCURSES_EXPORT() 114 setmode(ofp, O_BINARY); in NCURSES_EXPORT() 139 (void) setvbuf(ofp, buf_ptr, buf_len, buf_len ? _IOFBF : _IOLBF); in NCURSES_EXPORT() 141 (void) setvbuf(ofp, buf_ptr, buf_len ? _IOFBF : _IOLBF, buf_len); in NCURSES_EXPORT() 144 (void) setbuffer(ofp, buf_ptr, (int) buf_len); in NCURSES_EXPORT()
|
| D | make_keys.c | 71 make_keys(FILE *ifp, FILE *ofp) in make_keys() argument 87 fprintf(ofp, "\t{ %4d, %-*.*s },\t/* %s */\n", in make_keys() 97 write_list(FILE *ofp, const char **list) in write_list() argument 100 fprintf(ofp, "%s\n", *list++); in write_list()
|
| /mirbsd/src/usr.bin/vi/ex/ |
| D | ex_filter.c | 49 FILE *ifp, *ofp; local 83 ofp = NULL; 133 if ((ofp = fdopen(output[0], "r")) == NULL) { 146 if (ofp != NULL) 147 (void)fclose(ofp); 217 if (ex_readfp(sp, "filter", ofp, fm, &nread, 1)) 277 if (filter_ldisplay(sp, ofp)) 308 if (ex_readfp(sp, "filter", ofp, tm, &nread, 1))
|
| /mirbsd/src/usr.sbin/config/ |
| D | mkmakefile.c | 72 FILE *ifp, *ofp; in mkmakefile() local 87 if ((ofp = fopen("Makefile", "w")) == NULL) { in mkmakefile() 93 if (emitdefs(ofp) != 0) in mkmakefile() 99 if (fputs(line, ofp) < 0) in mkmakefile() 118 if ((*fn)(ofp)) in mkmakefile() 130 if (fclose(ofp)) { in mkmakefile() 131 ofp = NULL; in mkmakefile() 141 if (ofp != NULL) in mkmakefile() 142 (void)fclose(ofp); in mkmakefile()
|
| D | mkioconf.c | 113 emithdr(FILE *ofp) in emithdr() argument 119 if (fprintf(ofp, "\ in emithdr() 129 if (fwrite(buf, 1, n, ofp) != n) in emithdr() 141 #include <sys/device.h>\n", ofp) < 0) in emithdr()
|
| /mirbsd/src/lib/libncurses/src/ncurses/base/ |
| D | lib_newterm.c | 106 newterm(NCURSES_CONST char *name, FILE *ofp, FILE *ifp) in newterm() argument 113 T((T_CALLED("newterm(\"%s\",%p,%p)"), name, ofp, ifp)); in newterm() 116 if (setupterm(name, fileno(ofp), &errret) == ERR) in newterm() 147 if (_nc_setupscreen(LINES, COLS, ofp) == ERR) { in newterm()
|
| /mirbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | objfiles.c | 650 struct objfile *ofp; in have_partial_symbols() local 652 ALL_OBJFILES (ofp) in have_partial_symbols() 654 if (ofp->psymtabs != NULL) in have_partial_symbols() 669 struct objfile *ofp; in have_full_symbols() local 671 ALL_OBJFILES (ofp) in have_full_symbols() 673 if (ofp->symtabs != NULL) in have_full_symbols() 710 struct objfile *ofp; in have_minimal_symbols() local 712 ALL_OBJFILES (ofp) in have_minimal_symbols() 714 if (ofp->minimal_symbol_count > 0) in have_minimal_symbols()
|
| D | source.c | 221 struct objfile *ofp; in select_source_symtab() local 250 for (ofp = object_files; ofp != NULL; ofp = ofp->next) in select_source_symtab() 252 for (s = ofp->symtabs; s; s = s->next) in select_source_symtab() 267 for (ofp = object_files; ofp != NULL; ofp = ofp->next) in select_source_symtab() 269 for (ps = ofp->psymtabs; ps != NULL; ps = ps->next) in select_source_symtab()
|
| /mirbsd/src/usr.sbin/ppp/ppp/ |
| D | filter.c | 245 struct filterent *ofp) in filter_Parse() argument 259 ofp->f_action = A_NONE; in filter_Parse() 260 ofp++; in filter_Parse() 265 ofp += ruleno; in filter_Parse() 288 ofp->f_action = A_NONE; in filter_Parse() 405 *ofp = fe; in filter_Parse()
|
| /mirbsd/src/gnu/usr.bin/lynx/src/ |
| D | LYMail.c | 1113 FILE *ofp; in mailmsg() local 1115 if ((ofp = LYAppendToTxtFile(TRAVERSE_ERRORS)) == NULL) { in mailmsg() 1116 if ((ofp = LYNewTxtFile(TRAVERSE_ERRORS)) == NULL) { in mailmsg() 1122 fprintf(ofp, "%s\t%s \tin %s\n", in mailmsg() 1124 LYCloseOutput(ofp); in mailmsg()
|
| D | LYMainLoop.c | 5911 FILE *ofp; in mainloop() local 5913 if ((ofp = LYAppendToTxtFile(TRAVERSE_ERRORS)) == NULL) { in mainloop() 5914 if ((ofp = LYNewTxtFile(TRAVERSE_ERRORS)) == NULL) { in mainloop() 5920 fprintf(ofp, in mainloop() 5927 fprintf(ofp, in mainloop() 5933 LYCloseOutput(ofp); in mainloop()
|
| /mirbsd/src/gnu/usr.bin/cvs/src/ |
| D | rcs.c | 4192 *ofp = NULL; /* Initialize since -Wall doesn't understand that in RCS_checkout() local 4589 ofp = stdout; in RCS_checkout() 4597 ofp = CVS_FOPEN (sout, expand == KFLAG_B ? "wb" : "w"); in RCS_checkout() 4598 if (ofp == NULL) in RCS_checkout() 4610 ofp = CVS_FOPEN (workfile, expand == KFLAG_B ? "wb" : "w"); in RCS_checkout() 4614 if (ofp == NULL && errno == EACCES in RCS_checkout() 4618 ofp = CVS_FOPEN (workfile, expand == KFLAG_B ? "wb" : "w"); in RCS_checkout() 4621 if (ofp == NULL) in RCS_checkout() 4658 if (fwrite (p, 1, nstep, ofp) != nstep) in RCS_checkout() 4684 if (!special_file && fclose (ofp) < 0) in RCS_checkout() [all …]
|
| /mirbsd/src/gnu/usr.bin/perl/ |
| D | mg.c | 2272 PerlIO *ofp = IoOFP(io); in Perl_magic_set() local 2273 if (ofp) in Perl_magic_set() 2274 (void)PerlIO_flush(ofp); in Perl_magic_set()
|
| D | perlio.c | 794 PerlIO *ofp = IoOFP(io); local 795 Perl_warn(aTHX_ "set %" SVf " %p %p %p", sv, io, ifp, ofp); 806 PerlIO *ofp = IoOFP(io); local 807 Perl_warn(aTHX_ "get %" SVf " %p %p %p", sv, io, ifp, ofp);
|
| D | pp_sys.c | 1334 PerlIO * const ofp = IoOFP(io); in PP() local 1342 if (!io || !ofp) in PP() 1385 do_print(PL_formtarget, ofp); in PP() 1392 do_print(PL_formfeed, ofp); in PP()
|
| /mirbsd/src/lib/libncurses/src/doc/ |
| D | ncurses-intro.doc | 622 newterm(type, ofp, ifp)
|