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/strace/
Dopen.c42 #undef O_ACCMODE
43 #define O_ACCMODE 03 macro
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h19 #define O_ACCMODE 00000003 macro
/external/strace/tests/
Dopenat.c83 { ARG_STR(O_ACCMODE) } in main()
/external/strace/tests-m32/
Dopenat.c83 { ARG_STR(O_ACCMODE) } in main()
/external/strace/tests-mx32/
Dopenat.c83 { ARG_STR(O_ACCMODE) } in main()
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c167 if ((rval = (fcntl(fd0, F_GETFL, 0) & O_ACCMODE)) != in main()
/external/minijail/linux-x86/
Dlibconstants.gen.c689 #ifdef O_ACCMODE
690 { "O_ACCMODE", (unsigned long) O_ACCMODE },
/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/mksh/src/
Dshf.c88 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD : in shf_open()
89 ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR); in shf_open()
108 switch (flags & O_ACCMODE) { in shf_open_hlp()
Dsh.h484 #ifndef O_ACCMODE
486 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
/external/python/cpython2/Lib/plat-atheos/
DIN.py615 O_ACCMODE = 0003 variable
616 O_RWMASK = O_ACCMODE
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c30 #define ACC_MODE(x) ("\000\004\002\006"[(x)&O_ACCMODE])
/external/toybox/toys/pending/
Dlsof.c99 flags &= O_ACCMODE; in fill_flags()
/external/python/cpython2/Lib/plat-irix6/
DFILE.py632 O_ACCMODE = 3 variable
/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.cc369 EXPECT_EQ(O_RDONLY, fcntl(handle_fd, F_GETFL) & O_ACCMODE) in TEST()
/external/ppp/pppd/
Dtty.c497 if (fdflags != -1 && (fdflags & O_ACCMODE) == O_RDWR) in tty_check_options()
/external/valgrind/include/vki/
Dvki-darwin.h266 #define VKI_O_ACCMODE O_ACCMODE
/external/toybox/lib/
Dlib.c620 if (!*argv) function((flags & O_ACCMODE) != O_RDONLY ? 1 : 0, "-"); in loopfiles_rw()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c3849 if ((open_flags & O_ACCMODE) == O_WRONLY) { in tdb_open_ex()
3858 if ((open_flags & O_ACCMODE) == O_RDONLY) { in tdb_open_ex()

12