Searched refs:O_RDWR (Results 101 - 125 of 129) sorted by relevance

123456

/fuchsia/zircon/system/uapp/nand-util/
H A Dmain.cpp67 explicit NandBroker(const char* path) : device_(open(path, O_RDWR)) {}
/fuchsia/zircon/system/utest/fs/
H A Dtest-rw-workers.c168 ASSERT_GT((w->fd = open(w->name, O_RDWR | O_CREAT | O_EXCL, 0644)), 0, "");
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dredir.c182 if ((f = open(fname, O_RDWR|O_CREAT, 0666)) < 0)
/fuchsia/zircon/system/host/fvm/container/
H A Dfvm.cpp46 fd_.reset(open(path, O_RDWR, 0644));
49 fd_.reset(open(path, O_RDWR | O_CREAT | O_EXCL, 0644));
288 fbl::unique_fd fd(open(path, O_RDWR | O_CREAT, 0644));
H A Dsparse.cpp85 fd_.reset(open(path, O_CREAT | O_RDWR, 0666));
/fuchsia/zircon/system/uapp/disk-pave/
H A Ddevice-partitioner.cpp81 fbl::unique_fd devfd(openat(dirfd, filename, O_RDWR));
238 fbl::unique_fd fd(openat(dirfd(d), de->d_name, O_RDWR)); local
273 fbl::unique_fd fd(open(gpt_path.c_str(), O_RDWR));
H A Dpave-lib.cpp364 return fbl::unique_fd(open(fvm_path, O_RDWR));
/fuchsia/zircon/system/core/devmgr/
H A Dblock-watcher.cpp393 if ((fd = openat(dirfd, name, O_RDWR)) < 0) {
H A Ddevmgr.cpp403 if ((fd = open(device, O_RDWR)) >= 0) {
/fuchsia/zircon/system/uapp/display-test/
H A Dmain.cpp50 int vfd = open("/dev/class/display-controller/000", O_RDWR);
/fuchsia/zircon/system/uapp/netdump/
H A Dnetdump.c413 if ((fd = open(options.device, O_RDWR)) < 0) {
/fuchsia/zircon/system/ulib/inet6/
H A Dnetifc.c260 if ((netfd = openat(dirfd, fn, O_RDWR)) < 0) {
/fuchsia/zircon/system/ulib/task-utils/
H A Dwalker.cpp330 int fd = open("/dev/misc/sysinfo", O_RDWR);
/fuchsia/zircon/system/ulib/zxcrypt/
H A Dvolume.cpp224 fbl::unique_fd fd(open(path.c_str(), O_RDWR));
240 fd.reset(open(path.c_str(), O_RDWR));
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/
H A Dmkfs_msdos.c215 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0644);
224 } else if ((fd = open(fname, o.no_create ? O_RDONLY : O_RDWR)) == -1) {
/fuchsia/zircon/system/core/virtcon/
H A Dvc-display.cpp553 if ((dc_fd= open("/dev/class/display-controller/000/virtcon", O_RDWR)) >= 0) {
/fuchsia/zircon/system/dev/nand/broker/test/
H A Dbroker-test.cpp35 broker->reset(openat(dir_fd, filename, O_RDWR));
/fuchsia/zircon/system/uapp/disk-pave/test/
H A Ddevice-partitioner-test.cpp141 fbl::unique_fd fd(open(path.data(), O_RDWR));
/fuchsia/zircon/system/ulib/fdio/
H A Dnamespace.c591 zx_status_t r = zxrio_open_handle(ns->root.remote, "", O_RDWR, 0, &io);
H A Dunistd.c184 static_assert(!(O_RDWR & ZXIO_FS_MASK), "Unexpected collision with ZXIO_FS_MASK");
208 case O_RDWR:
225 result |= O_RDWR;
/fuchsia/zircon/system/ulib/framebuffer/
H A Dframebuffer.c69 dc_fd = open("/dev/class/display-controller/000", O_RDWR);
/fuchsia/zircon/system/utest/hypervisor/
H A Dguest.cpp91 fbl::unique_fd fd(open(kResourcePath, O_RDWR));
/fuchsia/zircon/system/utest/ramdisk/
H A Dramdisk.cpp50 int fd = open(ramdisk_path, O_RDWR);
182 fbl::unique_fd fd(open(ramdisk_path, O_RDWR));
215 int fd = open(ramdisk_path, O_RDWR);
301 int fd = open(ramdisk_path, O_RDWR);
/fuchsia/zircon/system/utest/thread-state/
H A Dthread-state.cpp75 int fd = open("/dev/misc/sysinfo", O_RDWR);
/fuchsia/zircon/system/uapp/gpt/
H A Dgpt.c99 int fd = open(dev, O_RDWR);

Completed in 117 milliseconds

123456