| /freebsd-12.1/contrib/netbsd-tests/lib/libc/stdio/ |
| H A D | t_fopen.c | 163 f = fopen(path, "w+"); in ATF_TC_BODY() 176 f = fopen(path, mode[i]); in ATF_TC_BODY() 218 f = fopen(path, "w+"); in ATF_TC_BODY() 224 f = fopen(path, "a"); in ATF_TC_BODY() 229 f = fopen(path, "r"); in ATF_TC_BODY() 261 f = fopen(path, "w+"); in ATF_TC_BODY() 351 f = fopen(path, "w+"); in ATF_TC_BODY() 361 f = fopen(path, "r"); in ATF_TC_BODY() 367 f = fopen(path, "a"); in ATF_TC_BODY() 402 f = fopen(path, "w+"); in ATF_TC_BODY() [all …]
|
| H A D | t_fflush.c | 55 f = fopen(path, "w"); in ATF_TC_BODY() 61 f = fopen(path, "r"); in ATF_TC_BODY() 109 f = fopen(path, "w"); in ATF_TC_BODY() 115 f = fopen(path, "r+"); in ATF_TC_BODY() 152 f = fopen(path, "w"); in ATF_TC_BODY()
|
| H A D | t_fputc.c | 49 f = fopen(path, "w+"); in puterr() 67 f = fopen(path, "w+"); in putstr() 77 f = fopen(path, "r"); in putstr()
|
| /freebsd-12.1/contrib/binutils/binutils/ |
| H A D | Makefile.am | 449 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 467 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 475 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 479 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 484 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 489 config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ 498 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 503 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 507 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 512 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ [all …]
|
| H A D | Makefile.in | 1199 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 1217 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 1225 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 1229 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 1234 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 1239 config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ 1248 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 1253 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 1257 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ 1262 ../bfd/bfdver.h config.h $(INCDIR)/fopen-same.h ../bfd/bfd.h \ [all …]
|
| /freebsd-12.1/contrib/gcclibs/libiberty/testsuite/ |
| H A D | test-pexecute.c | 303 if (fopen ("temp.x", "r") != NULL || fopen ("temp.y", "r") != NULL) in main() 321 if (fopen ("temp.x", "r") != NULL || fopen ("temp.y", "r") != NULL) in main() 338 e = fopen ("temp.x", "r"); in main() 343 e = fopen ("temp.y", "r"); in main() 367 if (fopen ("temp.x", "r") != NULL || fopen ("temp.y", "r") != NULL) in main() 369 e = fopen ("temp2.x", "r"); in main() 374 e = fopen ("temp2.y", "r"); in main() 424 e = fopen ("temp.y", "r"); in main() 504 e = fopen (argv[2], "w"); in do_cmd()
|
| /freebsd-12.1/contrib/ntp/sntp/tests/ |
| H A D | kodFile.c | 94 FILE * is = fopen(kod_db_file, "rb"); in test_WriteEmptyFile() 116 FILE * actual = fopen(kod_db_file, "rb"); in test_WriteFileWithSingleEntry() 117 FILE * expected = fopen(CreatePath("kod-expected-single", INPUT_DIR),"rb"); in test_WriteFileWithSingleEntry() 146 FILE * actual = fopen(kod_db_file, "rb"); in test_WriteFileWithMultipleEntries() 147 FILE * expected = fopen(CreatePath("kod-expected-multiple", INPUT_DIR),"rb"); in test_WriteFileWithMultipleEntries()
|
| /freebsd-12.1/crypto/openssl/crypto/ |
| H A D | o_fopen.c | 77 file = fopen(filename, mode); in openssl_fopen() 80 file = fopen(filename, mode); in openssl_fopen() 109 file = fopen(filename, mode); in openssl_fopen() 114 file = fopen(filename, mode); in openssl_fopen()
|
| /freebsd-12.1/share/examples/bootforth/ |
| H A D | boot.4th | 10 s" /boot/screen.4th" O_RDONLY fopen dup fload fclose 14 s" /boot/frames.4th" O_RDONLY fopen dup fload fclose 18 s" /boot/menu.4th" O_RDONLY fopen dup fload fclose
|
| H A D | loader.rc | 16 s" /boot/screen.4th" O_RDONLY fopen dup fload fclose 20 s" /boot/frames.4th" O_RDONLY fopen dup fload fclose 24 s" /boot/menuconf.4th" O_RDONLY fopen dup fload fclose
|
| /freebsd-12.1/contrib/openbsm/bin/auditfilterd/ |
| H A D | auditfilterd.c | 179 conf_fp = fopen(conffile, "r"); in mainloop_file() 186 trail_fp = fopen(trailfile, "r"); in mainloop_file() 234 conf_fp = fopen(conffile, "r"); in mainloop_pipe() 321 trail_fp = fopen(trailfile, "r"); in main() 326 conf_fp = fopen(conffile, "r"); in main()
|
| /freebsd-12.1/contrib/libarchive/tar/test/ |
| H A D | test_option_T_upper.c | 31 FILE *f = fopen(fn, "w"); in tryMakeFile() 58 f = fopen("filelist", "w+"); in DEFINE_TEST() 69 f = fopen("filelist2", "w+"); in DEFINE_TEST()
|
| /freebsd-12.1/contrib/byacc/ |
| H A D | main.c | 649 input_file = fopen(input_file_name, "r"); in open_files() 659 verbose_file = fopen(verbose_file_name, "w"); in open_files() 666 graph_file = fopen(graph_file_name, "w"); in open_files() 683 defines_file = fopen(defines_file_name, "w"); in open_files() 691 externs_file = fopen(externs_file_name, "w"); in open_files() 696 output_file = fopen(output_file_name, "w"); in open_files() 702 code_file = fopen(code_file_name, "w"); in open_files()
|
| /freebsd-12.1/usr.bin/ctags/ |
| H A D | ctags.c | 152 if (!(inf = fopen(argv[step], "r"))) { in main() 170 if ((oldf = fopen(outfile, "r")) == NULL) in main() 174 if ((outf = fopen(outfile, "w")) == NULL) in main() 201 if (!(outf = fopen(outfile, aflag ? "a" : "w"))) in main()
|
| /freebsd-12.1/libexec/mknetid/ |
| H A D | mknetid.c | 149 if ((gfp = fopen(groupfile, "r")) == NULL) { in main() 153 if ((pfp = fopen(passfile, "r")) == NULL) { in main() 157 if ((hfp = fopen(hostsfile, "r")) == NULL) { in main() 161 if ((nfp = fopen(netidfile, "r")) == NULL) { in main()
|
| /freebsd-12.1/crypto/heimdal/lib/kafs/ |
| H A D | common.c | 179 f = fopen(file, "r"); in find_cells() 272 if ((F = fopen(_PATH_CELLSERVDB, "r")) in file_find_cell() 273 || (F = fopen(_PATH_ARLA_CELLSERVDB, "r")) in file_find_cell() 274 || (F = fopen(_PATH_OPENAFS_DEBIAN_CELLSERVDB, "r")) in file_find_cell() 275 || (F = fopen(_PATH_OPENAFS_MACOSX_CELLSERVDB, "r")) in file_find_cell() 276 || (F = fopen(_PATH_ARLA_DEBIAN_CELLSERVDB, "r"))) { in file_find_cell()
|
| /freebsd-12.1/usr.bin/msgs/ |
| H A D | msgs.c | 264 bounds = fopen(fname, "r"); in main() 332 bounds = fopen(fname, "w"); in main() 345 bounds = fopen(fname, "w"); in main() 351 newmsg = fopen(fname, "w"); in main() 410 msgsrc = fopen(fname, "r"); in main() 426 msgsrc = fopen(fname, "r+"); in main() 428 msgsrc = fopen(fname, "w"); in main() 474 newmsg = fopen(fname, "r"); in main() 772 cpfrom = fopen(fname, "r"); in ask()
|
| /freebsd-12.1/sys/contrib/zstd/contrib/pzstd/test/ |
| H A D | PzstdTest.cpp | 39 auto fd = std::fopen(inputFile.c_str(), "wb"); in TEST() 74 auto fd = std::fopen(inputFile.c_str(), "wb"); in TEST() 110 auto fd = std::fopen(inputFile.c_str(), "wb"); in TEST() 138 auto fd = std::fopen(inputFile.c_str(), "wb"); in TEST()
|
| /freebsd-12.1/sbin/dump/ |
| H A D | itime.c | 76 if ((df = fopen(dumpdates, "r")) == NULL) { in initdumptimes() 86 if ((df = fopen(dumpdates, "w")) == NULL) { in initdumptimes() 92 if ((df = fopen(dumpdates, "r")) == NULL) { in initdumptimes() 173 if ((df = fopen(dumpdates, "r+")) == NULL) in putdumptime()
|
| /freebsd-12.1/lib/libc/tests/stdlib/ |
| H A D | cxa_thread_atexit_test.cc | 103 ATF_REQUIRE((output = fopen("test_before.txt", "w")) != NULL); in ATF_TEST_CASE_BODY() 124 ATF_REQUIRE((output = fopen("test_after.txt", "w")) != NULL); in ATF_TEST_CASE_BODY() 146 ATF_REQUIRE((output = fopen("test_add_meanwhile.txt", "w")) != NULL); in ATF_TEST_CASE_BODY()
|
| /freebsd-12.1/lib/libc/stdio/ |
| H A D | Makefile.inc | 11 fileno.c findfp.c flags.c fmemopen.c fopen.c \ 39 fopen.3 fopencookie.3 fputs.3 \ 55 MLINKS+=fopen.3 fdopen.3 fopen.3 freopen.3 fopen.3 fmemopen.3
|
| /freebsd-12.1/usr.sbin/rpcbind/ |
| H A D | warmstart.c | 78 fp = fopen(filename, "w"); in write_struct() 84 fp = fopen(filename, "w"); in write_struct() 124 fp = fopen(filename, "r"); in read_struct()
|
| /freebsd-12.1/lib/libfetch/ |
| H A D | file.c | 53 f = fopen(u->doc, "re"); in fetchXGetFile() 81 f = fopen(u->doc, "ae"); in fetchPutFile() 83 f = fopen(u->doc, "w+e"); in fetchPutFile()
|
| /freebsd-12.1/usr.sbin/config/ |
| H A D | lang.l | 277 fp = fopen(fname, "r"); 281 fp = fopen(fnamebuf, "r"); 290 fp = fopen(fnamebuf, "r");
|
| /freebsd-12.1/contrib/opie/libopie/ |
| H A D | open.c | 40 if (!(f = fopen(file, "w"))) 72 if (!(f = fopen(file, fmode)))
|