Searched refs:poll (Results 1 - 25 of 167) sorted by last modified time

1234567

/macosx-10.9.5/xnu-2422.115.4/tools/tests/libMicro/
H A Dbench.sh446 poll $OPTS -N "poll_10" -n 10 -I 500
447 poll $OPTS -N "poll_100" -n 100 -I 1000
448 poll $OPTS -N "poll_1000" -n 1000 -I 5000
450 poll $OPTS -N "poll_w10" -n 10 -I 500 -w 1
451 poll $OPTS -N "poll_w100" -n 100 -I 2000 -w 10
452 poll $OPTS -N "poll_w1000" -n 1000 -I 40000 -w 100
H A Dcoreos_bench.sh472 poll $OPTS -N "poll_10" -n 10 -I 500
473 poll $OPTS -N "poll_100" -n 100 -I 1000
474 poll $OPTS -N "poll_1000" -n 1000 -I 5000
476 poll $OPTS -N "poll_w10" -n 10 -I 500 -w 1
477 poll $OPTS -N "poll_w100" -n 100 -I 2000 -w 10
478 poll $OPTS -N "poll_w1000" -n 1000 -I 40000 -w 100
H A Dembd_bench.sh457 poll $OPTS -N "poll_10" -n 10 -I 500
458 poll $OPTS -N "poll_100" -n 100 -I 1000
459 poll $OPTS -N "poll_1000" -n 1000 -I 5000
461 poll $OPTS -N "poll_w10" -n 10 -I 500 -w 1
462 poll $OPTS -N "poll_w100" -n 100 -I 2000 -w 10
463 poll $OPTS -N "poll_w1000" -n 1000 -I 40000 -w 100
/macosx-10.9.5/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dsocket_tests.c11 #include <poll.h>
406 * Test fsync, getsockopt, poll, select, setsockopt, socketpair system calls.
533 /* test poll too */
537 my_err = poll( &my_pollfd, 1, 500 );
539 printf( "poll call failed with error %d - \"%s\" \n", errno, strerror( errno) );
544 printf( "poll should have returned ready for read \n" );
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Ddlil.c537 "Q", "input poll mode freeze time");
545 "Q", "input poll sampling time");
553 "Q", "input poll interval (time)");
559 IF_RXPOLL_INTERVAL_PKTS, "input poll interval (packets)");
566 "I", "input poll wakeup low watermark");
573 "I", "input poll wakeup high watermark");
578 "max packets per poll call");
2112 * Caller may pass NULL for poll parameters to indicate "auto-tuning."
2211 "poll interval %llu nsec, pkts per poll
2266 ifnet_input_common(struct ifnet *ifp, struct mbuf *m_head, struct mbuf *m_tail, const struct ifnet_stat_increment_param *s, boolean_t ext, boolean_t poll) argument
3137 dlil_input_stats_add(const struct ifnet_stat_increment_param *s, struct dlil_threading_info *inp, boolean_t poll) argument
[all...]
H A Dbpf.c100 #include <sys/poll.h>
876 * or poll()) and has expired and a packet(s)
/macosx-10.9.5/CF-855.17/
H A DCFRunLoop.c2381 Boolean poll = sourceHandledThisLoop || (0ULL == timeout_context->termTSR); local
2398 if (!poll && (rlm->_observerMask & kCFRunLoopBeforeWaiting)) __CFRunLoopDoObservers(rl, rlm, kCFRunLoopBeforeWaiting);
2419 __CFRunLoopServiceMachPort(waitSet, &msg, sizeof(msg_buffer), &livePort, poll ? 0 : TIMEOUT_INFINITY);
2442 __CFRunLoopServiceMachPort(waitSet, &msg, sizeof(msg_buffer), &livePort, poll ? 0 : TIMEOUT_INFINITY);
2448 __CFRunLoopWaitForMultipleObjects(waitSet, NULL, poll ? 0 : TIMEOUT_INFINITY, rlm->_msgQMask, &livePort, &windowsMessageReceived);
2465 if (!poll && (rlm->_observerMask & kCFRunLoopAfterWaiting)) __CFRunLoopDoObservers(rl, rlm, kCFRunLoopAfterWaiting);
/macosx-10.9.5/libdispatch-339.92.1/src/
H A Dsource.c1664 bool poll; local
1669 poll = (delay == 0);
1670 if (poll || delay == UINT64_MAX) {
1673 return poll;
1694 return poll;
1701 bool poll = false; local
1707 poll |= _dispatch_timers_program2(nows, &_dispatch_kevent_timeout[qos],
1710 return poll;
2011 _dispatch_mgr_select(bool poll) argument
2023 poll
2232 bool poll; local
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Duser.h148 int poll; member in struct:uthread::__anon14899::_select_data
/macosx-10.9.5/ruby-104/ruby/
H A Dconfigure15753 mktime timegm gmtime_r clock_gettime gettimeofday poll ppoll\
H A Dthread.c3515 * poll() is supported by many OSes, but so far Linux is the only
3516 * one we know of that supports using poll() in all places select()
3555 return poll(fds, nfds, timeout_ms);
H A Dthread_pthread.c34 #include <poll.h>
1325 result = poll(pollfds, 1, TIME_QUANTUM_USEC/1000);
1329 result = poll(pollfds, ARRAY_SIZE(pollfds), -1);
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dhttp.c35 # include <poll.h>
3280 int nfds; /* Result from select()/poll() */
3326 * Then try doing a select() or poll() to poll the socket...
3335 nfds = poll(&pfd, 1, msec);
5657 int nfds; /* Result from select()/poll() */
5665 while ((nfds = poll(&pfd, 1, http->wait_value)) < 0 &&
H A Ddest.c97 # include <poll.h>
1024 DEBUG_puts("cupsEnumDests: Unable to create Avahi simple poll object.");
1066 nfds = poll(&pfd, 1, remaining > 250 ? 250 : remaining);
3036 val = poll(pollfds, num_pollfds, 250);
H A Dhttp-addrlist.c27 # include <poll.h>
78 int nfds; /* Result from select()/poll() */
236 nfds = poll(&pfd, 1, remaining > 250 ? 250 : remaining);
238 DEBUG_printf(("1httpAddrConnect2: poll() returned %d (%d)", nfds,
H A Dhttp-support.c63 # include <poll.h>
81 AvahiSimplePoll *poll; /* Poll state */ member in struct:_http_uribuf_s
1659 fds = poll(&polldata, 1, 1000 * timeout);
1680 DEBUG_printf(("5_httpResolveURI: poll error: %s", strerror(errno)));
1739 if ((uribuf.poll = avahi_simple_poll_new()) != NULL)
1741 avahi_simple_poll_set_func(uribuf.poll, http_poll_cb, NULL);
1743 if ((client = avahi_client_new(avahi_simple_poll_get(uribuf.poll),
1758 pstatus = avahi_simple_poll_iterate(uribuf.poll, 2000);
1776 if ((pstatus = avahi_simple_poll_iterate(uribuf.poll, 2000)) != 0)
1803 avahi_simple_poll_free(uribuf.poll);
[all...]
H A Dsidechannel.c47 # include <poll.h>
127 struct pollfd pfd; /* Poll structure for poll() */
153 while ((nfds = poll(&pfd, 1,
550 struct pollfd pfd; /* Poll structure for poll() */
575 if (poll(&pfd, 1, -1) < 1)
578 else if (poll(&pfd, 1, (long)(timeout * 1000)) < 1)
/macosx-10.9.5/cups-372.4/cups/backend/
H A Ddnssd.c97 static int got_data = 0; /* Got data from poll? */
335 fputs("DEBUG: Unable to create Avahi simple poll object.\n", stderr);
977 val = poll(pollfds, num_pollfds, 500);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/
H A Dconfigure8503 apr_modules="file_io network_io threadproc misc locks time mmap shmem user memory atomic poll support random"
26766 for ac_func in poll kqueue port_create
28926 poll.h \
28957 sys/poll.h \
29003 poll.h \
29034 sys/poll.h \
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLLIN in poll.h sys/poll.h" >&5
31622 $as_echo_n "checking for POLLIN in poll.h sys/poll
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Duipc_socket.c83 #include <sys/poll.h>
2273 * end up with false positives during select() or poll()
/macosx-10.9.5/cups-372.4/cups/test/
H A Dippfind.c159 static int avahi_got_data = 0; /* Got data from poll? */
2503 val = poll(pollfds, num_pollfds, 500);
H A Dippserver.c101 #include <poll.h>
4732 struct pollfd polldata[3]; /* poll() data */
4733 int timeout; /* Timeout for poll() */
4738 * Setup poll() data for the Bonjour service socket and IPv4/6 listeners...
4765 if (poll(polldata, num_fds, timeout) < 0 && errno != EINTR)
4767 perror("poll() failed");
/macosx-10.9.5/cups-372.4/cups/scheduler/
H A Dselect.c36 # include <poll.h>
41 # include <poll.h>
55 * OS select poll epoll kqueue /dev/poll
106 * 2. poll() - O(n log n)
114 * poll(), then loops through the pollfd array looking up
143 * d. cupsdDoSelect() uses kevent() to poll for events and
149 * 5. /dev/poll - O(n log n) - NOT YET IMPLEMENTED
150 * a. cupsdStartSelect() opens /dev/poll and allocates an
151 * array of pollfd structs; on failure to open /dev/poll,
[all...]
H A Dcups-deviced.c36 #include <poll.h>
83 /* Array for poll() */
312 if (poll(backend_fds, num_backends, timeout) > 0)
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dconfigure6083 poll.h \
6101 sys/poll.h \
9546 poll \
12041 # Some platforms (seems to be the ones that have a kernel poll(2)-type

Completed in 491 milliseconds

1234567