/openbsd/gnu/usr.bin/perl/dist/IO/t/ |
H A D | io_poll.t | 11 my $poll = IO::Poll->new(); 28 $poll->poll(0.1); 44 my @h = $poll->handles; 49 $poll->remove($stdout); 51 @h = $poll->handles; 58 if $poll->mask($stdout); 61 $poll->poll(0.1); 67 $poll->remove($dupout); 69 if $poll->handles; 74 $poll->remove($stdin); [all …]
|
/openbsd/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 25 poll POLLIN, timeout=0 27 poll POLLOUT, timeout=0 29 poll (none), timeout=0 46 poll POLLIN, timeout=-1 50 poll (none), timeout=-1 85 poll POLLIN, timeout=0 [all …]
|
/openbsd/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/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);
|
/openbsd/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() 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() 616 ret = poll(pfd, 2, 1); in proc_parent() 625 ret = poll(pfd, 2, 1); in proc_parent() 634 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/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/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/gnu/usr.bin/perl/Porting/ |
H A D | vote_admin_guide.pod | 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. 107 If it looks good, click "start poll." You'll get a success page and can 108 click "go back to poll control". 125 =head3 Send the poll! 151 =head3 End the poll [all …]
|
/openbsd/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/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/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/lib/libc/hidden/ |
H A D | poll.h | 22 #include_next <poll.h> 24 PROTO_CANCEL(poll);
|
/openbsd/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/usr.sbin/radiusd/ |
H A D | imsg_subr.c | 43 retval = poll(fds, 1, millisec); in imsg_sync_read() 69 retval = poll(fds, 1, millisec); in imsg_sync_flush()
|
/openbsd/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/sbin/ldattach/ |
H A D | atomicio.c | 60 (void)poll(&pfd, 1, -1); in atomicio() 102 (void)poll(&pfd, 1, -1); in atomiciov()
|
/openbsd/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/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/usr.sbin/vmd/ |
H A D | atomicio.c | 60 (void)poll(&pfd, 1, -1); in atomicio6() 113 (void)poll(&pfd, 1, -1); in atomiciov6()
|
/openbsd/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/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/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)
|