| /openbsd-src/gnu/usr.bin/perl/dist/IO/t/ |
| H A D | io_poll.t | 11 my $poll = IO::Poll->new(); 16 $poll->mask($stdout => POLLOUT); 19 unless $poll->mask($stdout) == POLLOUT; 22 $poll->mask($dupout => POLLPRI); 25 unless $poll->mask($dupout) == POLLPRI; 28 $poll->poll(0.1); 36 unless $poll->events($stdout) == POLLOUT; 40 if $poll->events($dupout); 44 my @h = $poll->handles; 49 $poll->remove($stdout); [all …]
|
| /openbsd-src/regress/sys/fifofs/ |
| H A D | fifotest.out | 5 poll POLLIN|POLLOUT, timeout=0 7 poll POLLIN, timeout=0 9 poll POLLOUT, timeout=0 11 poll (none), timeout=0 23 poll POLLIN|POLLOUT, timeout=0 25 poll POLLIN, timeout=0 27 poll POLLOUT, timeout=0 29 poll (none), timeout=0 44 poll POLLIN|POLLOUT, timeout=-1 46 poll POLLIN, timeout=-1 [all …]
|
| /openbsd-src/regress/lib/libc/sys/ |
| H A D | t_poll.c | 57 (void)poll(&pfd, 1, 2000); in child1() 70 (void)poll(&pfd, 1, INFTIM); in child2() 84 (void)poll(&pfd, 1, INFTIM); in child3() 178 ret = poll(&pfds[0], 1, 1); in ATF_TC_BODY() 186 ret = poll(&pfds[1], 1, 1); in ATF_TC_BODY() 195 ret = poll(pfds, 2, 1); in ATF_TC_BODY() 207 ret = poll(pfds, 2, 1); in ATF_TC_BODY() 233 ATF_REQUIRE_ERRNO(EFAULT, poll((struct pollfd *)-1, 1, -1) == -1); in ATF_TC_BODY() 236 ATF_REQUIRE_ERRNO(EINVAL, poll(&pfd, 1, -2) == -1); in ATF_TC_BODY()
|
| /openbsd-src/gnu/usr.bin/perl/dist/IO/lib/IO/ |
| H A D | Poll.pm | 71 sub poll { subroutine 77 my @poll = (); 82 push(@poll,$fd => $mask); 85 my $ret = _poll(defined($timeout) ? $timeout * 1000 : -1,@poll); 90 while(@poll) { 91 my($fd,$got) = splice(@poll,0,2); 136 IO::Poll - Object interface to system poll call 142 $poll = IO::Poll->new(); 144 $poll->mask($input_handle => POLLIN); 145 $poll [all...] |
| /openbsd-src/regress/sys/kern/poll/ |
| H A D | poll_iocond.c | 325 ret = poll(pfd, 1, 1); in proc_child() 336 ret = poll(pfd, 1, 1); in proc_child() 353 ret = poll(pfd, 1, 0); in proc_child() 444 ret = poll(pfd, 2, 1); in proc_child() 484 ret = poll(pfd, 1, 1); in proc_child() 507 ret = poll(pfd, 1, 1); in proc_parent() 531 ret = poll(pfd, 1, 1); in proc_parent() 557 ret = poll(pfd, 1, 1); in proc_parent() 575 ret = poll(pfd, 1, 0); in proc_parent() 616 ret = poll(pfd, 2, 1); in proc_parent() [all …]
|
| H A D | poll_close.c | 48 ret = poll(pfd, 1, INFTIM); in thread_main() 62 ret = poll(pfd, 1, INFTIM); in thread_main()
|
| /openbsd-src/gnu/usr.bin/perl/plan9/ |
| H A D | 9front.patch | 1 diff --git a/dist/IO/poll.h b/dist/IO/poll.h 2 --- a/dist/IO/poll.h 3 +++ b/dist/IO/poll.h 9 #ifdef poll 10 # undef poll 12 #define poll Perl_my_poll
|
| /openbsd-src/gnu/usr.bin/perl/dist/IO/ |
| H A D | poll.h | 29 #ifdef poll 30 # undef poll 32 #define poll Perl_my_poll macro 58 int poll (struct pollfd *, unsigned long, int);
|
| /openbsd-src/gnu/usr.bin/perl/Porting/ |
| H A D | vote_admin_guide.pod | 38 Whenever you create or participate in a poll, you'll get a unique URL, and you 60 =head3 Creating a poll 63 first one is Create a poll. Some of the things it asks for are simple: 69 dang thing, so you better set yourself a reminder to close the poll on 93 Then you can create the poll. 95 =head3 Start the poll 97 You'll get an email linking back to the poll's control page. 101 Don't lose that link or you won't be able to administer the poll and you'll 107 If it looks good, click "start poll." You'll get a success page and can 108 click "go back to poll control". [all …]
|
| /openbsd-src/sys/arch/alpha/stand/nboot/ |
| H A D | promcons.c | 61 int poll = (dev & 0x80) != 0; in prom_cngetc() local 67 if (!poll) in prom_cngetc() 76 if (poll) in prom_cngetc() 80 if (poll) in prom_cngetc()
|
| /openbsd-src/lib/libc/sys/ |
| H A D | w_poll.c | 22 poll(struct pollfd *fds, nfds_t nfds, int timeout) in poll() function 27 ret = HIDDEN(poll)(fds, nfds, timeout); in poll() 31 DEF_CANCEL(poll);
|
| /openbsd-src/regress/lib/libpthread/poll/ |
| H A D | poll.c | 63 ASSERTe(poll(NULL, 0, 0), == 0); in main() 77 ASSERTe(poll(p, 2, 0), == 2); /* if 4 then bug in kernel not fixed */ in main() 94 ASSERTe(poll(p, 2, 0), == 2); /* again, old kernels had this bug */ in main() 114 ASSERTe(poll(p, 2, 0), == 1); in main() 126 ASSERTe(poll(p, 1, INFTIM), == 1); in main()
|
| /openbsd-src/lib/libc/hidden/ |
| H A D | poll.h | 22 #include_next <poll.h> 24 PROTO_CANCEL(poll);
|
| /openbsd-src/sys/arch/luna88k/stand/boot/ |
| H A D | bmc.c | 119 int c, unit = 1, poll = (dev & 0x80) != 0; in bmccngetc() local 123 if (poll) { in bmccngetc()
|
| H A D | sio.c | 156 int c, unit = dev & ~0x80, poll = (dev & 0x80) != 0; in siocngetc() local 160 if (poll) { in siocngetc()
|
| /openbsd-src/usr.sbin/radiusd/ |
| H A D | imsg_subr.c | 26 #include <poll.h> 43 retval = poll(fds, 1, millisec); in imsg_sync_read() 69 retval = poll(fds, 1, millisec); in imsg_sync_flush()
|
| /openbsd-src/usr.bin/talk/ |
| H A D | ctl_transact.c | 76 nready = poll(pfd, 1, CTL_WAIT * 1000); in ctl_transact() 95 nready = poll(pfd, 1, 0); in ctl_transact()
|
| /openbsd-src/sbin/ldattach/ |
| H A D | atomicio.c | 60 (void)poll(&pfd, 1, -1); in atomicio() 102 (void)poll(&pfd, 1, -1); in atomiciov()
|
| /openbsd-src/usr.sbin/ntpd/ |
| H A D | ntpd.h | 145 u_int8_t poll; member 170 time_t poll; member 278 time_t poll; member 291 time_t poll; member
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | monitor_fdpass.c | 73 (void)poll(&pfd, 1, -1); in mm_send_fd() 116 (void)poll(&pfd, 1, -1); in mm_receive_fd()
|
| H A D | atomicio.c | 65 (void)poll(&pfd, 1, -1); in atomicio6() 123 (void)poll(&pfd, 1, -1); in atomiciov6()
|
| /openbsd-src/usr.sbin/vmd/ |
| H A D | atomicio.c | 32 #include <poll.h> 63 (void)poll(&pfd, 1, -1); in atomicio6() 116 (void)poll(&pfd, 1, -1); in atomiciov6() 172 (void)poll(&pfd, 1, -1);
|
| /openbsd-src/usr.sbin/wsmoused/ |
| H A D | mouse_protocols.c | 252 while (poll(pfd, 1, 0) > 0) in FlushInput() 314 if (poll(pfd, 1, 200000 / 1000) <= 0) { in pnpgets() 326 if (poll(pfd, 1, 200000 / 1000) <= 0) in pnpgets() 348 if (poll(pfd, 1, 200000 / 1000) <= 0) in pnpgets() 369 if (poll(pfd, 1, 200000 / 1000) <= 0) in pnpgets() 714 if (poll(pfd, 1, INFTIM) <= 0) in mouse_init()
|
| /openbsd-src/usr.bin/vi/ex/ |
| H A D | ex_script.c | 203 switch (poll(pfd, 1, 5 * 1000)) { in sscr_getprompt() 246 switch (poll(pfd, 1, 100)) { in sscr_getprompt() 381 switch (poll(pfd, nfds, INFTIM)) { in sscr_check_input() 450 switch (poll(pfd, nfds, 0)) { in sscr_input() 539 if (poll(pfd, 1, 100) > 0) { in sscr_insert()
|
| /openbsd-src/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
| H A D | utils.py | 166 poller = select.poll() 173 results = poller.poll(timeout_ms)
|