Searched refs:O_RDWR (Results 76 - 100 of 129) sorted by relevance

123456

/fuchsia/zircon/system/utest/namespace/
H A Dnamespace-test.c76 int fd = open("fake/tmp/newfile", O_CREAT | O_RDWR | O_EXCL);
/fuchsia/zircon/system/uapp/minfs/
H A Dmain.cpp72 {"create", do_minfs_mkfs, O_RDWR | O_CREAT, "initialize filesystem"},
73 {"mkfs", do_minfs_mkfs, O_RDWR | O_CREAT, "initialize filesystem"},
/fuchsia/zircon/system/uapp/usb-test-fwloader/
H A Dusb-test-fwloader.cpp37 int fd = openat(dirfd, filename, O_RDWR);
75 int fd = openat(dirfd(d), de->d_name, O_RDWR);
/fuchsia/zircon/system/utest/fs/
H A Dtest-threading.cpp95 int fd = open("::exclusive", O_RDWR | O_CREAT | O_EXCL);
226 int fd = open("::link_start", O_RDWR | O_CREAT | O_EXCL);
H A Dtest-random-op.c184 int fd = open("::/a", O_RDWR+O_CREAT, 0666);
208 int fd = open("::/b", O_RDWR+O_CREAT, 0666);
370 int fd = open(fname, O_RDWR+O_EXCL+O_CREAT, 0666);
432 w->fd = open(fname, O_RDWR+O_CREAT+O_EXCL, 0666);
435 w->fd = open(fname, O_RDWR+O_EXCL);
/fuchsia/zircon/system/utest/memfs/
H A Dfidl-tests.cpp42 fd.reset(openat(dirfd(d), filename, O_CREAT | O_RDWR)); local
133 fd.reset(openat(dirfd(d), filename, O_CREAT | O_RDWR)); local
/fuchsia/zircon/system/core/virtcon/
H A Dmain.cpp139 int fd = openat(vc->fd, "0", O_RDWR);
161 while ((fd = open("/dev/misc/ptmx", O_RDWR | O_NONBLOCK)) < 0) {
168 int client_fd = openat(fd, "0", O_RDWR);
/fuchsia/zircon/system/ulib/fs-test-utils/
H A Dfixture.cpp126 fbl::unique_fd fd(open(block_device_path.c_str(), O_RDWR));
155 fbl::unique_fd fvm_fd(open(fvm_device_path.c_str(), O_RDWR));
235 fbl::unique_fd fd(open(GetFsBlockDevice().c_str(), O_RDWR));
/fuchsia/zircon/system/uapp/hid/
H A Dmain.cpp356 int fd = open(argv[0], O_RDWR);
408 int fd = open(argv[0], O_RDWR);
480 int fd = open(argv[0], O_RDWR);
537 int fd = open(argv[0], O_RDWR);
/fuchsia/zircon/system/uapp/kstress/
H A Dmain.cpp29 int fd = open("/dev/misc/sysinfo", O_RDWR);
/fuchsia/zircon/system/uapp/sysconfig/
H A Dsysconfig.c58 int fd = open(path, O_RDWR);
/fuchsia/zircon/system/uapp/xdc-test/
H A Dxdc-test.cpp158 int file_flags = download ? (O_RDWR | O_CREAT) : O_RDONLY;
/fuchsia/zircon/system/utest/fuzz-utils/
H A Dfixture.cpp89 fbl::unique_fd fd(open(pathname, O_RDWR | O_CREAT, 0777));
/fuchsia/zircon/third_party/uapp/fsck-msdosfs/
H A Dcheck.c50 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dfcntl.h43 #define O_RDWR 02 macro
/fuchsia/zircon/system/ulib/minfs/
H A Dhost.cpp107 fbl::unique_fd fd(open(path, O_RDWR));
131 fbl::unique_fd fd(open(path, O_RDWR));
182 case O_RDWR:
/fuchsia/zircon/system/utest/blobfs-bench/
H A Dblobfs-bench.cpp185 fbl::unique_fd fd(open(new_blob->path.c_str(), O_CREAT | O_RDWR));
215 fbl::unique_fd fd(open(new_blob->path.c_str(), O_CREAT | O_RDWR));
/fuchsia/zircon/system/utest/zxcrypt/
H A Dtest-device.cpp68 fbl::unique_fd fd(open(path, O_RDWR));
284 ramdisk_.reset(open(ramdisk_path_, O_RDWR));
/fuchsia/zircon/system/core/pwrbtn-monitor/
H A Dpwrbtn-monitor.cpp129 if ((raw_fd = openat(dirfd, name, O_RDWR)) < 0) {
/fuchsia/zircon/system/uapp/ethtool/
H A Dethtool.c142 if ((fd = open(options->device, O_RDWR)) < 0) {
/fuchsia/zircon/system/uapp/i2c/
H A Di2c.c253 int fd = open(dev, O_RDWR);
/fuchsia/zircon/system/uapp/iotime/
H A Diotime.c92 return open(ramdisk_path, O_RDWR);
/fuchsia/zircon/system/uapp/usbctl/
H A Dusbctl.c86 int fd = open(devname, O_RDWR);
/fuchsia/zircon/system/utest/fs-host/
H A Dtest-rw-workers.cpp161 if ((w->fd = emu_open(w->name, O_RDWR | O_CREAT | O_EXCL, 0644)) < 0) {
/fuchsia/zircon/system/uapp/netreflector/
H A Dnetreflector.c191 if ((fd = open(ethdev, O_RDWR)) < 0) {

Completed in 85 milliseconds

123456