Home
last modified time | relevance | path

Searched refs:O_NDELAY (Results 1 – 25 of 65) sorted by relevance

123

/external/strace/xlat/
Dopen_mode_flags.in90 #if defined O_NDELAY && O_NDELAY & O_NONBLOCK /* O_NDELAY is unusual */
93 /* On sparc32 O_NDELAY is erroneously defined to (0x0004 | O_NONBLOCK). */
94 /* On many architectures O_NDELAY is defined to O_NONBLOCK. */
96 # undef O_NDELAY
98 #endif /* O_NDELAY & O_NONBLOCK */
101 O_NDELAY 04
103 O_NDELAY
Dopen_mode_flags.h264 #if defined O_NDELAY && O_NDELAY & O_NONBLOCK
267 # undef O_NDELAY
271 #if defined(O_NDELAY) || (defined(HAVE_DECL_O_NDELAY) && HAVE_DECL_O_NDELAY)
273 static_assert((O_NDELAY) == (04), "O_NDELAY != 04");
276 # define O_NDELAY 04
686 #if defined O_NDELAY && O_NDELAY & O_NONBLOCK
692 # undef O_NDELAY
697 XLAT(O_NDELAY),
699 #if defined(O_NDELAY) || (defined(HAVE_DECL_O_NDELAY) && HAVE_DECL_O_NDELAY)
700 XLAT(O_NDELAY),
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c102 if (fcntl(fd[2], F_SETFL, O_NDELAY) == -1) in main()
106 if ((flags & (O_NDELAY | O_WRONLY)) == 0) in main()
108 flags, O_NDELAY | O_WRONLY); in main()
120 if (fcntl(fd[2], F_SETFL, O_NDELAY | O_APPEND) < 0) in main()
124 if ((flags & (O_NDELAY | O_APPEND | O_WRONLY)) == 0) in main()
127 O_NDELAY | O_APPEND | O_SYNC | O_WRONLY); in main()
Dfcntl08.c67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK)); in main()
Dfcntl16.c710 if (NO_NFS && run_test(O_CREAT | O_RDWR | O_TRUNC | O_NDELAY, in main()
/external/toybox/toys/net/
Dmicrocom.c43 TT.fd = xopen(*toys.optargs, O_RDWR | O_NOCTTY | O_NDELAY); in microcom_main()
44 if (-1==(i = fcntl(TT.fd, F_GETFL, 0)) || fcntl(TT.fd, F_SETFL, i&~O_NDELAY) in microcom_main()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h96 #ifndef O_NDELAY
97 #define O_NDELAY O_NONBLOCK macro
/external/libcups/scheduler/
Dcups-exec.c117 fcntl(3, F_SETFL, O_NDELAY); in main()
118 fcntl(4, F_SETFL, O_NDELAY); in main()
Dprocess.c722 fcntl(3, F_SETFL, O_NDELAY); in cupsdStartProcess()
729 fcntl(4, F_SETFL, O_NDELAY); in cupsdStartProcess()
Dcupsfilter.c882 fcntl(3, F_SETFL, O_NDELAY); in exec_filter()
889 fcntl(4, F_SETFL, O_NDELAY); in exec_filter()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill02.c727 || (fcntl(pipe1_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
733 || (fcntl(pipe2_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
739 || (fcntl(pipeA_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
745 || (fcntl(pipeB_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
/external/ltp/testcases/kernel/fs/doio/
Dopen_flags.c141 #if O_NDELAY
142 {"O_NDELAY", O_NDELAY},
Dgrowfiles.c285 O_RDWR | O_CREAT | O_NDELAY,
289 O_RDWR | O_CREAT | O_NDELAY | O_SYNC,
290 O_RDWR | O_CREAT | O_NDELAY | O_SYNC | O_BIG,
308 O_RDWR | O_CREAT | O_NDELAY,
310 O_RDWR | O_CREAT | O_SYNC | O_NDELAY,
311 O_RDWR | O_CREAT | O_APPEND | O_NDELAY,
/external/mtools/
Ddevices.c376 {"/dev/rdsk/c0t4d0s2", 'J', RJAZ(O_NDELAY)},
377 {"/dev/rdsk/c0t5d0s2", 'Z', RZIP(O_NDELAY)},
485 {"/dev/rsd4c", 'J', RJAZ(O_NDELAY)},
486 {"/dev/rsd5c", 'Z', RZIP(O_NDELAY)},
857 {"/dev/rfp020", 'A', 12,O_NDELAY,40,2, 9, 0, MDEF_ARG},
Dscsi.c95 #ifdef O_NDELAY in scsi_open()
96 | O_NDELAY in scsi_open()
Dconfig.c110 #ifdef O_NDELAY
111 { "nodelay", O_NDELAY },
897 #ifdef O_NDELAY in mtoolstest()
898 if((dev->mode & O_NDELAY)) in mtoolstest()
Dmzip.c332 #ifdef O_NDELAY in mzip()
333 | O_NDELAY in mzip()
/external/python/cpython2/Lib/
Dposixfile.py126 if 'n' in which: l_flags = l_flags | os.O_NDELAY
149 if os.O_NDELAY & l_flags: which = which + 'n'
/external/python/cpython2/Lib/plat-irix5/
DFILE.py161 O_NDELAY = 0x04 variable
/external/python/cpython2/RISCOS/Modules/
Driscosmodule.c452 #ifdef O_NDELAY in all_ins()
453 if (ins(d, "O_NDELAY", (long)O_NDELAY)) return -1; in all_ins()
/external/toybox/toys/pending/
Dgetty.c69 xopen_stdio(TT.tty_name, O_RDWR|O_NDELAY|O_CLOEXEC); in open_tty()
/external/linux-kselftest/tools/testing/selftests/net/
Dtcp_mmap.c144 fcntl(fd, F_SETFL, O_NDELAY); in child_thread()
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/
Dmod.rs63 pub const O_NDELAY: ::c_int = 0x80; constant
/external/python/cpython2/Lib/plat-irix6/
DFILE.py568 O_NDELAY = 0x04 variable
/external/libchrome/base/files/
Dfile_posix.cc485 open_flags |= O_NOCTTY | O_NDELAY; in DoInitialize()

123