/freebsd-current/contrib/libxo/tests/xo/ |
H A D | xo_01.sh | 16 ${XO} --open top
|
/freebsd-current/tools/tools/sortbench/ |
H A D | bench.py | 55 with open(filename, 'w+') as f: 64 with open('{}/{}'.format(outdir, test), 'w+') as f:
|
/freebsd-current/usr.bin/fortune/tools/ |
H A D | do_uniq.py | 36 with open(datfile, "r") as datfiledf: 50 with open(datfile + "~", "w") as o:
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | fsync.cc | 109 fd = open(FULLPATH, O_RDWR); 158 fd = open(FULLPATH, O_RDWR); 178 fd = open(FULLPATH, O_RDWR); 206 fd = open(FULLPATH, O_RDWR); 231 fd = open(FULLPATH, O_RDWR); 253 fd = open(FULLPATH, O_RDWR); 276 fd1 = open(FULLPATH, O_WRONLY); 278 fd2 = open(FULLPATH, O_RDONLY);
|
H A D | flush.cc | 102 fd = open(FULLPATH, O_WRONLY); 105 fd2 = open(FULLPATH, O_WRONLY); 132 fd = open(FULLPATH, O_WRONLY); 163 fd0 = open(FULLPATH0, O_WRONLY); 166 fd1 = open(FULLPATH1, O_WRONLY); 186 fd = open(FULLPATH, O_WRONLY); 227 fd = open(FULLPATH, O_RDWR); 237 fd2 = open(FULLPATH, O_WRONLY);
|
H A D | fsyncdir.cc | 100 fd = open(FULLPATH, O_DIRECTORY); 123 fd = open(FULLPATH, O_DIRECTORY); 147 fd = open(FULLPATH, O_DIRECTORY); 168 fd = open(FULLPATH, O_DIRECTORY); 190 fd = open(FULLPATH, O_DIRECTORY);
|
H A D | allow_other.cc | 90 fd = open(FULLPATH, O_RDONLY); 92 perror("open"); 132 * to open the file, but does thanks to the bug 140 /* Fork a child to open the file with different credentials */ 154 out.body.open.fh = fh; 156 SET_OUT_HEADER_LEN(out, open); 170 fd1 = open(FULLPATH, O_RDONLY); 175 fd0 = open(FULLPATH, O_RDONLY); 201 fd = open(FULLPATH, O_RDONLY); 203 fprintf(stderr, "open shoul [all...] |
H A D | release.cc | 87 fd = open(FULLPATH, O_RDONLY); 117 fd = open(FULLPATH, O_WRONLY); 139 fd = open(FULLPATH, O_RDWR | O_APPEND); 162 fd = open(FULLPATH, O_RDONLY); 166 fd2 = open(FULLPATH, O_WRONLY); 185 fd = open(FULLPATH, O_RDONLY); 224 fd = open(FULLPATH, O_RDWR);
|
/freebsd-current/usr.bin/nohup/ |
H A D | nohup.c | 97 fd = open(p, O_RDWR | O_CREAT | O_APPEND, S_IRUSR | S_IWUSR); 103 fd = open(p = path, O_RDWR | O_CREAT | O_APPEND, 108 errx(EXIT_MISC, "can't open a nohup.out file");
|
/freebsd-current/usr.bin/tip/tip/ |
H A D | uucplock.c | 62 fd = open(tbuf, O_RDWR|O_CREAT|O_EXCL, 0660); 68 fd = open(tbuf, O_RDWR, 0); 71 fprintf(stderr, "Can't open lock file.\n");
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | clone_mmap_write.c | 56 if ((fd = open(source, O_RDWR | O_APPEND)) < 0) { 69 if ((dfd = open(dest, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR)) < 0) {
|
/freebsd-current/crypto/openssl/test/recipes/ |
H A D | 90-test_store_cases.t | 32 open DATA, $stderr;
|
/freebsd-current/crypto/openssl/external/perl/Text-Template-1.56/t/ |
H A D | error.t | 34 && $Text::Template::ERROR =~ /^Couldn't open file/;
|
H A D | ofh.t | 26 open my $ifh, '<', $of->filename or die "open($of): $!";
|
H A D | taint.t | 32 open my $fh, '>', $file or die "Couldn't write temporary file $file: $!"; 82 open $fh, '<', $file or die "Couldn't open $file for reading: $!; aborting"; 86 open $fh, '<', $file or die "Couldn't open $file for reading: $!; aborting";
|
/freebsd-current/libexec/tftpd/tests/ |
H A D | functional.c | 465 fd = open("abspath.txt", O_CREAT | O_RDONLY, 0644); 500 fd = open("small.txt", O_RDWR | O_CREAT, 0644); 518 fd = open("small.txt", O_RDWR | O_CREAT, 0644); 546 fd = open("medium.txt", O_RDWR | O_CREAT, 0644); 576 fd = open("medium.txt", O_RDWR | O_CREAT, 0644); 598 fd = open("empty.txt", O_CREAT | O_RDONLY, 0000); 613 fd = open("empty.txt", O_CREAT | O_RDONLY, 0644); 634 fd = open("medium.txt", O_RDWR | O_CREAT, 0644); 659 fd = open("medium.txt", O_RDWR | O_CREAT, 0644); 685 fd = open("uni [all...] |
/freebsd-current/contrib/ntp/scripts/ |
H A D | plot_summary.in | 81 # maybe open alternate output file 89 open TOUCH, ">$file" and close TOUCH or die "$file: $!"; 111 open INPUT, "$fname" or die "$fname: $!"; 112 open OUTPUT, ">$out_file" or die "$out_file: $!"; 165 open OUTPUT, "> $cmd_file" or die "$cmd_file: $!"; 253 open INPUT, "$fname" or die "$fname: $!"; 254 open OUTPUT, ">$out_file" or die "$out_file: $!"; 283 open OUTPUT, "> $cmd_file" or die "$cmd_file: $!";
|
/freebsd-current/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_readlinkat.c | 65 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 69 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 91 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); 125 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); 141 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
|
/freebsd-current/crypto/openssh/ |
H A D | sshpty.c | 59 * nonzero if a pty was successfully allocated. On success, open file 106 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); 119 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); 134 fd = open(tty, O_RDWR); 141 fd = open(_PATH_TTY, O_WRONLY); 143 error("open /dev/tty failed - could not set controlling tty: %.100s", 227 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) {
|
/freebsd-current/tests/sys/kern/ |
H A D | kern_descrip_test.c | 60 ATF_REQUIRE((fd1 = open(AFILE, O_CREAT, 0644)) != -1); 78 ATF_REQUIRE((fd1 = open(AFILE, O_CREAT, 0644)) != -1); 99 r = open(AFILE, O_RDONLY); 101 fprintf(stderr, "open: %s\n", strerror(errno)); 121 ATF_REQUIRE((fd = open(AFILE, O_CREAT, 0644)) != -1); 123 ATF_REQUIRE((fd = open(RENDEZVOUS, O_CREAT, 0644)) != -1);
|
/freebsd-current/crypto/openssl/tools/ |
H A D | c_rehash.in | 110 if (open(my $in, "<", $src_fname)) { 111 if (open(my $out, ">", $dst_fname)) { 115 warn "Cannot open $dst_fname for write, $!"; 119 warn "Cannot open $src_fname for read, $!"; 164 open(my $in, "<", $fname); 184 # VMS uses the open through shell 186 if (!open($fh, "-|", join(' ', @_))) { 191 if (!open($fh, "-|", @_)) {
|
/freebsd-current/tests/sys/fifo/ |
H A D | fifo_kqueue.c | 50 ATF_REQUIRE((p[0] = open("testfifo", 52 ATF_REQUIRE((p[1] = open("testfifo", 151 ATF_REQUIRE((p[0] = open("testfifo", 153 ATF_REQUIRE((p[1] = open("testfifo", 200 ATF_REQUIRE((p[0] = open("testfifo", 230 ATF_REQUIRE((p[0] = open("testfifo", 232 ATF_REQUIRE((p[1] = open("testfifo", 284 ATF_REQUIRE((p[0] = open("testfifo", 286 ATF_REQUIRE((p[1] = open("testfifo", 337 ATF_REQUIRE((p[0] = open("testfif [all...] |
/freebsd-current/tests/sys/file/ |
H A D | path_test.c | 116 pathfd = open(path, O_PATH); 117 ATF_REQUIRE_MSG(pathfd >= 0, FMT_ERR("open")); 145 pathfd = open(path, O_PATH); 146 ATF_REQUIRE_MSG(pathfd >= 0, FMT_ERR("open")); 179 if (open(path, O_PATH) >= 0) 183 if (open("/usr/bin/true", O_PATH | O_EXEC) >= 0) 195 truefd = open("/usr/bin/true", O_PATH | O_EXEC); 224 pathdfd = open(".", O_PATH); 225 ATF_REQUIRE_MSG(pathdfd >= 0, FMT_ERR("open")); 226 pathfd = open(pat [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
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_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);
|