/freebsd-current/tests/sys/cddl/zfs/bin/ |
H A D | file_check.c | 64 if ((bigfd = open(argv[1], O_RDONLY)) == -1) { 65 (void) printf("open %s failed %d\n", argv[1], errno);
|
H A D | randfree_file.c | 79 if ((fd = open(filename, O_RDWR|O_CREAT|O_TRUNC)) < 0) { 80 perror("open");
|
H A D | mmapwrite.c | 79 if ((fd = open(argv[1], O_RDWR|O_CREAT|O_TRUNC, 0666)) == -1) { 80 perror("open");
|
/freebsd-current/usr.bin/fsync/ |
H A D | fsync.c | 52 if ((fd = open(argv[i], O_RDONLY)) == -1) { 53 warn("open %s", argv[i]);
|
/freebsd-current/tools/tools/aac/ |
H A D | aac_checkq.c | 61 fd = open("/dev/aac0", O_RDWR); 63 printf("couldn't open aac0: %s\n", strerror(errno));
|
/freebsd-current/tools/regression/security/cap_test/ |
H A D | cap_test_capmode.c | 72 REQUIRE(fd_file = open("/tmp/cap_capmode", O_RDWR|O_CREAT, 0644)); 73 REQUIRE(fd_close = open("/dev/null", O_RDWR)); 74 REQUIRE(fd_dir = open("/tmp", O_RDONLY)); 99 CHECK_CAPMODE(open, "/dev/null", O_RDWR);
|
/freebsd-current/usr.bin/tip/tip/ |
H A D | hunt.c | 70 * order to get an open file descriptor placed in FD. 71 * Otherwise, as for a DN-11, the open will have to 72 * be done in the "open" routine. 78 FD = open(cp, (O_RDWR |
|
/freebsd-current/crypto/openssl/test/recipes/ |
H A D | 15-test_mp_rsa.t | 112 open(my $fh, "<", $cleartext) or return 0; 116 open($fh, "<", $decrypted ) or return 0;
|
/freebsd-current/tools/test/stress2/tools/ |
H A D | serial.c | 25 if ((fd = open(file, O_RDWR | O_CREAT | O_TRUNC, 0600)) < 0)
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ |
H A D | SimpleExecutorDylibManager.h | 40 Expected<tpctypes::DylibHandle> open(const std::string &Path, uint64_t Mode);
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | EPCGenericDylibManager.h | 50 Expected<tpctypes::DylibHandle> open(StringRef Path, uint64_t Mode);
|
/freebsd-current/contrib/libarchive/tar/test/ |
H A D | test_option_fflags.c | 40 fd = open(pathname, O_RDONLY | O_NONBLOCK);
|
/freebsd-current/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_failures.c | 43 fd = open("dir/testfile", O_WRONLY | O_CREAT | O_BINARY, 0777);
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/ |
H A D | badioctl.c | 66 if ((random = open("/dev/random", O_RDONLY)) == -1) 67 fatal("couldn't open /dev/random"); 91 fd = open("/devices/pseudo/dtrace@0:dtrace", O_RDONLY); 94 fatal("couldn't open DTrace pseudo device");
|
/freebsd-current/contrib/elftoolchain/ar/ |
H A D | acplex.l | 64 OPEN|open { return (OPEN); }
|
/freebsd-current/contrib/kyua/utils/sqlite/ |
H A D | exceptions_test.cpp | 65 const sqlite::database db = sqlite::database::open( 88 sqlite::database db = sqlite::database::open(
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestFunctionLookup.java | 50 consumer.open(); 86 consumer.open();
|
/freebsd-current/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_mkfifoat.c | 61 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 106 ATF_REQUIRE((fd = open(FIFO, O_CREAT|O_RDWR, 0644)) != -1);
|
H A D | t_mkdirat.c | 61 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 106 ATF_REQUIRE((fd = open(SDIR, O_CREAT|O_RDWR, 0644)) != -1);
|
/freebsd-current/contrib/pjdfstest/tests/utimensat/ |
H A D | 01.t | 28 expect 0 open . O_RDONLY : utimensat 0 ${n0} 0 UTIME_NOW 0 UTIME_NOW 0
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | mmap.sh | 54 fd = open("/dev/mem", O_RDWR); 56 perror("open");
|
H A D | posix_fadvise.sh | 62 if ((fd = open("posix_fadvise.c", O_RDONLY)) == -1) 63 err(1, "open()");
|
H A D | posix_fadvise2.sh | 66 if ((fd = open(file[i], O_RDONLY)) == -1) 67 err(1, "open(%s)", file[i]);
|
H A D | posix_openpt.sh | 73 if ((slavefd = open(slave, O_RDWR|O_NOCTTY)) == -1) 74 err(1, "open(%s)", slave);
|
H A D | posix_openpt2.sh | 97 if ((fd = open(p->fts_path, O_RDONLY)) > 0) 124 if ((slavefd = open(slave, O_RDWR|O_NOCTTY)) == -1) 125 err(1, "open(%s)", slave);
|