Searched refs:O_RDONLY (Results 26 - 50 of 112) sorted by relevance

12345

/fuchsia/zircon/system/core/devmgr/
H A Ddevmgr-drivers.cpp115 if ((fd = openat(dirfd(dir), de->d_name, O_RDONLY)) < 0) {
140 if ((fd = open(path, O_RDONLY)) < 0) {
/fuchsia/zircon/system/uapp/namespace/
H A Dnamespace.c26 int fd = open(path, O_RDONLY);
66 int fd = open(src, O_RDONLY | O_DIRECTORY);
/fuchsia/zircon/third_party/uapp/fsck-msdosfs/
H A Dcheck.c50 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
52 dosfs = open(fname, O_RDONLY, 0);
/fuchsia/zircon/system/host/fvm/container/
H A Dcontainer.cpp18 fbl::unique_fd fd(open(path, O_RDONLY));
/fuchsia/zircon/system/host/fvm/format/
H A Dformat.cpp31 fbl::unique_fd fd(open(path, O_RDONLY));
/fuchsia/zircon/system/uapp/disk-pave/
H A Ddisk-pave.cpp89 flags->payload_fd.reset(open(argv[0], O_RDONLY));
/fuchsia/zircon/system/uapp/hidsensor/
H A Dmain.c49 int fd = open(devname, O_RDONLY);
/fuchsia/zircon/system/uapp/ihda/
H A Dzircon_device.cpp27 int fd = ::open(dev_name_, O_RDONLY);
/fuchsia/zircon/system/uapp/lsblk/
H A Dmain.c119 fd = open(info.path, O_RDONLY);
178 fd = open(info.path, O_RDONLY);
265 int fd = open(dev, O_RDONLY);
319 int fd = open(dev, O_RDONLY);
/fuchsia/zircon/system/utest/fzl/
H A Dfdio.cpp24 fbl::unique_fd dir(open("/my-tmp", O_DIRECTORY | O_RDONLY));
/fuchsia/zircon/system/utest/posixio/
H A Dmain.cpp40 O_RDONLY,
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/platform/
H A Dacmsvc.h67 #define O_RDONLY _O_RDONLY macro
/fuchsia/zircon/third_party/ulib/ngunwind/include/ngunwind/private/
H A Delfxx.h75 fd = open (path, O_RDONLY);
/fuchsia/zircon/system/utest/fs/
H A Dtest-access.cpp36 fd = open(filename, O_RDONLY, 0644);
102 ASSERT_LT(open(filename, O_RDONLY | O_TRUNC | O_CREAT, 0644), 0);
124 // Directories should only be openable with O_RDONLY
125 fd = open(filename, O_RDONLY, 0644);
H A Dtest-rename.c126 fd = open("::dir/file", O_RDONLY, 06444);
195 int foofd = open("::foo", O_RDONLY | O_DIRECTORY, 0644);
197 int barfd = open("::bar", O_RDONLY | O_DIRECTORY, 0644);
/fuchsia/zircon/system/ulib/fs-host/
H A Dcommon.cpp51 {"check", Command::kFsck, O_RDONLY, ArgType::kNone,
53 {"fsck", Command::kFsck, O_RDONLY, ArgType::kNone,
61 {"ls", Command::kLs, O_RDONLY, ArgType::kOne,
131 fbl::unique_fd manifest_fd(open(manifest_path, O_RDONLY, 0644));
287 open_flags = read_only_ ? O_RDONLY : CMDS[i].flags;
/fuchsia/zircon/system/uapp/audio/
H A Dwav-common.cpp34 ? O_RDONLY
/fuchsia/zircon/system/uapp/clock/
H A Dclock.c65 int rtc_fd = open_rtc(path, O_RDONLY);
/fuchsia/zircon/system/utest/namespace/
H A Dnamespace-test.c43 int fd = open(NS[n].remote, O_RDONLY | O_DIRECTORY);
/fuchsia/zircon/system/utest/blobfs/
H A Dblobfs.cpp414 fbl::unique_fd fd(open(mount_path, O_RDONLY | O_DIRECTORY));
434 int flags = read_only_ ? O_RDONLY : O_RDWR;
607 fbl::unique_fd fd(open(MOUNT_PATH, O_RDONLY | O_DIRECTORY));
651 fd.reset(open(info->path, O_RDONLY));
686 fd.reset(open(info->path, O_RDONLY));
715 fd.reset(open(info->path, O_RDONLY));
730 fd.reset(open(info->path, O_RDONLY));
750 fd.reset(open(info->path, O_RDONLY));
773 fd.reset(open(info->path, O_RDONLY));
789 fd.reset(open(info->path, O_RDONLY));
[all...]
/fuchsia/zircon/system/core/netsvc/
H A Dnetfile.c71 case O_RDONLY:
73 netfile.fd = open(filename, O_RDONLY);
/fuchsia/zircon/system/host/blobfs/
H A Dmain.cpp20 fbl::unique_fd data_fd(open(path, O_RDONLY, 0644));
149 fbl::unique_fd data_fd(open(path, O_RDONLY, 0644));
/fuchsia/zircon/system/uapp/df/
H A Dmain.cpp178 fd.reset(open(dirs[i], O_RDONLY | O_ADMIN));
180 fd.reset(open(dirs[i], O_RDONLY));
/fuchsia/zircon/system/uapp/minfs/
H A Dmain.cpp74 {"check", do_minfs_check, O_RDONLY, "check filesystem integrity"},
75 {"fsck", do_minfs_check, O_RDONLY, "check filesystem integrity"},
/fuchsia/zircon/system/uapp/lz4/
H A Dmain.c33 infd = open(infile, O_RDONLY);
129 infd = open(infile, O_RDONLY);

Completed in 105 milliseconds

12345