/fuchsia/zircon/third_party/ulib/musl/include/sys/ |
H A D | eventfd.h | 14 #define EFD_NONBLOCK O_NONBLOCK
|
H A D | timerfd.h | 10 #define TFD_NONBLOCK O_NONBLOCK
|
H A D | signalfd.h | 15 #define SFD_NONBLOCK O_NONBLOCK
|
/fuchsia/zircon/system/utest/syslog/ |
H A D | syslog_tests.c | 62 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 D | syslog_socket_tests.cpp | 183 EXPECT_EQ(pipe2(pipefd, O_NONBLOCK), 0);
|
/fuchsia/zircon/third_party/ulib/musl/src/time/ |
H A D | __map_file.c | 11 int fd = open(pathname, O_RDONLY | O_CLOEXEC | O_NONBLOCK);
|
/fuchsia/zircon/third_party/ulib/musl/src/mman/ |
H A D | shm_open.c | 32 return open(name, flag | O_NOFOLLOW | O_CLOEXEC | O_NONBLOCK, mode);
|
/fuchsia/zircon/third_party/ulib/musl/include/ |
H A D | fcntl.h | 61 #define O_NONBLOCK 0x00000010 macro 76 #define O_NDELAY O_NONBLOCK 155 #define FNONBLOCK O_NONBLOCK
|
/fuchsia/zircon/system/utest/fdio/ |
H A D | fdio_handle_fd.c | 68 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 D | fdio_socket.c | 34 EXPECT_NE(-1, fcntl(fd, F_SETFL, flags | O_NONBLOCK), "Set NONBLOCK failed");
|
H A D | fdio_socketpair.c | 66 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 D | pty-test.c | 71 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 D | main.cpp | 152 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
|
/fuchsia/zircon/system/host/bootserver/ |
H A D | tftp.c | 139 new_flags = flags & ~O_NONBLOCK; 141 new_flags = flags | O_NONBLOCK;
|
H A D | bootserver.c | 214 if (fcntl(fd, F_SETFL, O_NONBLOCK) == 0) {
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netcp.c | 140 flags &= ~O_NONBLOCK; 142 flags |= O_NONBLOCK;
|
/fuchsia/zircon/system/ulib/tftp/ |
H A D | tftp-example.c | 80 fl &= ~O_NONBLOCK; 82 fl |= O_NONBLOCK;
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | input.c | 194 if (flags >= 0 && flags & O_NONBLOCK) { 195 flags &=~ O_NONBLOCK;
|
/fuchsia/zircon/system/uapp/psutils/ |
H A D | kstats.c | 247 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
|
H A D | top.c | 286 fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
|
/fuchsia/zircon/system/utest/logger/ |
H A D | test.cpp | 50 ASSERT_NE(pipe2(pipefd_, O_NONBLOCK), -1, "");
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | unistd.c | 185 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 D | main.cpp | 161 while ((fd = open("/dev/misc/ptmx", O_RDWR | O_NONBLOCK)) < 0) {
|
/fuchsia/zircon/system/host/xdc-server/ |
H A D | xdc-server.cpp | 370 int res = fcntl(client_fd, F_SETFL, flags | O_NONBLOCK);
|