Searched refs:poll (Results 251 - 275 of 335) sorted by relevance

<<11121314

/external/iproute2/misc/
H A Darpd.c21 #include <sys/poll.h>
622 fprintf(stderr,"Invalid poll timeout\n");
818 if (poll(pset, 2, poll_timeout) > 0) {
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c34 #include <poll.h>
636 n = poll(fds, 2, _timeout);
/external/libusb/libusb/
H A Dio.c23 #include <poll.h>
524 * this. Your main loop is probably already calling poll() or select() or a
527 * libusb's file descriptors to your poll()/select() calls, and when activity
540 * the next timeout, see the \ref poll "polling and timing" API documentation.
544 * @defgroup poll Polling and timing
601 * poll()/select() timeout accordingly.
603 * libusb provides you with a set of file descriptors to poll and expects you
604 * to poll all of them, treating them as a single entity. The meaning of each
617 poll(on libusb file descriptors plus any other event sources of interest,
619 if (poll() indicate
[all...]
H A Dcore.c24 #include <poll.h>
892 * that they realise the addition of the new device's poll fd. One
898 /* record that we are messing with poll fds */
921 /* we're done with modifying poll fds */
1024 /* record that we are messing with poll fds */
1051 /* we're done with modifying poll fds */
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dpython.c4 #include <poll.h>
746 n = poll(evlist->pollfd, evlist->nr_fds, timeout);
877 .ml_name = "poll",
880 .ml_doc = PyDoc_STR("poll the file descriptor table.")
886 .ml_doc = PyDoc_STR("get the poll file descriptor table.")
/external/lldb/source/Core/
H A DConnectionFileDescriptor.cpp12 // select bounds. We tried switching to poll() and kqueue and we were panicing
787 // uses kqueues, and there is a poll() based implementation below.
822 // libdispatch to read from file descriptors because poll() is causing
932 #include <poll.h>
934 // This ConnectionFileDescriptor::BytesAvailable() uses poll(). poll() should NOT
938 // There may be some systems that properly support poll() that could use this
992 const int num_set_fds = ::poll (fds, nfds, timeout_msec);
1005 log->Printf("%p ConnectionFileDescriptor::BytesAvailable() ::poll (fds={{%i,POLLIN},{%i,POLLIN}}, nfds=%i, timeout_ms=%i) => %d, error = %s\n",
1014 log->Printf("%p ConnectionFileDescriptor::BytesAvailable() ::poll (fd
[all...]
/external/lldb/test/pexpect-2.4/examples/
H A Dcgishell.cgi75 if verbose: print "started screen-poll-updater in background thread"
416 poll();
471 function poll()
474 timerID = setTimeout("poll()", 2000);
/external/oprofile/
H A Doprofile_android70 rc = popen.poll()
/external/tinyalsa/
H A Dpcm.c36 #include <poll.h>
1152 err = poll(&pfd, 1, timeout);
1177 /* poll again if fd not ready for IO */
/external/valgrind/main/coregrind/
H A Dvgdb.c38 #include <poll.h>
858 ret = poll(pollfds,
863 DEBUG(2, "poll ret %d errno %d\n", ret, errno);
867 ERROR (errno, "unexpected poll ret %d\n", ret);
/external/valgrind/main/none/tests/
H A Dcmdline1.stdout.exp82 --vgdb-poll=<number> gdbserver poll max every <number> basic blocks [5000]
/external/wpa_supplicant_8/wpa_supplicant/
H A Ddriver_i.h196 if (wpa_s->driver->poll) {
197 wpa_s->driver->poll(wpa_s->drv_priv);
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwSettingsTest.java939 poll(new Callable<Boolean>() {
1162 poll(new Callable<Boolean>() {
1573 poll(new Callable<Boolean>() {
1949 poll(new Callable<Boolean>() {
2370 poll(new Callable<Boolean>() {
/external/guava/guava-tests/test/com/google/common/collect/
H A DMapMakerInternalMapTest.java1208 RemovalNotification<K, V> notification = map.removalNotificationQueue.poll();
1527 assertNull(segment.keyReferenceQueue.poll());
1558 assertNull(segment.valueReferenceQueue.poll());
1589 assertNull(segment.keyReferenceQueue.poll());
1621 assertNull(segment.valueReferenceQueue.poll());
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_ndis.c1459 int poll; local
1485 poll = drv->mode == IEEE80211_MODE_IBSS;
1488 poll = 1;
1492 if (poll) {
3211 wpa_driver_ndis_ops.poll = wpa_driver_ndis_poll;
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_ndis.c1459 int poll; local
1485 poll = drv->mode == IEEE80211_MODE_IBSS;
1488 poll = 1;
1492 if (poll) {
3211 wpa_driver_ndis_ops.poll = wpa_driver_ndis_poll;
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_ndis.c1459 int poll; local
1485 poll = drv->mode == IEEE80211_MODE_IBSS;
1488 poll = 1;
1492 if (poll) {
3211 wpa_driver_ndis_ops.poll = wpa_driver_ndis_poll;
/external/fio/
H A Dserver.c7 #include <sys/poll.h>
806 ret = poll(&pfd, 1, timeout);
810 log_err("fio: poll: %s\n", strerror(errno));
877 ret = poll(&pfd, 1, timeout);
881 log_err("fio: poll: %s\n", strerror(errno));
/external/ppp/pppd/
H A Dsys-solaris.c1354 poll(&pfd, 1, 250); /* wait for up to 0.25 seconds */
1371 if (poll(pollfds, n_pollfds, t) < 0 && errno != EINTR)
1372 fatal("poll: %m");
2340 * Use poll to wait for a message with a timeout.
2345 n = poll(&pfd, 1, 1000);
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DMediaDrmBridge.java448 PendingCreateSessionData pendingData = mPendingCreateSessionDataQueue.poll();
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_intercept.cc419 return s_state.kp->poll(fds, nfds, timeout);
/external/chromium_org/net/third_party/nss/ssl/
H A Dsslsock.c2414 return 0; /* don't poll on this socket */
2429 /* If the handshake has not begun, poll on read or write
2454 ** handshake has been sent. So do NOT to poll on write
2476 * the caller to poll the socket unless there is pending write data.
2500 if (new_flags && (fd->lower->methods->poll != NULL)) {
2503 lower_new_flags = fd->lower->methods->poll(fd->lower, new_flags,
2795 ssl_Poll, /* poll */
2845 new_methods->poll = my_methods->poll;
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A D_unixos.h120 _PRUnixPollDesc *pds; /* array of poll descriptors */
519 * Some platforms don't have poll(), but our pthreads code calls poll().
520 * As a temporary measure, I implemented a fake poll() using select().
521 * Here are the struct and macro definitions copied from sys/poll.h
531 /* poll events */
547 extern int poll(struct pollfd *, unsigned long, int);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dheap-profile-table.cc51 #include <poll.h>
/external/smack/src/org/jivesoftware/smackx/entitycaps/
H A DEntityCapsManager.java451 String oldCapsVersion = lastLocalCapsVersions.poll();

Completed in 2120 milliseconds

<<11121314