Lines Matching defs:openMode

55 	\param openMode the mode in which the file should be opened
56 \see SetTo() for values for \a openMode
58 BFile::BFile(const entry_ref *ref, uint32 openMode)
63 SetTo(ref, openMode);
70 \param openMode the mode in which the file should be opened
71 \see SetTo() for values for \a openMode
73 BFile::BFile(const BEntry *entry, uint32 openMode)
78 SetTo(entry, openMode);
85 \param openMode the mode in which the file should be opened
86 \see SetTo() for values for \a openMode
88 BFile::BFile(const char *path, uint32 openMode)
93 SetTo(path, openMode);
103 \param openMode the mode in which the file should be opened
104 \see SetTo() for values for \a openMode
106 BFile::BFile(const BDirectory *dir, const char *path, uint32 openMode)
111 SetTo(dir, path, openMode);
132 \param openMode the mode in which the file should be opened
133 \a openMode must be a bitwise or of exactly one of the flags
146 - \c B_BAD_VALUE: \c NULL \a ref or bad \a openMode.
157 BFile::SetTo(const entry_ref *ref, uint32 openMode)
165 openMode, DEFFILEMODE & ~__gUmask);
168 fMode = openMode;
183 \param openMode the mode in which the file should be opened
186 - \c B_BAD_VALUE: \c NULL \a entry or bad \a openMode.
199 BFile::SetTo(const BEntry *entry, uint32 openMode)
208 int fd = _kern_open(entry->fDirFd, entry->fName, openMode,
212 fMode = openMode;
226 \param openMode the mode in which the file should be opened
229 - \c B_BAD_VALUE: \c NULL \a path or bad \a openMode.
240 BFile::SetTo(const char *path, uint32 openMode)
247 int fd = _kern_open(-1, path, openMode, DEFFILEMODE & ~__gUmask);
250 fMode = openMode;
267 \param openMode the mode in which the file should be opened
269 - \c B_BAD_VALUE: \c NULL \a dir or \a path or bad \a openMode.
282 BFile::SetTo(const BDirectory *dir, const char *path, uint32 openMode)
289 int fd = _kern_open(dir->fDirFd, path, openMode, DEFFILEMODE & ~__gUmask);
292 fMode = openMode;