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

12

/external/compiler-rt/SDKs/linux/usr/include/sys/
H A Dfcntl.h23 #define O_ACCMODE 0x0003 macro
/external/compiler-rt/SDKs/darwin/usr/include/sys/
H A Dfcntl.h46 #define O_ACCMODE 0x0003 /* mask for above modes */ macro
/external/bison/lib/
H A Dopen.c128 && ((flags & O_ACCMODE) == O_RDONLY
129 || (O_SEARCH != O_RDONLY && (flags & O_ACCMODE) == O_SEARCH)))
H A Dfcntl.in.h284 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
285 # undef O_ACCMODE
286 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
/external/kernel-headers/original/asm-generic/
H A Dfcntl.h18 #define O_ACCMODE 00000003 macro
/external/stlport/src/details/
H A Dfstream_unistd.cpp52 #ifndef O_ACCMODE
53 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
82 switch ( mode & O_ACCMODE ) {
H A Dfstream_stdio.cpp80 # ifndef O_ACCMODE
81 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
H A Dfstream_win32io.cpp39 #ifndef O_ACCMODE
40 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
49 switch (mode & O_ACCMODE) {
/external/bison/darwin-lib/
H A Dfcntl.h596 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
597 # undef O_ACCMODE macro
598 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) macro
/external/bison/linux-lib/
H A Dfcntl.h596 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
597 # undef O_ACCMODE macro
598 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) macro
/external/chromium_org/sandbox/linux/services/
H A Dbroker_process.cc84 const int access_mode = flags & O_ACCMODE;
101 const int creation_and_status_flags = flags & ~O_ACCMODE;
500 switch (requested_flags & O_ACCMODE) {
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
H A Dsyscall_parameters_restrictions.cc153 unsigned long denied_mask = ~(O_ACCMODE | O_APPEND | O_NONBLOCK | O_SYNC |
/external/qemu/android/utils/
H A Dmapfile.c44 } else if ((oflag & O_ACCMODE) == O_RDONLY) {
/external/mksh/src/
H A Dshf.c81 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD :
82 ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR);
101 switch (flags & O_ACCMODE) {
H A Dsh.h392 #ifndef O_ACCMODE
394 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
H A Dmain.c1488 fl &= O_ACCMODE;
/external/chromium_org/base/memory/
H A Dshared_memory_unittest.cc413 EXPECT_EQ(O_RDONLY, fcntl(handle.fd, F_GETFL) & O_ACCMODE)
/external/openssh/
H A Dsftp-server.c563 ((flags & O_ACCMODE) == O_WRONLY || (flags & O_ACCMODE) == O_RDWR))
/external/ppp/pppd/
H A Dtty.c492 if (fdflags != -1 && (fdflags & O_ACCMODE) == O_RDWR)
/external/qemu/block/
H A Draw-posix.c137 s->open_flags &= ~O_ACCMODE;
/external/valgrind/main/include/vki/
H A Dvki-darwin.h258 #define VKI_O_ACCMODE O_ACCMODE
/external/kernel-headers/original/linux/
H A Dfs.h2660 #define ACC_MODE(x) ("\004\002\006\006"[(x)&O_ACCMODE])
2661 #define OPEN_FMODE(flag) ((__force fmode_t)(((flag + 1) & O_ACCMODE) | \
/external/strace/
H A Dfile.c270 #ifdef O_ACCMODE
271 { O_ACCMODE, "O_ACCMODE" },
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dsandbox_bpf_unittest.cc805 O_ACCMODE /* 0x3 */,
/external/e2fsprogs/lib/ext2fs/
H A Dtdb.c3846 if ((open_flags & O_ACCMODE) == O_WRONLY) {
3855 if ((open_flags & O_ACCMODE) == O_RDONLY) {

Completed in 672 milliseconds

12