Home
last modified time | relevance | path

Searched refs:O_NDELAY (Results 1 - 25 of 84) sorted by relevance

1234

/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl01.c16 * 2. Checking F_SETFL cmd with each valid flag (O_NDELAY, O_APPEND).
103 if (fcntl(fd[2], F_SETFL, O_NDELAY) == -1) in main()
104 tst_resm(TBROK | TERRNO, "fcntl(.., O_NDELAY) failed"); in main()
107 if ((flags & (O_NDELAY | O_WRONLY)) == 0) in main()
109 flags, O_NDELAY | O_WRONLY); in main()
121 if (fcntl(fd[2], F_SETFL, O_NDELAY | O_APPEND) < 0) in main()
122 tst_resm(TFAIL, "fcntl(.., O_NDELAY|O_APPEND) failed"); in main()
125 if ((flags & (O_NDELAY | O_APPEND | O_WRONLY)) == 0) in main()
128 O_NDELAY | O_APPEND | O_SYNC | O_WRONLY); in main()
H A Dfcntl08.c67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK)); in main()
/third_party/cups-filters/backend/
H A Dserial.c202 O_NDELAY)) == -1) in main()
836 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0) in list_devices()
876 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0) in list_devices()
883 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0) in list_devices()
895 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0) in list_devices()
979 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0) in list_devices()
997 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0) in list_devices()
1005 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0) in list_devices()
1021 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) >= 0) in list_devices()
1036 if ((fd = open(device, O_WRONLY | O_NOCTTY | O_NDELAY)) > in list_devices()
[all...]
/third_party/pulseaudio/src/modules/oss/
H A Doss-util.c56 if ((fd = pa_open_cloexec(device, O_RDWR|O_NDELAY, 0)) >= 0) { in pa_oss_open()
72 if ((fd = pa_open_cloexec(device, (*mode = O_WRONLY)|O_NDELAY, 0)) < 0) { in pa_oss_open()
73 if ((fd = pa_open_cloexec(device, (*mode = O_RDONLY)|O_NDELAY, 0)) < 0) { in pa_oss_open()
79 if ((fd = pa_open_cloexec(device, *mode|O_NDELAY, 0)) < 0) { in pa_oss_open()
399 if ((fd = pa_open_cloexec(mixer, O_RDWR|O_NDELAY, 0)) >= 0) in open_mixer()
/third_party/toybox/toys/net/
H A Dmicrocom.c44 // Open with O_NDELAY, but switch back to blocking for reads. in microcom_main()
45 TT.fd = xopen(*toys.optargs, O_RDWR | O_NOCTTY | O_NDELAY); in microcom_main()
46 if (-1==(i = fcntl(TT.fd, F_GETFL, 0)) || fcntl(TT.fd, F_SETFL, i&~O_NDELAY)) in microcom_main()
/third_party/ltp/testcases/kernel/syscalls/kill/
H A 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()
/third_party/ltp/testcases/kernel/fs/doio/
H A Dopen_flags.c141 #if O_NDELAY
142 {"O_NDELAY", O_NDELAY},
/third_party/backends/include/sane/
H A Dsanei_backend.h30 # ifdef O_NDELAY
31 # define O_NONBLOCK O_NDELAY
/third_party/musl/porting/liteos_a_newlib/kernel/include/
H A Dfcntl.h40 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Dfcntl.h21 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/porting/liteos_m/user/include/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/aarch64/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/generic/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/m68k/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/mipsn32/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/arm/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/mips/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/mips64/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/powerpc/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/powerpc64/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/s390x/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro
/third_party/musl/arch/x32/bits/
H A Dfcntl.h20 #define O_NDELAY O_NONBLOCK macro

Completed in 7 milliseconds

1234