Searched refs:O_RDONLY (Results 76 - 100 of 112) sorted by relevance

12345

/fuchsia/zircon/system/utest/fs/
H A Dtest-append.cpp194 int fd = open("::append-atomic", O_RDONLY);
H A Dtest-persist.cpp136 int fd = open(files[i], O_RDONLY, 0644);
/fuchsia/zircon/system/utest/pty/
H A Dpty-test.c211 int root_dir = open("/", O_DIRECTORY | O_RDONLY);
/fuchsia/zircon/system/utest/runtests-utils/
H A Druntests-utils-test-utils.cpp57 fbl::unique_fd input_fd{open(file.data(), O_RDONLY)};
/fuchsia/zircon/third_party/ulib/ngunwind/src/
H A Dos-linux.h75 mi->fd = open (path, O_RDONLY);
/fuchsia/zircon/system/ulib/fdio/
H A Dunistd.c182 static_assert(!(O_RDONLY & ZXIO_FS_MASK), "Unexpected collision with ZXIO_FS_MASK");
202 case O_RDONLY:
229 result |= O_RDONLY;
515 fdio_flags_to_zxio(O_RDONLY | O_DIRECTORY), 0, io);
670 __fdio_open(&fdio_cwd_handle, fdio_cwd_path, O_RDONLY | O_DIRECTORY, 0);
1488 if ((r = __fdio_open_at(&io, dirfd, path, O_RDONLY | O_CREAT | O_EXCL, mode)) < 0) {
1787 if ((r = __fdio_open(&io, path, O_RDONLY | O_DIRECTORY, 0)) < 0) {
1822 int fd = open(name, O_RDONLY | O_DIRECTORY);
2330 int fd = open(path, O_RDONLY | O_CLOEXEC);
/fuchsia/zircon/system/uapp/hid/
H A Dmain.cpp305 int fd = openat(dirfd, fn, O_RDONLY);
328 int dirfd = open(DEV_INPUT, O_DIRECTORY|O_RDONLY);
/fuchsia/zircon/system/ulib/minfs/
H A Dhost.cpp176 case O_RDONLY:
442 zx_status_t status = fakeFs.fake_vfs->Open(fakeFs.fake_root, &vn, path, &path, O_RDONLY, 0);
/fuchsia/zircon/system/host/bootserver/
H A Dtftp.c45 xd->fd = open(filename, O_RDONLY);
/fuchsia/zircon/system/host/netprotocol/
H A Dnetcp.c50 int fd = open(filename, O_RDONLY);
/fuchsia/zircon/system/ulib/fs-test-utils/
H A Dperftest.cpp143 fbl::unique_fd fd(open(block_device_path.c_str(), O_RDONLY));
/fuchsia/zircon/system/ulib/fvm/
H A Dfvm-lz4.cpp305 infd.reset(open(infile, O_RDONLY));
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-example.c164 int fd = open(filename, O_RDONLY);
/fuchsia/zircon/system/utest/fs-bench/
H A Dfs-bench.cpp56 fbl::unique_fd fd(open(GetBigFilePath(*fixture).c_str(), O_RDONLY));
/fuchsia/zircon/system/utest/memfs/
H A Dmemfs-tests.cpp178 int fd = open("/mytmp", O_DIRECTORY | O_RDONLY);
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dinput.c419 if ((fd = open(fname, O_RDONLY)) < 0) {
H A Dredir.c177 if ((f = open(fname, O_RDONLY)) < 0)
/fuchsia/zircon/system/utest/ethernet/
H A Dethernet.cpp64 int ctlfd = open(kTapctl, O_RDONLY);
95 int devfd = openat(dirfd, fn, O_RDONLY);
131 int ethdir = open(kEthernetDir, O_RDONLY);
/fuchsia/zircon/system/core/devmgr/
H A Dfshost.cpp153 int dirfd = open("/dev/misc", O_DIRECTORY | O_RDONLY);
/fuchsia/zircon/system/uapp/biotime/
H A Dbiotime.cpp354 if ((fd = open(device_filename, O_RDONLY)) < 0) {
/fuchsia/zircon/system/ulib/inet6/
H A Dnetifc.c374 if ((dirfd = open("/dev/class/ethernet", O_DIRECTORY|O_RDONLY)) < 0) {
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/
H A Dmkfs_msdos.c224 } else if ((fd = open(fname, o.no_create ? O_RDONLY : O_RDWR)) == -1) {
349 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) {
/fuchsia/zircon/system/core/netsvc/
H A Dtftp.c90 if (netfile_open(filename, O_RDONLY, &file_size) == 0) {
/fuchsia/zircon/system/host/minfs/
H A Dmain.cpp84 if (FileWrapper::Open(src_path, O_RDONLY, 0, &src) < 0) {
/fuchsia/zircon/system/host/xdc-server/
H A Dxdc-server.cpp179 socket_lock_fd_.reset(open(XDC_LOCK_PATH, O_CREAT | O_RDONLY, 0666));

Completed in 149 milliseconds

12345