Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/t/
H A Dio_poll.t23 my $poll = new IO::Poll;
28 $poll->mask($stdout => POLLOUT);
31 unless $poll->mask($stdout) == POLLOUT;
34 $poll->mask($dupout => POLLPRI);
37 unless $poll->mask($dupout) == POLLPRI;
40 $poll->poll(0.1);
48 unless $poll->events($stdout) == POLLOUT;
52 if $poll->events($dupout);
56 my @h = $poll->handles;
61 $poll->remove($stdout);
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/
H A DPoll.pm71 sub poll { subroutine
77 my @poll = ();
82 push(@poll,$fd => $mask);
85 my $ret = @poll ? _poll(defined($timeout) ? $timeout * 1000 : -1,@poll) : 0;
90 while(@poll) {
91 my($fd,$got) = splice(@poll,0,2);
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/
H A Dpoll.h23 #ifdef poll
24 # undef poll
26 #define poll Perl_my_poll macro
49 int poll (struct pollfd *, unsigned long, int);
/onnv-gate/usr/src/lib/libshell/amd64/src/cmd/ksh93/FEATURE/
H A Dpoll3 …me/gisburn/ksh93/ast_ksh_20100309/build_i386_64bit/src/cmd/ksh93/features/poll by iffe version 200…
71 #define _hdr_poll 1 /* #include <poll.h> ok */
73 #define _sys_poll 1 /* #include <sys/poll.h> ok */
76 #define _lib_poll 1 /* poll() in default lib(s) */
92 # define poll _SYS_poll
98 # include <poll.h>
101 # include <sys/poll.h>
105 # undef poll
106 extern __MANGLE__ int poll __PROTO__((struct pollfd*,unsigned long,int));
/onnv-gate/usr/src/lib/libshell/sparc/src/cmd/ksh93/FEATURE/
H A Dpoll3 …e/gisburn/ksh93/ast_ksh_20100309/build_sparc_32bit/src/cmd/ksh93/features/poll by iffe version 200…
71 #define _hdr_poll 1 /* #include <poll.h> ok */
73 #define _sys_poll 1 /* #include <sys/poll.h> ok */
76 #define _lib_poll 1 /* poll() in default lib(s) */
92 # define poll _SYS_poll
98 # include <poll.h>
101 # include <sys/poll.h>
105 # undef poll
106 extern __MANGLE__ int poll __PROTO__((struct pollfd*,unsigned long,int));
/onnv-gate/usr/src/lib/libshell/i386/src/cmd/ksh93/FEATURE/
H A Dpoll3 …me/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/cmd/ksh93/features/poll by iffe version 200…
71 #define _hdr_poll 1 /* #include <poll.h> ok */
73 #define _sys_poll 1 /* #include <sys/poll.h> ok */
76 #define _lib_poll 1 /* poll() in default lib(s) */
92 # define poll _SYS_poll
98 # include <poll.h>
101 # include <sys/poll.h>
105 # undef poll
106 extern __MANGLE__ int poll __PROTO__((struct pollfd*,unsigned long,int));
/onnv-gate/usr/src/lib/libshell/sparcv9/src/cmd/ksh93/FEATURE/
H A Dpoll3 …e/gisburn/ksh93/ast_ksh_20100309/build_sparc_64bit/src/cmd/ksh93/features/poll by iffe version 200…
71 #define _hdr_poll 1 /* #include <poll.h> ok */
73 #define _sys_poll 1 /* #include <sys/poll.h> ok */
76 #define _lib_poll 1 /* poll() in default lib(s) */
92 # define poll _SYS_poll
98 # include <poll.h>
101 # include <sys/poll.h>
105 # undef poll
106 extern __MANGLE__ int poll __PROTO__((struct pollfd*,unsigned long,int));
/onnv-gate/usr/src/cmd/fps/fpsd/
H A Dfpsd_esutil.c392 (void) poll(NULL, 0, 1000); in wait_for_pm_state_change()
407 (void) poll(NULL, 0, 1000); /* 1 sec sleep */ in wait_for_pm_state_change()
413 (void) poll(NULL, 0, 1000); /* 1 sec sleep */ in wait_for_pm_state_change()
432 (void) poll(NULL, 0, 1000); in wait_for_pm_state_change()
446 (void) poll(NULL, 0, 1000); in wait_for_pm_state_change()
468 (void) poll(NULL, 0, 1000); /* first time 1 second wait */ in wait_for_pm_state_change()
476 (void) poll(NULL, 0, 4000); /* 4 seconds wait */ in wait_for_pm_state_change()
H A Dfpsd_sched.c202 (void) poll(NULL, 0, 50); /* wait 50 milli sec. */ in check_invoke_prog()
275 (void) poll(NULL, 0, 10); in check_invoke_prog()
419 (void) poll(NULL, 0, poll_intvl*1000); in test_fpu_thr()
445 (void) poll(NULL, 0, RETRY_INTVL); \ in test_fpu_thr()
513 (void) poll(NULL, 0, 1000); in test_fpu_thr()
/onnv-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_builtin_poll.sh45 builtin -f libshell.so.1 poll || err_exit "poll builtin not found."
55 cat /dev/zero | { redirect 5<&0 ; poll -e d1.res -t 5. d1.u ; } || err_exit "poll returned non-zero…
64 { poll -e d1.res -t 5. d1.u ; } 5</dev/null 5>/dev/null || err_exit "poll returned non-zero exit co…
/onnv-gate/usr/src/lib/libshell/common/features/
H A Dpoll1 hdr,sys poll,socket,netinet/in
2 lib select,poll,socket
128 # define poll _SYS_poll
134 # include <poll.h>
137 # include <sys/poll.h>
141 # undef poll
142 extern int poll(struct pollfd*,unsigned long,int);
/onnv-gate/usr/src/uts/common/sys/fc4/
H A Dfcal_transport.h131 uint_t poll);
134 uint_t poll,
139 uint_t poll);
148 uint_t poll);
/onnv-gate/usr/src/cmd/bnu/
H A Duudemon.poll51 while read site poll
56 for i in $poll
/onnv-gate/usr/src/lib/libc/port/gen/
H A Dpoll.c26 #pragma weak _poll = poll
42 poll(struct pollfd *fds, nfds_t nfd, int timeout) in poll() function
/onnv-gate/usr/src/uts/common/sys/
H A Dpoll.h142 int poll(struct pollfd *, nfds_t, int);
144 int poll();
/onnv-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfcal_leds.conf60 slow-poll: 59
61 fast-poll: 2
/onnv-gate/usr/src/lib/libshell/common/scripts/
H A Dmultifollow.sh88 builtin -f libshell.so.1 poll || fatal_error "poll builtin not found."
129 poll files
/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncloop.c335 while (poll(&pfd, 1, short_time) == 1) { in quiet_period()
338 if (poll(&pfd, 1, long_time) == 1) { in quiet_period()
374 pollret = poll(&pfd, 1, long_time); in first_packet()
445 while (pollret = poll(&pfd, 1, zero_time)) { in many_packets()
470 pollret = poll(&pfd, 1, long_time); in many_packets()
487 while ((incount < reccount) && (poll(&pfd, 1, long_time) == 1)) { in many_packets()
/onnv-gate/usr/src/lib/libast/common/features/
H A Dlib74 tst lib_poll_fd_1 note{ fd is first arg to poll() }end execute{
75 #include <poll.h>
87 if (poll(&fd, 1, 0) < 0 || fd.revents != 0) return 1;
89 if (poll(&fd, 1, 0) < 0 || fd.revents == 0) return 1;
94 tst lib_poll_fd_2 note{ fd is second arg to poll() }end execute{
95 #include <poll.h>
107 return poll(1, &fd, 0) < 0;
108 if (poll(1, &fd, 0) < 0 || fd.revents != 0) return 1;
110 if (poll(1, &fd, 0) < 0 || fd.revents == 0) return 1;
117 tst lib_poll_notimer note{ poll with no fds ignores timeout }end execute{
[all …]
/onnv-gate/usr/src/cmd/svc/startd/
H A Dstartd.c177 (void) poll(NULL, 0, msecs); in startd_alloc_retry()
200 (void) poll(NULL, 0, msecs); in safe_realloc()
226 (void) poll(NULL, 0, msecs); in safe_strdup()
263 (void) poll(NULL, 0, msecs); in startd_list_pool_create()
295 (void) poll(NULL, 0, msecs); in startd_list_create()
404 (void) poll(NULL, 0, msecs); in read_startd_config()
/onnv-gate/usr/src/cmd/stat/common/
H A Dacquire.c317 (void) poll(NULL, 0, RETRY_DELAY); in acquire_snapshot()
342 (void) poll(NULL, 0, RETRY_DELAY); in acquire_snapshot()
395 (void) poll(NULL, 0, RETRY_DELAY); in open_kstat()
410 (void) poll(NULL, 0, RETRY_DELAY); in safe_alloc()
427 (void) poll(NULL, 0, RETRY_DELAY); in safe_strdup()
/onnv-gate/usr/src/lib/libcurses/screen/
H A Dnapms.c81 if (poll(&pollfd, 0L, ms) == -1) in napms()
/onnv-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/conf/
H A Dplatsvcd.conf41 * INTERVAL <poll interval in seconds> <#tasks at this interval>
43 * Indicates the poll interval at which a list of tasks will be run
/onnv-gate/usr/src/uts/common/io/dld/
H A Ddld_proto.c1396 dld_capab_poll_enable(dld_str_t *dsp, dld_capab_poll_t *poll) in dld_capab_poll_enable() argument
1420 (mac_resource_add_t)poll->poll_ring_add_cf, in dld_capab_poll_enable()
1421 (mac_resource_remove_t)poll->poll_ring_remove_cf, in dld_capab_poll_enable()
1422 (mac_resource_quiesce_t)poll->poll_ring_quiesce_cf, in dld_capab_poll_enable()
1423 (mac_resource_restart_t)poll->poll_ring_restart_cf, in dld_capab_poll_enable()
1424 (mac_resource_bind_t)poll->poll_ring_bind_cf, in dld_capab_poll_enable()
1425 poll->poll_ring_ch); in dld_capab_poll_enable()
1435 dld_capab_poll_disable(dld_str_t *dsp, dld_capab_poll_t *poll) in dld_capab_poll_disable() argument
1450 dld_capab_poll_t *poll = data; in dld_capab_poll() local
1456 return (dld_capab_poll_enable(dsp, poll)); in dld_capab_poll()
[all …]
/onnv-gate/usr/src/cmd/picl/plugins/sun4u/sebring/conf/
H A Dplatsvcd.conf40 * INTERVAL <poll interval in seconds> <#tasks at this interval>
42 * Indicates the poll interval at which a list of tasks will be run

12345678910>>...12