Home
last modified time | relevance | path

Searched refs:O_ACCMODE (Results 1 – 25 of 37) sorted by relevance

12

/external/strace/xlat/
Dopen_access_modes.h15 #if defined(O_ACCMODE) || (defined(HAVE_DECL_O_ACCMODE) && HAVE_DECL_O_ACCMODE)
16 XLAT(O_ACCMODE),
Dopen_access_modes.in4 O_ACCMODE
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl04.c59 if ((TEST_RETURN & O_ACCMODE) != O_RDWR) { in verify_fcntl()
62 TEST_RETURN & O_ACCMODE, O_RDWR); in verify_fcntl()
/external/bison/lib/
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)
Dopen.c128 && ((flags & O_ACCMODE) == O_RDONLY in open()
129 || (O_SEARCH != O_RDONLY && (flags & O_ACCMODE) == O_SEARCH))) in open()
/external/strace/
Dopen.c41 #undef O_ACCMODE
42 #define O_ACCMODE 03 macro
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_file_permission.cc142 const int access_mode = flags & O_ACCMODE; in CheckOpen()
180 const int creation_and_status_flags = flags & ~O_ACCMODE; in CheckOpen()
Dbroker_file_permission_unittest.cc127 static_assert(O_ACCMODE == ((1 << kNumberOfBitsInOAccMode) - 1), in CheckPerm()
/external/bison/linux-lib/
Dfcntl.h596 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
597 # undef O_ACCMODE
598 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) macro
/external/bison/darwin-lib/
Dfcntl.h596 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
597 # undef O_ACCMODE
598 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) macro
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h18 #define O_ACCMODE 00000003 macro
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c168 if ((rval = (fcntl(fd0, F_GETFL, 0) & O_ACCMODE)) != in main()
/external/python/cpython2/Lib/plat-irix5/
DFILE.py204 O_ACCMODE = 3 variable
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat01.c160 if ((oflag & O_ACCMODE) == O_RDWR) in main()
/external/minijail/linux-x86/
Dlibconstants.gen.c689 #ifdef O_ACCMODE
690 { "O_ACCMODE", (unsigned long) O_ACCMODE },
/external/bison/m4/
Dfcntl-o.m445 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc232 const uint64_t kAllowedMask = O_ACCMODE | O_APPEND | O_NONBLOCK | O_SYNC | in RestrictFcntlCommands()
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c30 #define ACC_MODE(x) ("\000\004\002\006"[(x)&O_ACCMODE])
/external/mksh/src/
Dshf.c86 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD : in shf_open()
87 ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR); in shf_open()
106 switch (flags & O_ACCMODE) { in shf_open_hlp()
/external/python/cpython2/Lib/plat-atheos/
DIN.py615 O_ACCMODE = 0003 variable
616 O_RWMASK = O_ACCMODE
/external/python/cpython2/Lib/plat-irix6/
DFILE.py632 O_ACCMODE = 3 variable
/external/toybox/toys/pending/
Dlsof.c104 flags &= O_ACCMODE; in fill_flags()
/external/libbrillo/brillo/streams/
Dfile_stream.cc303 int file_access_mode = (fd_flags & O_ACCMODE); in FromFileDescriptor()
/external/libxml2/python/
Dtypes.c38 switch (flags & O_ACCMODE) { in libxml_PyFileGet()
/external/libchrome/base/memory/
Dshared_memory_unittest.cc367 EXPECT_EQ(O_RDONLY, fcntl(handle_fd, F_GETFL) & O_ACCMODE) in TEST()

12