/fuchsia/zircon/system/utest/fs-host/ |
H A D | test-basic.cpp | 14 int fd1 = emu_open("::alpha/bravo/charlie/delta/echo/foxtrot", O_RDWR | O_CREAT, 0644); 16 int fd2 = emu_open("::alpha/bravo/charlie/delta/echo/foxtrot", O_RDWR, 0644); 22 fd1 = emu_open("::file.txt", O_CREAT | O_RDWR, 0644);
|
H A D | test-directory.cpp | 47 int fd = emu_open(path, O_RDWR | O_CREAT | O_EXCL, 0644); 68 int fd = emu_open("::a/file1", O_RDWR | O_CREAT | O_EXCL, 0644); 72 fd = emu_open("::a/file2", O_RDWR | O_CREAT | O_EXCL, 0644);
|
H A D | test-maxfile.cpp | 17 int fd = emu_open("::bigfile", O_CREAT | O_RDWR, 0644); 70 fd = emu_open("::bigfile", O_RDWR, 0644);
|
/fuchsia/zircon/third_party/ulib/musl/src/misc/ |
H A D | openpty.c | 13 m = open("/dev/ptmx", O_RDWR | O_NOCTTY); 23 if ((s = open(name, O_RDWR | O_NOCTTY)) < 0)
|
/fuchsia/zircon/third_party/ulib/musl/src/stdio/ |
H A D | __fmodeflags.c | 7 flags = O_RDWR;
|
H A D | tmpfile.c | 19 fd = open(s, O_RDWR | O_CREAT | O_EXCL, 0600);
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-fcntl.cpp | 21 int fd = open("::file", O_APPEND | O_RDWR | O_CREAT, 0644); 38 ASSERT_EQ(flags & O_ACCMODE, O_RDWR, "Access mode flags did not match"); 47 ASSERT_EQ(flags & O_ACCMODE, O_RDWR, "Access mode flags did not match"); 65 int fd = open("::file", O_APPEND | O_RDWR | O_CREAT, 0644); 80 ASSERT_EQ(flags & O_ACCMODE, O_RDWR, "Access mode flags did not match");
|
H A D | test-unlink.cpp | 26 int fd = open(paths[i], O_RDWR | O_CREAT | O_EXCL, 0644); 64 int fd = open(path, O_RDWR | O_CREAT | O_EXCL, 0644); 76 ASSERT_EQ(open(path, O_RDWR, 0644), -1); 85 int fd1 = open(path, O_RDWR | O_CREAT | O_EXCL, 0644); 87 int fd2 = open(path, O_RDWR, 0644); 100 ASSERT_EQ(open(path, O_RDWR, 0644), -1); 110 int fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0644);
|
H A D | test-basic.c | 27 int fd1 = open("::alpha/bravo/charlie/delta/echo/foxtrot", O_RDWR | O_CREAT, 0644); 29 int fd2 = open("::alpha/bravo/charlie/delta/echo/foxtrot", O_RDWR, 0644); 50 fd1 = open("::file.txt", O_CREAT | O_RDWR, 0644); 77 int fd = open("::foobar", O_CREAT | O_RDWR);
|
H A D | test-access.cpp | 29 int fd = open(filename, O_RDWR | O_CREAT, 0644); 65 int fd = open(filename, O_RDWR | O_CREAT, 0644); 97 int fd = open(filename, O_RDWR | O_CREAT, 0644); 117 int fd = open(filename, O_RDWR, 0644); 143 fd = open(filename, O_CREAT | O_RDWR | O_PATH); 149 fd = open(filename, O_CREAT | O_RDWR); 155 fd = open(filename, O_RDWR | O_PATH); 174 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_TRUNC | O_PATH);
|
H A D | test-directory.cpp | 38 int fd = open(path, O_RDWR | O_CREAT | O_EXCL, 0644); 45 ASSERT_EQ(open(path, O_RDWR | O_CREAT | O_EXCL, 0644), -1); 66 int fd = open(path, O_RDWR | O_CREAT | O_EXCL, 0644); 95 int fd = open(path, O_RDWR | O_CREAT | O_EXCL, 0644); 127 int fd = open(files[i], O_RDWR | O_CREAT | O_EXCL, 0644); 240 int fd = open("::a", O_RDWR | O_CREAT | O_EXCL, 0644); 246 fd = open("::a", O_RDWR | O_CREAT | O_EXCL, 0644); 249 ASSERT_EQ(open("::a/", O_RDWR, 0644), -1); 276 int fd = open("::a/file1", O_RDWR | O_CREAT | O_EXCL, 0644); 280 fd = open("::a/file2", O_RDWR | O_CREA [all...] |
H A D | test-minfs.cpp | 104 int fd = open(path, O_CREAT | O_RDWR); 168 fbl::unique_fd fd(open(path, O_CREAT | O_RDWR)); 174 fd.reset(open(path, O_CREAT | O_RDWR | O_EXCL)); 238 fbl::unique_fd fd(openat(dir_fd, path, O_CREAT | O_RDWR)); 266 fbl::unique_fd big_fd(openat(mnt_fd.get(), big_path, O_CREAT | O_RDWR)); 269 fbl::unique_fd med_fd(openat(mnt_fd.get(), med_path, O_CREAT | O_RDWR)); 272 fbl::unique_fd sml_fd(openat(mnt_fd.get(), sml_path, O_CREAT | O_RDWR)); 318 big_fd.reset(openat(mnt_fd.get(), big_path, O_RDWR)); 320 sml_fd.reset(openat(mnt_fd.get(), sml_path, O_RDWR)); 369 fbl::unique_fd tmp_fd(openat(dir_fd.get(), "new_file", O_CREAT | O_RDWR)); [all...] |
H A D | test-sync.c | 21 int fd = open("::alpha", O_RDWR | O_CREAT | O_EXCL, 0644);
|
H A D | test-link.c | 41 int fd = open(oldpath, O_RDWR | O_CREAT | O_EXCL, 0644); 93 int fd = open("::dira/file", O_RDWR | O_CREAT | O_EXCL, 0644); 194 int fd = open("::dir/dir_child", O_RDWR | O_CREAT | O_EXCL, 0644); 198 int fd2 = open("::dir_parent_alt/dir_semi_parent/dir_child_a", O_RDWR | O_CREAT | O_EXCL, 0644); 240 int fd = open(oldpath, O_RDWR | O_CREAT | O_EXCL, 0644); 252 int fd2 = open(newpath, O_RDWR, 0644); 263 fd = open(newpath, O_RDWR, 0644); 296 int fd = open(oldpath, O_RDWR | O_CREAT | O_EXCL, 0644);
|
/fuchsia/zircon/system/utest/sysinfo/ |
H A D | main.cpp | 20 int fd = open(SYSINFO_PATH, O_RDWR); 46 int fd = open(SYSINFO_PATH, O_RDWR); 66 int fd = open(SYSINFO_PATH, O_RDWR);
|
/fuchsia/zircon/system/uapp/psutils/ |
H A D | resources.c | 17 int fd = open("/dev/misc/sysinfo", O_RDWR);
|
/fuchsia/zircon/system/uapp/suspendtest/ |
H A D | suspendtest.c | 19 int fd = open(path, O_RDWR);
|
/fuchsia/zircon/system/uapp/traceme/ |
H A D | traceme.c | 18 if ((fd = open("/dev/misc/ktrace", O_RDWR)) < 0) {
|
/fuchsia/zircon/system/dev/nand/ram-nand/test/ |
H A D | ram-nand-ctl.cpp | 34 device_.reset(open(path_, O_RDWR)); 65 fbl::unique_fd found(open(device.path(), O_RDWR));
|
/fuchsia/zircon/system/ulib/fs-management/ |
H A D | ram-nand.cpp | 23 fbl::unique_fd control(open(base_path, O_RDWR)); 45 fbl::unique_fd ram_nand(open(ram_nand_path, O_RDWR));
|
/fuchsia/zircon/system/uapp/tpmctl/ |
H A D | tpmctl.c | 52 int fd = open("/dev/class/tpm/000", O_RDWR);
|
/fuchsia/zircon/system/uapp/xdc-test/ |
H A D | xdc-device.cpp | 23 int fd = openat(dirfd(d), de->d_name, O_RDWR);
|
/fuchsia/zircon/third_party/ulib/musl/src/legacy/ |
H A D | getpass.c | 14 if ((fd = open("/dev/tty", O_RDWR | O_NOCTTY | O_CLOEXEC)) < 0)
|
/fuchsia/zircon/third_party/ulib/musl/src/temp/ |
H A D | mkostemps.c | 21 if ((fd = open(template, flags | O_RDWR | O_CREAT | O_EXCL, 0600)) >= 0)
|
/fuchsia/zircon/system/uapp/serial-test/ |
H A D | serial-test.c | 42 fd = open(path, O_RDWR); 83 fd = open(path, O_RDWR);
|