/freebsd-current/contrib/kyua/store/ |
H A D | read_backend_test.cpp | 51 sqlite::database db = sqlite::database::open( 71 ATF_REQUIRE_THROW_RE(store::error, "Cannot open 'missing.db': ", 87 sqlite::database db = sqlite::database::open( 100 ATF_REQUIRE_THROW_RE(store::error, "Cannot open 'missing.db': ", 115 sqlite::database db = sqlite::database::open(
|
/freebsd-current/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-current/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-current/contrib/netbsd-tests/lib/libc/sys/ |
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);
|
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);
|
/freebsd-current/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-current/contrib/googletest/googlemock/test/ |
H A D | gmock_output_test.py | 42 from io import open # pylint: disable=redefined-builtin, g-importing-member namespace 159 golden_file = open(GOLDEN_PATH, 'rb') 183 golden_file = open(GOLDEN_PATH, 'wb')
|
/freebsd-current/contrib/libarchive/libarchive/test/ |
H A D | test_read_data_large.c | 36 #define open _open macro 95 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); 97 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777);
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | flock_open_close.sh | 107 fd = open(binary, O_RDWR | O_EXLOCK); 111 * close its open fd's (thus releasing the 117 err(2, "can't open %s", binary); 128 (void)open(av[0], O_RDONLY | O_SHLOCK);
|
H A D | devfs2.sh | 37 # open(c4c08510,e6d06d00) at open+0x18 74 if ((fd = open("/dev/zero", O_RDONLY)) == -1) 75 perror("open /dev/zero");
|
H A D | fpclone2.sh | 90 if ((fd = open("/dev/fpclone", O_RDONLY)) == -1) 91 err(1, "open(/dev/fpclone"); 109 if ((fd = open("/dev/fpclone", O_WRONLY)) == -1) 110 err(1, "open(/dev/fpclone");
|
H A D | kevent5.sh | 80 if ((fd = open(file1, O_RDONLY, 0)) == -1) 81 err(1, "open(%s)(2)", file1); 105 if ((fd = open(file2, O_RDONLY, 0)) == -1) 106 err(1, "open(%s)(2)", file2); 145 if ((fd = open(file1, O_CREAT | O_TRUNC | O_RDWR, 0660)) == 147 err(1, "open(%s)", file1); 149 if ((fd = open(file2, O_CREAT | O_TRUNC | O_RDWR, 0660)) == 151 err(1, "open(%s)", file2);
|
H A D | mkfifo3.sh | 111 if((fd = open(file, O_RDONLY)) == -1) 113 err(1, "open(%s, O_RDONLY @ %d)", 123 if ((fd = open(file, O_WRONLY)) == -1) 125 err(1, "open(%s, O_WRONLY @ %d)",
|
H A D | posix_fadvise3.sh | 97 if ((fd = open("/tmp/posix_fadvise3.data", O_RDONLY)) == -1) 98 err(1, "open()"); 109 if ((fd = open("/tmp/posix_fadvise3.data", O_RDONLY)) == -1) 110 err(1, "open()");
|
H A D | pty2.sh | 77 if ((fd = open(IN, O_RDONLY)) == -1) { 79 err(1, "open(%s)", IN);
|
H A D | tmpfs14.sh | 91 if ((fd = open(file, O_RDWR | O_CREAT, 0644)) == -1) 92 err(1, "open(%s)", file); 100 if ((fd = open(file, O_RDWR | O_CREAT, 0644)) == -1) 101 err(1, "open(%s)", file);
|
H A D | vnodes.sh | 69 fd = open(dname, O_RDWR); 72 err(1, "open(%s)", dname);
|
/freebsd-current/contrib/lib9p/example/ |
H A D | server.c | 72 rootfd = open(path, O_DIRECTORY); 75 err(1, "cannot open root directory");
|
/freebsd-current/contrib/capsicum-test/ |
H A D | mini-me.c | 25 /* Expect to already be in capability mode: check we can't open a file */ 28 int fd = open("/etc/passwd", O_RDONLY); 30 fprintf(stderr,"[%d] %s unexpectedly able to open file\n", getpid(), argv[0]);
|
/freebsd-current/contrib/lib9p/backend/ |
H A D | backend.h | 38 int (*open)(void *, struct l9p_request *); member in struct:l9p_backend
|
/freebsd-current/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_system.c | 60 fd = open(path, O_RDONLY);
|
/freebsd-current/contrib/netbsd-tests/lib/libposix/ |
H A D | t_rename.c | 57 REQUIRE_LIBC(open("t1", O_CREAT | O_TRUNC | O_WRONLY, 0600), -1);
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | crypto-rand.c | 49 fd = open(seedfile, O_RDONLY | O_BINARY | O_CLOEXEC);
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | mkstemp.c | 64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600);
|
/freebsd-current/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";
|