Searched refs:poll (Results 126 - 150 of 335) sorted by relevance

1234567891011>>

/external/glide/library/src/main/java/com/bumptech/glide/
H A DListPreloader.java160 final PreloadTarget result = queue.poll();
/external/guava/guava/src/com/google/common/base/
H A DFinalizableReferenceQueue.java90 * The actual reference queue that our background thread will poll.
134 while ((reference = queue.poll()) != null) {
/external/libpcap/tests/
H A Dnonblocktest.c37 #include <poll.h>
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DHtmlSanitizerFuzzerTest.java144 Throwable failure = failures.poll();
/external/smack/src/org/jivesoftware/smackx/filetransfer/
H A DFaultTolerantNegotiator.java97 future = service.poll(10, TimeUnit.SECONDS);
/external/tinycompress/
H A Dcompress.c62 #include <poll.h>
81 /* Default maximum time we will wait in a poll() - 20 seconds */
380 ret = poll(&fds, 1, compress->max_poll_wait_ms);
382 return oops(compress, EIO, "poll returned error!");
389 return oops(compress, errno, "poll error");
435 * end of the read, so poll
440 ret = poll(&fds, 1, compress->max_poll_wait_ms);
442 return oops(compress, EIO, "poll returned error!");
449 return oops(compress, errno, "poll error");
618 ret = poll(
[all...]
/external/vixl/tools/
H A Dtest.py97 retcode = process.poll()
/external/chromium-trace/
H A Dsystrace.py185 result = adb.poll()
206 result = adb.poll()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Devent_test.cc199 // We should now be able to poll
283 ASSERT_EQ(2, kp->poll(pollfds, 2, 0));
292 ASSERT_EQ(2, kp->poll(pollfds, 2, 0));
293 // TODO(noelallen) fix poll based on open mode
328 // TODO(noelallen) fix poll based on open mode
/external/chromium_org/net/socket/
H A Dunix_domain_listen_socket_posix_unittest.cc9 #include <poll.h>
332 poll(&poll_fd, 1, -1 /* rely on GTest for timeout handling */);
/external/chromium_org/third_party/libevent/
H A Dpoll.c1 /* $OpenBSD: poll.c,v 1.2 2002/06/25 15:50:15 mickey Exp $ */
40 #include <poll.h>
75 "poll",
89 /* Disable poll when this environment variable is set */
147 res = poll(pop->event_set, nfds, msec);
151 event_warn("poll");
161 event_debug(("%s: poll reports %d", __func__, res));
/external/dhcpcd/
H A Deloop.c32 #include <poll.h>
297 * calculate milliseconds until it does for use in poll. */
341 n = poll(fds, nfds, msecs);
347 syslog(LOG_ERR, "poll: %m");
/external/mtpd/
H A Dmtpd.c24 #include <sys/poll.h>
192 if (poll(pollfds, 3, timeout ? timeout : -1) == -1 && errno != EINTR) {
/external/strace/
H A Daio.c131 struct io_iocb_poll poll; member in union:iocb::__anon31331
200 { "poll", SUB_POLL },
287 tprintf(", %x", iocb.u.poll.events);
/external/libpcap/
H A Dpcap-dag.c626 struct timeval poll; local
680 /* Set up default poll parameters for stream
684 &mindata, &maxwait, &poll) < 0) {
709 mindata, &maxwait, &poll) < 0) {
819 * "select()" and "poll()" don't work on DAG device descriptors.
1056 struct timeval poll; local
1059 &mindata, &maxwait, &poll) < 0) {
1074 mindata, &maxwait, &poll) < 0) {
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-top.c62 #include <sys/poll.h>
454 poll(&stdin_poll, 1, -1);
617 switch (poll(&stdin_poll, 1, delay_msecs)) {
983 poll(top->evlist->pollfd, top->evlist->nr_fds, 100);
1010 ret = poll(top->evlist->pollfd, top->evlist->nr_fds, 100);
/external/guava/guava/src/com/google/common/collect/
H A DMinMaxPriorityQueue.java49 * #poll()} and {@link #remove()} -- is defined as the <i>least</i> element in
75 * all the forms of {@link #poll} and {@link #remove()}) run in {@code
283 @Override public E poll() { method in class:MinMaxPriorityQueue
317 return poll();
771 lastFromForgetMeNot = forgetMeNot.poll();
/external/netcat/
H A Dnetcat.c48 #include <poll.h>
668 if ((ret = poll(&pfd, 1, timeout)) == 1) {
679 err(1, "poll failed");
782 if ((n = poll(pfd, 2 - dflag, timeout)) < 0) {
/external/smack/src/org/jivesoftware/smack/util/collections/
H A DAbstractReferenceMap.java278 while (queue.poll() != null) {
359 Reference ref = queue.poll();
362 ref = queue.poll();
/external/android-clat/
H A Dclatd.c18 #include <poll.h>
421 // start the poll timer
425 if(poll(wait_fd, 2, NO_TRAFFIC_INTERFACE_POLL_FREQUENCY*1000) == -1) {
427 logmsg(ANDROID_LOG_WARN,"event_loop/poll returned an error: %s",strerror(errno));
434 // subsequent poll() will return immediately with POLLERR again,
/external/bluetooth/bluedroid/btif/co/
H A Dbta_hh_co.c23 #include <sys/poll.h>
174 ret = poll(pfds, 1, 50);
176 APPL_TRACE_ERROR("%s: Cannot poll for fds: %s\n", __FUNCTION__, strerror(errno));
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwLegacyQuirksTest.java205 poll(new Callable<Boolean>() {
347 poll(new Callable<Boolean>() {
H A DAwTestBase.java398 public static void poll(final Callable<Boolean> callable) throws Exception { method in class:AwTestBase
413 * Wrapper around {@link AwTestBase#poll()} but runs the callable on the UI thread.
416 poll(new Callable<Boolean>() {
/external/chromium_org/content/browser/renderer_host/
H A Dsandbox_ipc_linux.cc8 #include <sys/poll.h>
91 HANDLE_EINTR(poll(pfds, arraysize(pfds), -1 /* no timeout */));
95 PLOG(WARNING) << "poll";
97 LOG(FATAL) << "poll(2) failing. SandboxIPCHandler aborting.";
111 // If poll(2) reports an error condition in this fd,
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dexecutive.py110 if output_line == "" and child_process.poll() != None:
111 # poll() is not threadsafe and can throw OSError due to:
113 return child_process.poll()

Completed in 695 milliseconds

1234567891011>>