Searched refs:O_ACCMODE (Results 1 - 13 of 13) sorted by relevance

/haiku/src/system/libroot/posix/glibc/libio/
H A Diofdopen.c94 #ifndef O_ACCMODE
95 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
100 if (((fd_flags & O_ACCMODE) == O_RDONLY && !(read_write & _IO_NO_WRITES))
101 || ((fd_flags & O_ACCMODE) == O_WRONLY && !(read_write & _IO_NO_READS)))
/haiku/headers/posix/
H A Dfcntl.h37 #define O_ACCMODE 0x0003 /* mask to get the access modes above */ macro
38 #define O_RWMASK O_ACCMODE
/haiku/src/build/libbe/storage/
H A DFile.cpp313 && ((fMode & O_ACCMODE) == O_RDONLY
314 || (fMode & O_ACCMODE) == O_RDWR));
328 && ((fMode & O_ACCMODE) == O_WRONLY
329 || (fMode & O_ACCMODE) == O_RDWR));
/haiku/src/servers/midi/
H A DDeviceWatcher.cpp248 if ((flags & O_ACCMODE) != O_RDONLY) {
255 if ((flags & O_ACCMODE) != O_WRONLY) {
/haiku/src/system/kernel/fs/
H A Dfifo.cpp636 if ((openMode & O_ACCMODE) == O_WRONLY || (openMode & O_ACCMODE) == O_RDWR)
639 if ((openMode & O_ACCMODE) == O_RDONLY || (openMode & O_ACCMODE) == O_RDWR)
671 if ((openMode & O_ACCMODE) == O_WRONLY || (openMode & O_ACCMODE) == O_RDWR) {
676 if ((openMode & O_ACCMODE) == O_RDONLY || (openMode & O_ACCMODE) == O_RDWR) {
/haiku/src/system/boot/loader/file_systems/packagefs/
H A Dpackagefs.cpp559 if ((mode & O_ACCMODE) != O_RDONLY && (mode & O_ACCMODE) != O_RDWR)
720 if ((mode & O_ACCMODE) != O_RDONLY && (mode & O_ACCMODE) != O_RDWR)
/haiku/src/build/libroot/
H A Dfs_descriptors.cpp361 if ((fOpenMode & O_ACCMODE) != O_WRONLY
362 && (fOpenMode & O_ACCMODE) != O_RDWR) {
/haiku/src/servers/media/
H A DMediaFilesManager.cpp437 bool createFile = (mode & O_ACCMODE) != O_RDONLY;
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dwin32_io.c451 switch (flags & O_ACCMODE) {
808 mode = flags & O_ACCMODE;
911 mode = flags & O_ACCMODE;
/haiku/src/preferences/keymap/
H A DKeymapWindow.cpp1067 (mode & O_ACCMODE) != O_RDONLY);
/haiku/src/apps/powerstatus/
H A DPowerStatusView.cpp860 (mode & O_ACCMODE) != O_RDONLY);
/haiku/headers/private/fs_shell/
H A Dfssh_api_wrapper.h774 #define O_ACCMODE FSSH_O_ACCMODE macro
/haiku/src/system/kernel/vm/
H A Dvm.cpp2185 if ((openMode & O_ACCMODE) == O_WRONLY
2188 && (openMode & O_ACCMODE) == O_RDONLY)) {
2194 if ((openMode & O_ACCMODE) == O_RDWR)

Completed in 159 milliseconds