Searched refs:open (Results 126 - 150 of 1407) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_chroot.c82 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 Dt_dup.c71 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 Dt_unlink.c59 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 Dt_truncate.c59 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 Dmaint-tool93 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 Dgather-docs58 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 Dtest_read_data_large.c37 #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 Dtest_write_disk_failures.c44 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 DTestEnable.java51 consumer.open();
117 consumer2.open();
138 consumer.open();
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dmaint-tool93 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 Dgather-docs58 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 Dt_fifo.c45 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 Dt_ttyname.c53 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 Dfunctional.c394 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 Dt_system.c60 fd = open(path, O_RDONLY);
/freebsd-11-stable/contrib/ntp/scripts/deprecated/
H A Dfreq_adj.in21 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 Dbasic_file_stdio.h68 open(const char* __name, ios_base::openmode __mode, int __prot = 0664);
/freebsd-11-stable/contrib/opie/libopie/
H A Dunlock.c56 if (!(fh = open(__opie_lockfilename, O_RDWR, 0600)))
/freebsd-11-stable/crypto/openssh/openbsd-compat/regress/
H A Dclosefromtest.c43 if ((fds[i] = open("/dev/null", O_RDONLY)) == -1)
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbio_lcl.h30 # define UP_open open
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dcrypto-rand.c49 fd = open(seedfile, O_RDONLY | O_BINARY | O_CLOEXEC);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dmkstemp.c64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600);
/freebsd-11-stable/sys/mips/cavium/octe/
H A Dcavium-ethernet.h69 int (*open)(struct ifnet *ifp); member in struct:__anon12172
/freebsd-11-stable/tests/sys/kern/pipe/
H A Dpipe_overcommit2_test.c57 returnval = open(template, O_RDONLY);
/freebsd-11-stable/tools/regression/security/cap_test/
H A Dcap_test_capmode.c77 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);

Completed in 283 milliseconds

1234567891011>>