| /openbsd/src/gnu/usr.bin/perl/dist/IO/t/ |
| 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/ |
| 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/ |
| 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/ |
| 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/src/gnu/usr.bin/perl/plan9/ |
| 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/Porting/ |
| 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/gnu/usr.bin/perl/dist/IO/ |
| 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/lib/libc/sys/ |
| 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/ |
| 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()
|
| D | Makefile | 3 PROG= poll
|
| /openbsd/src/lib/libc/hidden/ |
| D | poll.h | 22 #include_next <poll.h> 24 PROTO_CANCEL(poll);
|
| /openbsd/src/sys/arch/luna88k/stand/boot/ |
| D | bmc.c | 119 int c, unit = 1, poll = (dev & 0x80) != 0; in bmccngetc() local 123 if (poll) { in bmccngetc()
|
| 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/ |
| 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/src/usr.sbin/vmd/ |
| D | atomicio.c | 63 (void)poll(&pfd, 1, -1); in atomicio6() 116 (void)poll(&pfd, 1, -1); in atomiciov6() 172 (void)poll(&pfd, 1, -1); in imsgbuf_read_one()
|
| /openbsd/src/usr.bin/talk/ |
| 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/ |
| D | atomicio.c | 60 (void)poll(&pfd, 1, -1); in atomicio() 102 (void)poll(&pfd, 1, -1); in atomiciov()
|
| /openbsd/src/usr.sbin/ntpd/ |
| 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/ |
| D | monitor_fdpass.c | 73 (void)poll(&pfd, 1, -1); in mm_send_fd() 116 (void)poll(&pfd, 1, -1); in mm_receive_fd()
|
| D | atomicio.c | 65 (void)poll(&pfd, 1, -1); in atomicio6() 123 (void)poll(&pfd, 1, -1); in atomiciov6()
|
| /openbsd/src/usr.sbin/wsmoused/ |
| 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/ |
| 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/sys/dev/pci/drm/amd/pm/swsmu/ |
| D | smu_cmn.c | 245 enum smu_message_type msg, bool *poll) in __smu_cmn_ras_filter_msg() argument 252 *poll = true; in __smu_cmn_ras_filter_msg() 276 *poll = false; in __smu_cmn_ras_filter_msg() 414 bool poll = true; in smu_cmn_send_smc_msg_with_param() local 429 res = __smu_cmn_ras_filter_msg(smu, msg, &poll); in smu_cmn_send_smc_msg_with_param() 440 poll = false; in smu_cmn_send_smc_msg_with_param() 444 if (poll) { in smu_cmn_send_smc_msg_with_param()
|
| /openbsd/src/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
| D | utils.py | 166 poller = select.poll() 173 results = poller.poll(timeout_ms)
|
| /openbsd/src/usr.sbin/iscsictl/ |
| D | iscsictl.c | 80 int ch, poll = 0, val = 0; in main() local 172 poll = 1; in main() 190 if (poll) in main()
|