| /netbsd-src/tests/lib/libc/stdio/ |
| H A D | t_fopen.c | 167 f = fopen(path, "w+"); in ATF_TC_BODY() 180 f = fopen(path, mode[i]); in ATF_TC_BODY() 195 ATF_REQUIRE_ERRNO(EISDIR, fopen("/usr/bin", "w") == NULL); in ATF_TC_BODY() 198 ATF_REQUIRE_ERRNO(ENOENT, fopen("/a/b/c/d/e/f", "r") == NULL); in ATF_TC_BODY() 201 ATF_REQUIRE_ERRNO(ENAMETOOLONG, fopen(buf, "r+") == NULL); in ATF_TC_BODY() 222 f = fopen(path, "w+"); in ATF_TC_BODY() 228 f = fopen(path, "a"); in ATF_TC_BODY() 233 f = fopen(path, "r"); in ATF_TC_BODY() 266 f = fopen(path, "w+"); in ATF_TC_BODY() 276 f = fopen(path, mode[i]); in ATF_TC_BODY() [all …]
|
| H A D | t_fflush.c | 51 f = fopen(path, "w"); in ATF_TC_BODY() 57 f = fopen(path, "r"); in ATF_TC_BODY() 105 f = fopen(path, "w"); in ATF_TC_BODY() 111 f = fopen(path, "r+"); in ATF_TC_BODY() 148 f = fopen(path, "w"); in ATF_TC_BODY()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/common/ |
| H A D | cpu_frequency.h | 127 FILE *procf = fopen ("/proc/cpuinfo", "r"); in get_cpu_frequency() 167 FILE *cpufreqd = fopen (scaling_freq_file, "r"); in get_cpu_frequency() 180 FILE *pstatent = fopen (scaling_freq_file, "r"); in get_cpu_frequency() 196 FILE *cpufreqf = fopen (scaling_freq_file, "r"); in get_cpu_frequency() 217 if ((cpufreqf_max = fopen (scaling_freq_file, "r")) != NULL) in get_cpu_frequency() 236 if ((cpufreqf_ava = fopen (scaling_freq_file, "r")) != NULL) in get_cpu_frequency()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/common/ |
| H A D | cpu_frequency.h | 127 FILE *procf = fopen ("/proc/cpuinfo", "r"); in get_cpu_frequency() 167 FILE *cpufreqd = fopen (scaling_freq_file, "r"); in get_cpu_frequency() 180 FILE *pstatent = fopen (scaling_freq_file, "r"); in get_cpu_frequency() 196 FILE *cpufreqf = fopen (scaling_freq_file, "r"); in get_cpu_frequency() 217 if ((cpufreqf_max = fopen (scaling_freq_file, "r")) != NULL) in get_cpu_frequency() 236 if ((cpufreqf_ava = fopen (scaling_freq_file, "r")) != NULL) in get_cpu_frequency()
|
| /netbsd-src/external/bsd/ntp/dist/sntp/tests/ |
| H A D | kodFile.c | 96 FILE * is = fopen(kod_db_file, "rb"); in test_WriteEmptyFile() 118 FILE * actual = fopen(kod_db_file, "rb"); in test_WriteFileWithSingleEntry() 119 FILE * expected = fopen(CreatePath("kod-expected-single", INPUT_DIR),"rb"); in test_WriteFileWithSingleEntry() 148 FILE * actual = fopen(kod_db_file, "rb"); in test_WriteFileWithMultipleEntries() 149 FILE * expected = fopen(CreatePath("kod-expected-multiple", INPUT_DIR),"rb"); in test_WriteFileWithMultipleEntries()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/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()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/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()
|
| /netbsd-src/sys/external/bsd/acpica/dist/tools/acpibin/ |
| H A D | abcompare.c | 210 File = fopen (FilePath, "rb"); in AbDisplayHeader() 253 File = fopen (FilePath, "rb"); in AbComputeChecksum() 312 File = fopen (FilePath, "r+b"); in AbComputeChecksum() 369 File1 = fopen (File1Path, "rb"); in AbCompareAmlFiles() 376 File2 = fopen (File2Path, "rb"); in AbCompareAmlFiles() 520 File = fopen (Filename, "rb"); in AbGetFile() 594 FileOutHandle = fopen (File2Path, "wb"); in AbDumpAmlFile()
|
| /netbsd-src/sys/external/bsd/acpica/dist/tools/acpixtract/ |
| H A D | acpixtract.c | 85 InputFile = fopen (InputPathname, "r"); in AxExtractTables() 191 OutputFile = fopen (Gbl_OutputFilename, "w+b"); in AxExtractTables() 304 InputFile = fopen (InputPathname, "r"); in AxExtractToMultiAmlFile() 319 OutputFile = fopen (Gbl_OutputFilename, "w+b"); in AxExtractToMultiAmlFile() 463 InputFile = fopen (InputPathname, "r"); in AxListAllTables()
|
| /netbsd-src/games/phantasia/ |
| H A D | setup.c | 129 if ((fp = fopen(path, "w")) == NULL) in main() 135 if ((Monstfp = fopen(path, "w")) == NULL) in main() 139 if ((fp = fopen(monsterfile, "r")) == NULL) in main() 179 if ((fp = fopen(path, "w")) == NULL) in main()
|
| /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/c/ |
| H A D | append1.c | 20 f = fopen (fname, "w+"); in main() 29 f = fopen (fname, "a+"); in main() 38 f = fopen (fname, "r"); in main()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
| H A D | stdio.d | 122 alias fopen64 fopen; in version() local 138 FILE* fopen(const scope char*, const scope char*); in version() 148 FILE* fopen(const scope char*, const scope char*); in version() 161 alias fopen64 fopen; in version() local 177 FILE* fopen(const scope char*, const scope char*); in version() 192 alias fopen64 fopen; in version() local 208 FILE* fopen(const scope char*, const scope char*); in version() 223 alias fopen = fopen64; in version() local 239 FILE* fopen(const scope char*, const scope char*); in version()
|
| /netbsd-src/usr.bin/config/ |
| H A D | mkheaders.c | 180 if ((fp = fopen(tfname, "w")) == NULL) in emitcnt() 241 if ((fp = fopen(tfname, "w")) == NULL) in defopts_print() 367 if ((tfp = fopen(tfname, "w")) == NULL) in emitlocs() 395 if ((tfp = fopen(tfname, "w")) == NULL) in emitioconfh() 435 if ((fp = fopen("config_time.src", "w")) == NULL) in emittime() 477 if ((tfp = fopen(tfname, "r")) == NULL) in moveifchanged() 480 if ((nfp = fopen(nfname, "r")) == NULL) in moveifchanged()
|
| /netbsd-src/usr.bin/msgs/ |
| H A D | msgs.c | 252 bounds = fopen(fname, "r"); in main() 327 bounds = fopen(fname, "w"); in main() 342 bounds = fopen(fname, "w"); in main() 350 newmsg = fopen(fname, "w"); in main() 416 msgsrc = fopen(fname, "r"); in main() 432 msgsrc = fopen(fname, "r+"); in main() 434 msgsrc = fopen(fname, "w"); in main() 482 newmsg = fopen(fname, "r"); in main() 768 cpfrom = fopen(fname, "r"); in ask() 797 cpto = fopen(fname, "a"); in ask()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| H A D | libgprofng.ver | 28 fopen; 46 fopen; 74 fopen; 115 fopen;
|
| /netbsd-src/external/ibm-public/postfix/dist/src/fsstone/ |
| H A D | fsstone.c | 88 if ((fp = fopen(path, "w")) == 0) in make_file() 98 if ((fp = fopen(path, "r")) == 0) in make_file() 115 if ((fp = fopen(path, "w")) == 0) in use_file() 123 if ((fp = fopen(path, "r+")) == 0) in use_file()
|
| /netbsd-src/external/bsd/libpcap/dist/testprogs/fuzz/ |
| H A D | fuzz_pcap.c | 18 fd = fopen(name, "wb"); in bufferToFile() 35 outfile = fopen(name, "w"); in fuzz_openFile() 48 outfile = fopen("/dev/null", "w"); in LLVMFuzzerTestOneInput()
|
| H A D | fuzz_both.c | 19 fd = fopen(name, "wb"); in bufferToFile() 36 outfile = fopen(name, "w"); in fuzz_openFile() 52 outfile = fopen("/dev/null", "w"); in LLVMFuzzerTestOneInput()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | logger.c | 130 fp = fopen(p->fname, "a"); 148 fp = fopen(p->fname, "a"); in log_vprint() 167 fp = fopen(p->fname, "a"); in log_vaprint() 190 fp = fopen(p->fname, "a");
|
| /netbsd-src/usr.sbin/gspa/gspa/ |
| H A D | gspa.c | 131 if ((infile = fopen(in_name, "r")) == NULL) in main() 156 else if ((objfile = fopen(hex_name, "w")) == NULL) in main() 168 if ((listfile = fopen(list_name, "w")) == NULL) in main() 216 f = fopen(fn, "r"); in push_input()
|
| /netbsd-src/external/gpl2/mkhybrid/dist/ |
| H A D | match.c | 197 if ((fp = fopen(file, "r")) == NULL) { 239 if ((fp = fopen(file, "r")) == NULL) { 260 if ((fp = fopen(file, "r")) == NULL) { 281 if ((fp = fopen(file, "r")) == NULL) {
|
| /netbsd-src/games/warp/ |
| H A D | score.c | 69 savfil = experimenting ? NULL : fopen(savefilename,"r"); in score_init() 142 savfil = fopen(savefilename,"r"); in score_init() 506 if ((mapfp = fopen(spbuf, "w")) != NULL) { in wavescore() 534 if ((logfd = fopen(LOGFILE,"a")) != NULL) { in score() 548 if ((logfd = fopen(scoreboard,"w")) != NULL) in score() 551 if ((logfd = fopen(scoreboard,"r")) != NULL && in score() 552 (outfd = fopen(TMPSCOREBOARD,"w")) != NULL) { in score() 598 logfd = fopen(scoreboard,"r"); in score() 675 if ((savfil = fopen(savefilename,"w")) == NULL) { in save_game()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/kafs/ |
| H A D | common.c | 181 f = fopen(file, "r"); in find_cells() 274 if ((F = fopen(_PATH_CELLSERVDB, "r")) in file_find_cell() 275 || (F = fopen(_PATH_ARLA_CELLSERVDB, "r")) in file_find_cell() 276 || (F = fopen(_PATH_OPENAFS_DEBIAN_CELLSERVDB, "r")) in file_find_cell() 277 || (F = fopen(_PATH_OPENAFS_MACOSX_CELLSERVDB, "r")) in file_find_cell() 278 || (F = fopen(_PATH_ARLA_DEBIAN_CELLSERVDB, "r"))) { in file_find_cell()
|
| /netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/ |
| H A D | searchpath.cpp | 103 FILE *fp = fopen(name, "r"); in open_file() 132 FILE *fp = fopen(path, "r"); in open_file() 160 FILE *fp = fopen(name, mode); in open_file_cautious() 189 FILE *fp = fopen(path, mode); in open_file_cautious()
|
| /netbsd-src/sbin/dump/ |
| H A D | itime.c | 73 if ((df = fopen(dumpdates, "r")) == NULL) { in initdumptimes() 83 if ((df = fopen(dumpdates, "w")) == NULL) { in initdumptimes() 89 if ((df = fopen(dumpdates, "r")) == NULL) { in initdumptimes() 177 if ((df = fopen(dumpdates, "r+")) == NULL) in putdumptime()
|