Searched refs:O_NONBLOCK (Results 1 - 24 of 24) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/include/sys/
H A Deventfd.h14 #define EFD_NONBLOCK O_NONBLOCK
H A Dtimerfd.h10 #define TFD_NONBLOCK O_NONBLOCK
H A Dsignalfd.h15 #define SFD_NONBLOCK O_NONBLOCK
/fuchsia/zircon/system/utest/syslog/
H A Dsyslog_tests.c62 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
79 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
96 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
114 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
130 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
147 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
164 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
191 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
218 EXPECT_NE(pipe2(pipefd, O_NONBLOCK), -1, "");
236 EXPECT_NE(pipe2(pipefd, O_NONBLOCK),
[all...]
H A Dsyslog_socket_tests.cpp183 EXPECT_EQ(pipe2(pipefd, O_NONBLOCK), 0);
/fuchsia/zircon/third_party/ulib/musl/src/time/
H A D__map_file.c11 int fd = open(pathname, O_RDONLY | O_CLOEXEC | O_NONBLOCK);
/fuchsia/zircon/third_party/ulib/musl/src/mman/
H A Dshm_open.c32 return open(name, flag | O_NOFOLLOW | O_CLOEXEC | O_NONBLOCK, mode);
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dfcntl.h61 #define O_NONBLOCK 0x00000010 macro
76 #define O_NDELAY O_NONBLOCK
155 #define FNONBLOCK O_NONBLOCK
/fuchsia/zircon/system/utest/fdio/
H A Dfdio_handle_fd.c68 status |= O_NONBLOCK;
70 ASSERT_EQ(status, 0, "fcntl(FSETFL, O_NONBLOCK) failed");
73 ASSERT_EQ(status, O_NONBLOCK, "fcntl(F_GETFL) failed");
170 status |= O_NONBLOCK;
172 ASSERT_EQ(status, 0, "fcntl(FSETFL, O_NONBLOCK) failed");
249 // Set O_NONBLOCK
252 flags |= O_NONBLOCK;
254 ASSERT_EQ(ret, 0, "fcntl(FSETFL, O_NONBLOCK) failed");
256 "failed to read from socket with O_NONBLOCK");
H A Dfdio_socket.c34 EXPECT_NE(-1, fcntl(fd, F_SETFL, flags | O_NONBLOCK), "Set NONBLOCK failed");
H A Dfdio_socketpair.c66 ASSERT_EQ(fcntl(fds[0], F_SETFL, O_NONBLOCK), 0, "");
67 ASSERT_EQ(fcntl(fds[1], F_SETFL, O_NONBLOCK), 0, "");
/fuchsia/zircon/system/utest/pty/
H A Dpty-test.c71 int ps = open("/dev/misc/ptmx", O_RDWR | O_NONBLOCK);
74 int pc = openat(ps, "0", O_RDWR | O_NONBLOCK);
168 int pc1 = openat(pc, "1", O_RDWR | O_NONBLOCK);
/fuchsia/zircon/system/uapp/kstress/
H A Dmain.cpp152 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
/fuchsia/zircon/system/host/bootserver/
H A Dtftp.c139 new_flags = flags & ~O_NONBLOCK;
141 new_flags = flags | O_NONBLOCK;
H A Dbootserver.c214 if (fcntl(fd, F_SETFL, O_NONBLOCK) == 0) {
/fuchsia/zircon/system/host/netprotocol/
H A Dnetcp.c140 flags &= ~O_NONBLOCK;
142 flags |= O_NONBLOCK;
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-example.c80 fl &= ~O_NONBLOCK;
82 fl |= O_NONBLOCK;
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dinput.c194 if (flags >= 0 && flags & O_NONBLOCK) {
195 flags &=~ O_NONBLOCK;
/fuchsia/zircon/system/uapp/psutils/
H A Dkstats.c247 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
H A Dtop.c286 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
/fuchsia/zircon/system/utest/logger/
H A Dtest.cpp50 ASSERT_NE(pipe2(pipefd_, O_NONBLOCK), -1, "");
/fuchsia/zircon/system/ulib/fdio/
H A Dunistd.c185 static_assert(!(O_NONBLOCK & ZXIO_FS_MASK), "Unexpected collision with ZXIO_FS_MASK");
1226 flags |= O_NONBLOCK;
1242 uint32_t flags = fdio_flags_to_zxio(n & ~O_NONBLOCK);
1248 if (r == ZX_ERR_NOT_SUPPORTED && ((n | O_NONBLOCK) == O_NONBLOCK)) {
1255 if (n & O_NONBLOCK) {
1447 if (flags & O_NONBLOCK) {
1661 const int allowed_flags = O_NONBLOCK | O_CLOEXEC;
/fuchsia/zircon/system/core/virtcon/
H A Dmain.cpp161 while ((fd = open("/dev/misc/ptmx", O_RDWR | O_NONBLOCK)) < 0) {
/fuchsia/zircon/system/host/xdc-server/
H A Dxdc-server.cpp370 int res = fcntl(client_fd, F_SETFL, flags | O_NONBLOCK);

Completed in 198 milliseconds