| /src/tests/lib/libc/sys/ |
| t_pollts.c | 78 pfds[0].revents = -1; 79 pfds[1].revents = -1; 82 ATF_REQUIRE_EQ_MSG(pfds[0].revents, 0, "got: %d", pfds[0].revents); 83 ATF_REQUIRE_EQ_MSG(pfds[1].revents, -1, "got: %d", pfds[1].revents); 86 pfds[0].revents = -1; 87 pfds[1].revents = -1; 90 ATF_REQUIRE_EQ_MSG(pfds[0].revents, -1, "got: %d", pfds[0].revents); [all...] |
| t_poll.c | 181 pfds[0].revents = -1; 182 pfds[1].revents = -1; 185 ATF_REQUIRE_EQ_MSG(pfds[0].revents, 0, "got: %d", pfds[0].revents); 186 ATF_REQUIRE_EQ_MSG(pfds[1].revents, -1, "got: %d", pfds[1].revents); 189 pfds[0].revents = -1; 190 pfds[1].revents = -1; 193 ATF_REQUIRE_EQ_MSG(pfds[0].revents, -1, "got: %d", pfds[0].revents); [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/ |
| poll.d | 42 short revents; 56 short revents; 69 short revents; 84 short revents; 97 short revents; 110 short revents; 123 short revents; 136 short revents; 147 short revents; 160 short revents; [all...] |
| /src/sys/modules/examples/pollpal/ |
| cmd_pollpal.c | 105 if (fds.revents & (POLLERR | POLLHUP | POLLNVAL)) 108 if (fds.revents & POLLOUT) { 118 if (fds.revents & POLLIN) {
|
| pollpal.c | 268 int revents; local 270 revents = 0; 277 revents |= POLLOUT | POLLWRNORM; 286 revents |= POLLIN | POLLRDNORM; 295 return revents;
|
| /src/crypto/external/apache2/openssl/dist/ssl/rio/ |
| poll_immediate.c | 20 * Some versions of AIX define macros for events and revents for use when 24 #undef revents macro 36 ITEM_N(items, stride, j).revents = 0; \ 46 ITEM_N(items, stride, idx_).revents = SSL_POLL_EVENT_F; \ 124 uint64_t revents = 0; local 140 if (!ossl_quic_conn_poll_events(ssl, events, /*do_tick = */ 0, &revents)) { 145 if (revents != 0) { 223 /* NULL items are no-ops and have revents reported as 0 */ 353 uint64_t revents; local 360 revents = 0 [all...] |
| /src/crypto/external/apache2/openssl/dist/test/radix/ |
| quic_tests.c | 12 * Some versions of AIX define macros for events and revents for use when 16 #undef revents macro 98 items[0].revents = 0; 103 items[i + 1].revents = 0; 116 expected_items[0].revents = SSL_POLL_EVENT_OS; 118 expected_items[1].revents = SSL_POLL_EVENT_R; 122 expected_items[i + 1].revents |= SSL_POLL_EVENT_W; 128 expected_items[1].revents = SSL_POLL_EVENT_R; 137 expected_items[5].revents = SSL_POLL_EVENT_IC; 155 if (!TEST_uint64_t_eq(items[i].revents, expected_items[i].revents) [all...] |
| /src/external/gpl2/lvm2/dist/daemons/cmirrord/ |
| link_mon.c | 70 pfds[used_pfds].revents = 0; 116 pfds[i].revents = 0; 126 if (pfds[i].revents & POLLIN) { 142 if (pfds[i].revents & POLLIN)
|
| /src/external/mit/libuv/dist/src/unix/ |
| posix-poll.c | 72 loop->poll_fds[i].revents = 0; 117 loop->poll_fds[loop->poll_fds_used].revents = 0; 289 pe->revents &= w->pevents | POLLERR | POLLHUP; 291 if (pe->revents != 0) { 297 w->cb(loop, w, pe->revents); 358 loop->poll_fds[i].revents = 0; 381 if (p[0].revents & POLLNVAL)
|
| /src/sys/rump/librump/rumpkern/ |
| cons.c | 155 int revents = 0; local 158 revents |= events & (POLLOUT | POLLWRNORM); 160 return revents;
|
| /src/sys/arch/amiga/dev/ |
| event.c | 150 int revents = 0; local 155 revents |= events & (POLLIN | POLLRDNORM); 156 if (revents == 0) 160 return (revents);
|
| /src/sys/dev/sun/ |
| event.c | 155 int s = splev(), revents = 0; local 161 revents |= events & (POLLIN | POLLRDNORM); 163 revents |= events & (POLLOUT | POLLWRNORM); 166 return (revents);
|
| /src/usr.bin/talk/ |
| io.c | 87 if (set[0].revents & POLLIN) { 96 if (set[1].revents & POLLIN) {
|
| /src/sys/dev/ir/ |
| cir.c | 238 int revents; local 247 revents = 0; 251 revents |= events & (POLLIN | POLLRDNORM); 257 revents |= events & (POLLOUT | POLLWRNORM); 260 if (revents == 0) { 271 return (revents);
|
| /src/sys/arch/landisk/dev/ |
| button.c | 265 int revents; local 271 revents = events & (POLLOUT | POLLWRNORM); 275 return (revents); 279 revents |= events & (POLLIN | POLLRDNORM); 285 return (revents);
|
| /src/sys/fs/puffs/ |
| puffs_subr.c | 145 int revents, error; local 149 revents = poll_msg->pvnr_events; 151 revents = POLLERR; 154 pn->pn_revents |= revents; 157 selnotify(&pn->pn_sel, revents, 0);
|
| /src/tests/net/net/ |
| t_socket_afinet.c | 168 ATF_CHECK_EQ(POLLOUT, pfd.revents); 183 ATF_CHECK_EQ(POLLIN, pfd.revents); 230 ATF_CHECK_EQ(POLLOUT, pfd.revents); 243 ATF_CHECK_EQ(POLLIN | POLLOUT, pfd.revents); 264 ATF_CHECK_EQ(POLLRDHUP, pfd.revents);
|
| /src/sys/arch/atari/dev/ |
| event.c | 150 int revents = 0; local 155 revents |= events & (POLLIN | POLLRDNORM); 160 return (revents);
|
| /src/usr.bin/telnet/ |
| sys_bsd.c | 593 if (set[0].revents & POLLPRI) { 601 if (set[0].revents & POLLIN) { 622 if (set[2].revents & POLLIN) { 651 if (set[0].revents & POLLOUT) { 655 if (set[1].revents & (POLLHUP|POLLNVAL)) 658 if (set[1].revents & POLLOUT) {
|
| network.c | 97 if (set[0].revents & POLLPRI) {
|
| /src/tests/lib/librumphijack/ |
| h_client.c | 115 if (pfd[1].revents != POLLNVAL || pfd[0].revents != 0) 116 errx(EXIT_FAILURE, "poll unexpected revents");
|
| /src/usr.bin/tip/ |
| tipout.c | 142 if (pfd[0].revents & POLLIN) 160 if (pfd[1].revents & (POLLIN|POLLHUP)) {
|
| /src/sys/arch/x68k/dev/ |
| event.c | 153 int revents = 0; local 160 revents |= events & (POLLIN | POLLRDNORM); 162 revents |= events & (POLLOUT | POLLWRNORM); 164 return revents;
|
| /src/sys/external/bsd/drm2/linux/ |
| linux_sync_file.c | 101 int revents = 0; local 109 revents |= POLLIN; 121 revents |= POLLIN; 128 return revents;
|
| /src/sys/sys/ |
| poll.h | 42 short revents; /* events returned */ member in struct:pollfd
|