Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 176 – 200 of 913) sorted by relevance

12345678910>>...37

/freebsd/lib/libc/tests/sys/
H A Dsendfile_test.c415 fd = shm_open(SHM_ANON, O_RDWR|O_CREAT, 0600); in fd_positive_shm_test()
803 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in hdtr_negative_bad_pointers_test()
862 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in offset_negative_value_less_than_zero_test()
1023 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in s_negative_not_connected_socket_test()
1082 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in ATF_TC_BODY()
1106 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in ATF_TC_BODY()
1127 fd = open(SOURCE_FILE, O_CREAT|O_RDWR, 0600); in s_negative_udp_socket_test()
/freebsd/contrib/capsicum-test/
H A Dcapmode.cc33 fd_file_(open(TmpFile("cap_capmode"), O_RDWR|O_CREAT, 0644)), in WithFiles()
34 fd_close_(open("/dev/null", O_RDWR)), in WithFiles()
89 EXPECT_CAPMODE(open("/dev/null", O_RDWR)); in FORK_TEST_F()
625 EXPECT_CAPMODE(open("/dev/null", O_RDWR)); in thread_fn()
656 int fd = open("/dev/null", O_RDWR); in FORK_TEST()
691 EXPECT_CAPMODE(open("/dev/null", O_RDWR)); in FORK_TEST()
H A Dcapability-fd.cc322 int fd = open(TmpFile("cap_file_sync"), O_RDWR|O_CREAT, 0644);
441 int fd = open(TmpFile("cap_mmap_operations"), O_RDWR | O_CREAT, 0644);
617 int fd = open(TmpFile("cap_fd_operations"), O_RDWR | O_CREAT, 0644);
698 rc = openat(dfd_cap, "cap_create", O_CREAT | O_RDWR | O_APPEND, 0600); in TryDirOps()
725 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR | O_APPEND); in TryDirOps()
740 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDWR | O_APPEND); in TryDirOps()
760 rc = openat(dfd_cap, "cap_ftruncate", O_TRUNC | O_RDWR); in TryDirOps()
773 rc = openat(dfd_cap, "cap_create", O_CREAT | O_RDWR, 0600); in TryDirOps()
789 rc = openat(dfd_cap, "cap_fsync", O_FSYNC | O_RDWR); in TryDirOps()
801 rc = openat(dfd_cap, "cap_fsync", O_SYNC | O_RDWR); in TryDirOps()
[all …]
/freebsd/contrib/pjdfstest/tests/open/
H A D20.t25 expect ETXTBSY open ${n0} O_RDWR
H A D16.t27 expect $error open ${n1} O_RDWR,O_NOFOLLOW
/freebsd/contrib/netbsd-tests/dev/scsipi/
H A Dt_cd.c66 RL(fd = rump_sys_open(fname, O_RDWR)); in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/dev/audio/
H A Dh_pad.c63 audiofd = rump_sys_open("/dev/audio0", O_RDWR); in main()
/freebsd/crypto/heimdal/lib/roken/
H A Dmkstemp.c64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600); in mkstemp()
/freebsd/contrib/netbsd-tests/fs/puffs/
H A Dt_io.c46 RL(fd = rump_sys_open("afile", O_CREAT | O_RDWR, 0755)); in ATF_TC_BODY()
/freebsd/lib/libpam/pam.d/
H A Dconvert.pl70 sysopen(FILE, $service, O_RDWR|O_CREAT|O_TRUNC)
/freebsd/share/examples/kld/cdev/test/
H A Dtestcdev.c96 if ((kernel_fd = open("/dev/" CDEV_DEVICE, O_RDWR)) == -1) { in main()
/freebsd/tools/tools/mfi/
H A Dmfi_checkq.c58 fd = open("/dev/mfi0", O_RDWR); in main()
/freebsd/tools/tools/aac/
H A Daac_checkq.c61 fd = open("/dev/aac0", O_RDWR); in main()
/freebsd/contrib/netbsd-tests/rump/rumpvfs/
H A Dt_basic.c63 RL(fd = rump_sys_open(TESTFILE, O_RDWR | O_CREAT, 0777)); in ATF_TC_BODY()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_003_pos.c44 fd = open(penv[0], O_RDWR|O_TMPFILE|O_EXCL, 0666); in main()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_fadvise.c87 if ((fd = open(filename, O_RDWR, 0666)) < 0) { in main()
/freebsd/lib/libc/stdio/
H A Dflags.c86 m = O_RDWR; in __sflags()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddosmode_readonly_write.c56 fd = open(path, O_CREAT|O_RDWR, 0777); in main()
/freebsd/tests/sys/cddl/zfs/bin/
H A Dmmapwrite.c79 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) { in main()
/freebsd/tools/test/stress2/misc/
H A Dsendfile12.sh133 if ((fd = open(outputFile, O_RDWR | O_CREAT | O_TRUNC, 0640)) ==
197 if ((fd = open(inputFile, O_RDWR)) == -1)
H A Dcluster.sh97 if ((fd = open(file, O_RDWR | O_CREAT, 0644)) == -1)
181 if ((fd = open(file, O_RDWR | O_CREAT, 0644)) == -1)
H A Dmsdos18.sh126 if ((fd = open(outputFile, O_RDWR | O_CREAT | O_TRUNC, 0640)) == -1)
198 if ((fd = open(inputFile, O_RDWR | O_CREAT | O_TRUNC, 0640)) == -1)
/freebsd/usr.sbin/rpc.statd/
H A Dfile.c179 status_fd = open(filename, O_RDWR); in init_file()
182 status_fd = open(filename, O_RDWR | O_CREAT, 0644); in init_file()
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dstat.h62 #define O_RDWR _O_RDWR macro
/freebsd/tools/test/stress2/tools/
H A Dserial.c25 if ((fd = open(file, O_RDWR | O_CREAT | O_TRUNC, 0600)) < 0) in main()

12345678910>>...37