Searched refs:O_ACCMODE (Results 1 – 14 of 14) sorted by relevance
23 #define DMA_HEAP_VALID_FD_FLAGS (O_CLOEXEC | O_ACCMODE)
28 import static android.system.OsConstants.O_ACCMODE;1377 if ((mode & O_ACCMODE) == O_RDWR) { in translateModePosixToString()1379 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToString()1381 } else if ((mode & O_ACCMODE) == O_RDONLY) { in translateModePosixToString()1398 if ((mode & O_ACCMODE) == O_RDWR) { in translateModePosixToPfd()1400 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToPfd()1402 } else if ((mode & O_ACCMODE) == O_RDONLY) { in translateModePosixToPfd()
24 #define O_ACCMODE 00000003 macro
26 import static android.system.OsConstants.O_ACCMODE;234 if ((mode & O_ACCMODE) == O_RDWR) { in translateModePosixToString()236 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToString()238 } else if ((mode & O_ACCMODE) == O_RDONLY) { in translateModePosixToString()257 if ((mode & O_ACCMODE) == O_RDWR) { in translateModePosixToPfd()259 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToPfd()261 } else if ((mode & O_ACCMODE) == O_RDONLY) { in translateModePosixToPfd()
63 bool read_only = ((flags & O_ACCMODE) == O_RDONLY); in OpenFileWithFlags()
73 MACRO(O_ACCMODE); in fcntl_h()
109 if ((flags != -1) && ((flags & O_ACCMODE) == O_WRONLY)) return fd; in OpenKmsg()
95 if (flags & libc::O_ACCMODE as u32) == mode as u32 { in check_access_mode()
321 if ((f->mode & O_ACCMODE) == O_RDONLY && expect_zeros) { in verity_read()
279 int tmp = fd_flags & O_ACCMODE; in fdopen()280 if (tmp != O_RDWR && (tmp != (mode_flags & O_ACCMODE))) { in fdopen()
294 read_only_mode_ = ((flags & O_ACCMODE) == O_RDONLY); in Open()
94 bool read_only = (mode & O_ACCMODE) == O_RDONLY; in OpenFile()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
27888 field public static final int O_ACCMODE;