Home
last modified time | relevance | path

Searched refs:fopen (Results 1 – 25 of 871) sorted by relevance

12345678910>>...35

/freebsd-14.2/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fopen.c163 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 Dt_fflush.c55 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 Dt_fputc.c49 f = fopen(path, "w+"); in puterr()
67 f = fopen(path, "w+"); in putstr()
77 f = fopen(path, "r"); in putstr()
/freebsd-14.2/contrib/ntp/sntp/tests/
H A DkodFile.c94 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-14.2/crypto/openssl/crypto/
H A Do_fopen.c77 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-14.2/share/examples/bootforth/
H A Dboot.4th9 s" /boot/screen.4th" O_RDONLY fopen dup fload fclose
13 s" /boot/frames.4th" O_RDONLY fopen dup fload fclose
17 s" /boot/menu.4th" O_RDONLY fopen dup fload fclose
H A Dloader.rc15 s" /boot/screen.4th" O_RDONLY fopen dup fload fclose
19 s" /boot/frames.4th" O_RDONLY fopen dup fload fclose
23 s" /boot/menuconf.4th" O_RDONLY fopen dup fload fclose
/freebsd-14.2/contrib/openbsm/bin/auditfilterd/
H A Dauditfilterd.c179 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-14.2/contrib/libpcap/testprogs/fuzz/
H A Dfuzz_pcap.c18 fd = fopen(name, "wb"); in bufferToFile()
35 outfile = fopen(name, "w"); in fuzz_openFile()
48 outfile = fopen("/dev/null", "w"); in LLVMFuzzerTestOneInput()
H A Dfuzz_both.c19 fd = fopen(name, "wb"); in bufferToFile()
36 outfile = fopen(name, "w"); in fuzz_openFile()
52 outfile = fopen("/dev/null", "w"); in LLVMFuzzerTestOneInput()
/freebsd-14.2/contrib/libarchive/tar/test/
H A Dtest_option_T_upper.c12 FILE *f = fopen(fn, "w"); in tryMakeFile()
39 f = fopen("filelist", "w+"); in DEFINE_TEST()
50 f = fopen("filelist2", "w+"); in DEFINE_TEST()
/freebsd-14.2/contrib/tcpdump/missing/
H A Dgetservent.c62 if (fopen(file, "r") || !env) in etc_path()
77 servf = fopen(etc_path(__PATH_SERVICES), "r"); in setservent()
99 if (servf == NULL && (servf = fopen(etc_path(__PATH_SERVICES), "r")) == NULL) in getservent()
/freebsd-14.2/libexec/mknetid/
H A Dmknetid.c144 if ((gfp = fopen(groupfile, "r")) == NULL) { in main()
148 if ((pfp = fopen(passfile, "r")) == NULL) { in main()
152 if ((hfp = fopen(hostsfile, "r")) == NULL) { in main()
156 if ((nfp = fopen(netidfile, "r")) == NULL) { in main()
/freebsd-14.2/lib/libc/tests/stdlib/
H A Dcxa_thread_atexit_test.cc100 ATF_REQUIRE((output = fopen("test_before.txt", "w")) != NULL); in ATF_TEST_CASE_BODY()
121 ATF_REQUIRE((output = fopen("test_after.txt", "w")) != NULL); in ATF_TEST_CASE_BODY()
143 ATF_REQUIRE((output = fopen("test_add_meanwhile.txt", "w")) != NULL); in ATF_TEST_CASE_BODY()
/freebsd-14.2/usr.bin/msgs/
H A Dmsgs.c259 bounds = fopen(fname, "r"); in main()
327 bounds = fopen(fname, "w"); in main()
340 bounds = fopen(fname, "w"); in main()
346 newmsg = fopen(fname, "w"); in main()
405 msgsrc = fopen(fname, "r"); in main()
421 msgsrc = fopen(fname, "r+"); in main()
423 msgsrc = fopen(fname, "w"); in main()
469 newmsg = fopen(fname, "r"); in main()
767 cpfrom = fopen(fname, "r"); in ask()
/freebsd-14.2/usr.bin/ctags/
H A Dctags.c156 if (!(inf = fopen(argv[step], "r"))) { in main()
175 if ((oldf = fopen(outfile, "r")) == NULL) { in main()
190 if ((outf = fopen(outfile, "w")) == NULL) in main()
218 if (!(outf = fopen(outfile, aflag ? "a" : "w"))) in main()
/freebsd-14.2/sbin/dump/
H A Ditime.c76 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-14.2/crypto/heimdal/lib/kafs/
H A Dcommon.c179 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-14.2/usr.sbin/rpcbind/
H A Dwarmstart.c77 fp = fopen(filename, "w"); in write_struct()
83 fp = fopen(filename, "w"); in write_struct()
123 fp = fopen(filename, "r"); in read_struct()
/freebsd-14.2/lib/libfetch/
H A Dfile.c51 f = fopen(u->doc, "re"); in fetchXGetFile()
79 f = fopen(u->doc, "ae"); in fetchPutFile()
81 f = fopen(u->doc, "w+e"); in fetchPutFile()
/freebsd-14.2/lib/libc/stdio/
H A DMakefile.inc10 fileno.c findfp.c flags.c fmemopen.c fopen.c \
38 fopen.3 fopencookie.3 fputs.3 \
55 MLINKS+=fopen.3 fdopen.3 fopen.3 freopen.3 fopen.3 fmemopen.3
/freebsd-14.2/usr.sbin/config/
H A Dlang.l274 fp = fopen(fname, "r");
278 fp = fopen(fnamebuf, "r");
287 fp = fopen(fnamebuf, "r");
/freebsd-14.2/crypto/openssl/demos/pkcs12/
H A Dpkwrite.c30 if ((fp = fopen(argv[1], "r")) == NULL) { in main()
44 if ((fp = fopen(argv[4], "wb")) == NULL) { in main()
/freebsd-14.2/contrib/sendmail/libsm/
H A Dt-smstdio.c31 stream = fopen("t-smstdio.1", "w");
50 stream = fopen("t-smstdio.1", "r");
/freebsd-14.2/contrib/byacc/
H A Dmain.c807 input_file = fopen(input_file_name, "r"); in open_files()
817 verbose_file = fopen(verbose_file_name, "w"); in open_files()
824 graph_file = fopen(graph_file_name, "w"); in open_files()
841 defines_file = fopen(defines_file_name, "w"); in open_files()
849 externs_file = fopen(externs_file_name, "w"); in open_files()
854 output_file = fopen(output_file_name, "w"); in open_files()
860 code_file = fopen(code_file_name, "w"); in open_files()

12345678910>>...35