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

123456789

/haiku/src/build/libroot/
H A Dfs_attr_generic.cpp137 int fd = open("/dev/urandom", O_RDONLY);
139 fd = open("/dev/random", O_RDONLY);
546 int attrFD = fs_fopen_attr(fd, attribute, type, O_RDONLY);
653 int typeFD = open(typePath.c_str(), O_RDONLY);
H A Dfs_darwin.cpp152 int symlinkfd = open(path, O_RDONLY | O_SYMLINK);
173 int fullfd = open(fullPath, O_RDONLY | O_SYMLINK);
/haiku/src/system/libroot/posix/musl/misc/
H A Dnftw.c69 dfd = open(path, O_RDONLY);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_main.cpp77 int fd = open("/dev/null", O_RDONLY);
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dduckduckgo_request.cpp89 fd = open(FAKE_INPUT, O_RDONLY, 0644);
/haiku/src/system/libroot/posix/crypt/
H A Dcrypt.cpp108 int fd = open("/dev/random", O_RDONLY, 0);
/haiku/src/bin/
H A Dfstrim.cpp206 int fd = open(path, O_RDONLY);
/haiku/src/kits/storage/
H A DMime.cpp113 int fd = open(device, O_RDONLY);
226 int fd = open(device, O_RDONLY);
H A DNode.cpp564 fFd = _kern_open(fd, path, O_RDONLY | O_CLOEXEC | traverseFlag, 0);
602 O_RDONLY | O_CLOEXEC | traverseFlag, 0);
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp317 int fd = open(partition->path, O_RDONLY);
379 int device = open(deviceName, O_RDONLY);
/haiku/src/build/libbe/storage/
H A DNode.cpp554 fFd = _kern_open(fd, path, O_RDONLY | O_CLOEXEC | traverseFlag, 0);
592 O_RDONLY | O_CLOEXEC | traverseFlag, 0);
H A DFile.cpp313 && ((fMode & O_ACCMODE) == O_RDONLY
/haiku/src/apps/haikudepot/util/
H A DStorageUtils.cpp91 BFile file(path.Path(), O_RDONLY);
333 BFile file(path.Path(), O_RDONLY);
/haiku/src/kits/tracker/
H A DModel.cpp437 (uint32)(writable ? O_RDWR : O_RDONLY));
988 BFile file(&entry, O_RDONLY);
1100 BFile file(EntryRef(), O_RDONLY); local
1177 BFile file(EntryRef(), O_RDONLY); local
1263 BFile file(EntryRef(), O_RDONLY); local
1286 BFile file(EntryRef(), O_RDONLY); local
/haiku/src/system/boot/loader/
H A Dvfs.cpp271 int fd = open_from(this, linkPath, O_RDONLY);
599 O_RDONLY);
763 if (gRoot->Open(&cookie, O_RDONLY) == B_OK) {
771 if (directory->Open(&subCookie, O_RDONLY) == B_OK) {
1221 error = dir->directory->Open(&dir->cookie, O_RDONLY);
/haiku/src/libs/bsd/
H A Dfts.c240 (sp->fts_rfd = open(".", O_RDONLY | O_CLOEXEC, 0)) < 0)
365 if ((p->fts_symfd = open(".", O_RDONLY | O_CLOEXEC,
458 open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) {
597 if ((fd = open(".", O_RDONLY | O_CLOEXEC, 0)) < 0)
1198 if (fd < 0 && (newfd = open(path, O_RDONLY | O_DIRECTORY |
/haiku/src/kits/media/
H A DMediaFile.cpp30 _InitReader(new(std::nothrow) BFile(ref, O_RDONLY));
47 _InitReader(new(std::nothrow) BFile(ref, O_RDONLY), NULL, flags);
128 _InitReader(new(std::nothrow) BFile(ref, O_RDONLY));
/haiku/src/system/runtime_loader/
H A Druntime_loader.cpp255 return _kern_open(-1, path, O_RDONLY, 0);
311 fd = _kern_open(-1, name, O_RDONLY, 0);
701 int fd = _kern_open(-1, path, O_RDONLY, 0);
/haiku/src/libs/uuid/
H A Dgen_uuid.c81 fd = open("/dev/urandom", O_RDONLY);
83 fd = open("/dev/random", O_RDONLY | O_NONBLOCK);
/haiku/src/tests/kits/storage/virtualdrive/
H A Dvirtualdrive.cpp185 int fd = open(initInfo->file_name, (readOnly ? O_RDONLY : O_RDWR));
574 gControlDeviceFD = open(path, O_RDONLY);
/haiku/src/system/kernel/disk_device_manager/
H A DKPartitioningSystem.cpp70 if (partition->Open(O_RDONLY, &fd) != B_OK)
92 status_t result = partition->Open(O_RDONLY, &fd);
/haiku/src/system/libroot/os/
H A Ddriver_settings.cpp793 file = open(path, O_RDONLY);
795 file = open(driverName, O_RDONLY);
/haiku/src/apps/mail/
H A DEnclosures.cpp205 BFile file(&ref, O_RDONLY);
470 BFile file(&fRef, O_RDONLY);
/haiku/src/kits/storage/disk_device/
H A DDiskDevice.cpp131 int fd = open(fDeviceData->path, O_RDONLY);
/haiku/src/tools/fs_shell/
H A Dstat_util.cpp200 mode |= O_RDONLY;

Completed in 153 milliseconds

123456789