/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_chroot.c | 82 fd = open("file", O_RDONLY | O_CREAT, 0600); 101 fd = open(buf, O_RDONLY); 192 fd = open(buf, O_RDONLY); 206 fd = open("file", O_RDONLY | O_CREAT, 0600); 225 fd = open(buf, O_RDONLY); 245 fd = open("/etc/passwd", O_RDONLY); 275 fd = open(buf, O_RDONLY);
|
H A D | t_dup.c | 71 fd1 = open(path, mode[i] | O_CREAT, perm[j]); 72 fd2 = open("/etc/passwd", O_RDONLY); 116 fd1 = open("/etc/passwd", O_RDONLY); 117 fd2 = open("/etc/passwd", O_RDONLY); 144 fd = open("/etc/passwd", O_RDONLY); 209 fd = open("/etc/passwd", O_RDONLY); 311 * maximum number of open files is 335 buf[i] = open(path, O_RDONLY);
|
H A D | t_unlink.c | 59 fd = open(path, O_RDWR | O_CREAT, 0666); 66 ATF_REQUIRE_ERRNO(ENOENT, open(path, O_RDONLY) == -1); 119 ATF_REQUIRE_ERRNO(ENOENT, open(path, O_RDONLY) == -1);
|
H A D | t_truncate.c | 59 fd = open(path, O_RDWR | O_CREAT, 0600); 95 fd = open("/etc/passwd", O_RDONLY, 0400); 119 fd = open(path, O_RDWR | O_CREAT, 0600);
|
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | maint-tool | 93 open(T, "$srcdir/$file"); 102 open(C, "$srcdir/$file"); 132 open(TAGS, "TAGS"); 187 open(F, $f); 239 open(IN, "$srcdir/Makefile.in"); 240 open(OUT, ">$srcdir/Makefile.tmp");
|
H A D | gather-docs | 58 if (!open(IN, "$srcdir/$in")) { 59 print STDERR "Cannot open $srcdir/$in for reading: $!\n"; 103 if (!open (OUT, "> $outfile")) { 104 print STDERR "Cannot open $outfile for writing: $!\n";
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_read_data_large.c | 37 #define open _open macro 98 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); 100 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777);
|
H A D | test_write_disk_failures.c | 44 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestEnable.java | 51 consumer.open(); 117 consumer2.open(); 138 consumer.open();
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | maint-tool | 93 open(T, "$srcdir/$file"); 102 open(C, "$srcdir/$file"); 132 open(TAGS, "TAGS"); 187 open(F, $f); 239 open(IN, "$srcdir/Makefile.in"); 240 open(OUT, ">$srcdir/Makefile.tmp");
|
H A D | gather-docs | 58 if (!open(IN, "$srcdir/$in")) { 59 print STDERR "Cannot open $srcdir/$in for reading: $!\n"; 103 if (!open (OUT, "> $outfile")) { 104 print STDERR "Cannot open $outfile for writing: $!\n";
|
/freebsd-11-stable/contrib/netbsd-tests/fs/fifofs/ |
H A D | t_fifo.c | 45 fd = open(FIFO_FILE_PATH, O_WRONLY, 0); 49 err(1, "Child: can't open fifo in write mode"); 122 if ((fd = open(FIFO_FILE_PATH, O_WRONLY, 0)) == -1) 123 err(1, "failed to open fifo"); 140 if ((fd = open(FIFO_FILE_PATH, O_RDONLY, 0)) == -1) { 144 err(1, "Failed to open the fifo in read mode");
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_ttyname.c | 53 fd = open("XXX", O_RDONLY); 68 fd = open("/etc/passwd", O_RDONLY); 114 fd = open("/etc/passwd", O_RDONLY);
|
/freebsd-11-stable/libexec/tftpd/tests/ |
H A D | functional.c | 394 fd = open("abspath.txt", O_CREAT | O_RDONLY, 0644); 428 fd = open("small.txt", O_RDWR | O_CREAT, 0644); 446 fd = open("small.txt", O_RDWR | O_CREAT, 0644); 474 fd = open("medium.txt", O_RDWR | O_CREAT, 0644); 504 fd = open("medium.txt", O_RDWR | O_CREAT, 0644); 526 fd = open("empty.txt", O_CREAT | O_RDONLY, 0000); 541 fd = open("empty.txt", O_CREAT | O_RDONLY, 0644); 562 fd = open("medium.txt", O_RDWR | O_CREAT, 0644); 587 fd = open("unix.txt", O_RDWR | O_CREAT, 0644); 643 fd = open("smal [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_system.c | 60 fd = open(path, O_RDONLY);
|
/freebsd-11-stable/contrib/ntp/scripts/deprecated/ |
H A D | freq_adj.in | 21 open(DM, "/var/run/dmesg.boot"); 56 open(DF, $driftfile) || die "Can't open driftfile ($driftfile): $!\n";
|
/freebsd-11-stable/contrib/libstdc++/config/io/ |
H A D | basic_file_stdio.h | 68 open(const char* __name, ios_base::openmode __mode, int __prot = 0664);
|
/freebsd-11-stable/contrib/opie/libopie/ |
H A D | unlock.c | 56 if (!(fh = open(__opie_lockfilename, O_RDWR, 0600)))
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/regress/ |
H A D | closefromtest.c | 43 if ((fds[i] = open("/dev/null", O_RDONLY)) == -1)
|
/freebsd-11-stable/crypto/openssl/crypto/bio/ |
H A D | bio_lcl.h | 30 # define UP_open open
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | crypto-rand.c | 49 fd = open(seedfile, O_RDONLY | O_BINARY | O_CLOEXEC);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | mkstemp.c | 64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600);
|
/freebsd-11-stable/sys/mips/cavium/octe/ |
H A D | cavium-ethernet.h | 69 int (*open)(struct ifnet *ifp); member in struct:__anon12172
|
/freebsd-11-stable/tests/sys/kern/pipe/ |
H A D | pipe_overcommit2_test.c | 57 returnval = open(template, O_RDONLY);
|
/freebsd-11-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capmode.c | 77 REQUIRE(fd_file = open("/tmp/cap_capmode", O_RDWR|O_CREAT, 0644)); 78 REQUIRE(fd_close = open("/dev/null", O_RDWR)); 79 REQUIRE(fd_dir = open("/tmp", O_RDONLY)); 104 CHECK_CAPMODE(open, "/dev/null", O_RDWR);
|