Searched refs:O_RDONLY (Results 51 - 75 of 219) sorted by relevance

123456789

/haiku/src/bin/package/
H A Dcommand_checksum.cpp132 error = inputFileFile->SetTo(packageFileName, O_RDONLY);
H A Dcommand_create.cpp157 packageInfoFD = open(packageInfoFileName, O_RDONLY);
H A Dcommand_recompress.cpp115 error = inputFileFile->SetTo(inputPackageFileName, O_RDONLY);
/haiku/src/kits/mail/
H A Dc_mail_api.cpp135 BFile file(ref, O_RDONLY);
/haiku/src/tests/system/libroot/posix/
H A Dflock_test.cpp64 intptr_t fd = open("/etc/passwd", O_RDONLY);
/haiku/src/bin/
H A Ddriveinfo.c113 dev = open(argv[1], O_RDONLY);
H A Dversion.cpp35 BFile file(filename, O_RDONLY);
H A Dchop.c167 fd = open(fname, O_RDONLY);
H A Dbadblocks.cpp32 fd = open(dev, O_RDONLY);
H A Dfdinfo.cpp36 case O_RDONLY:
H A Deject.cpp148 fd = open(device, O_RDONLY);
/haiku/src/system/boot/loader/file_systems/bfs/
H A Dbfs.cpp37 fDevice = open_node(partition, O_RDONLY);
/haiku/src/bin/makebootable/platform/bios_ia32/
H A Dmakebootable.cpp448 int baseFD = open(baseDeviceName, O_RDONLY);
503 int baseFD = open(baseDeviceName, O_RDONLY);
548 int baseFD = open(baseDeviceName, O_RDONLY);
658 int mountFD = open(path.Path(), O_RDONLY);
/haiku/src/tests/system/kernel/
H A Dmmap_cut_tests.cpp136 gTestFd = open("/boot/system/lib/libroot.so", O_CLOEXEC | O_RDONLY);
/haiku/src/bin/pcmcia-cs/
H A Ddump_cisreg.c86 return open(fn, O_RDONLY);
98 fd = open(fn, O_RDONLY);
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/
H A Dgenerate_hashs.cpp163 int file = open(path, O_RDONLY);
255 int file = open(hashFileName, O_RDONLY);
H A Dconsistency_check.cpp134 int file = open(entry.path.c_str(), O_RDONLY);
178 int file = open(hashFileName, O_RDONLY);
/haiku/src/servers/midi/
H A DDeviceWatcher.cpp234 fd = open(path, O_RDONLY | O_EXCL);
248 if ((flags & O_ACCMODE) != O_RDONLY) {
/haiku/src/build/libroot/
H A Dfs_attr_haiku.cpp151 int fd = open(localFD.Path(), O_RDONLY | O_NOTRAVERSE);
245 int fd = open(localFD.Path(), O_NOTRAVERSE | O_RDONLY);
/haiku/src/system/kernel/disk_device_manager/
H A DKFileSystem.cpp63 if (partition->Open(O_RDONLY, &fd) != B_OK)
79 status_t result = partition->Open(O_RDONLY, &fd);
/haiku/src/libs/stdc++/legacy/
H A Dfilebuf.cc95 posix_mode = O_RDONLY, read_write = _IO_NO_WRITES;
/haiku/src/bin/addattr/
H A DaddAttr.cpp154 int fd = open(file, O_RDONLY | (resolveLinks ? 0 : O_NOTRAVERSE));
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DNode.h156 case O_RDONLY:
/haiku/src/libs/util/
H A Dpidfile.c69 fd = open(path, O_RDONLY);
/haiku/src/apps/haikudepot/server/
H A DServerIconExportUpdateProcess.cpp167 BFile *tarIo = new BFile(tarPath.Path(), O_RDONLY);

Completed in 225 milliseconds

123456789