HomeSort by relevance Sort by last modified time
    Searched full:poll (Results 26 - 50 of 570) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/bluetooth/glib/glib/
gpoll.c 4 * gpoll.c: poll(2) abstraction
58 # include <sys/poll.h>
62 /* The poll() emulation on OS/X doesn't handle fds=NULL, nfds=0,
63 * so we prefer our own poll emulation.
87 /* SunOS has poll, but doesn't provide a prototype. */
89 extern gint poll (struct pollfd *fds, guint nfsd, gint timeout);
94 * @fds: file descriptors to poll
98 * Polls @fds, as with the poll() system call, but portably. (On
99 * systems that don't have poll(), it is emulated using select().)
105 * descriptor to poll. The %fd field indicates the file descriptor
    [all...]
  /dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
ExecutorCompletionServiceTest.java 119 * If poll returns non-null, the returned task is completed
125 assertNull(ecs.poll());
130 Future f = ecs.poll();
144 * If timed poll returns non-null, the returned task is completed
150 assertNull(ecs.poll());
153 Future f = ecs.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS);
SynchronousQueueTest.java 378 * poll fails unless active taker
382 assertNull(q.poll());
391 assertNull(q.poll(0, TimeUnit.MILLISECONDS));
403 assertNull(q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));
410 * Interrupted timed poll throws InterruptedException instead of
418 assertNull(q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));
434 * timed poll before a delayed offer fails; after offer succeeds;
442 threadAssertNull(q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));
443 q.poll(LONG_DELAY_MS, TimeUnit.MILLISECONDS);
444 q.poll(LONG_DELAY_MS, TimeUnit.MILLISECONDS)
    [all...]
AbstractQueueTest.java 31 public Integer poll() { return one; } method in class:AbstractQueueTest.Succeed
42 public Integer poll() { return null; } method in class:AbstractQueueTest.Fail
80 * remove returns normally if poll succeeds
88 * remove throws NSEE if poll returns null
DelayQueueTest.java 188 assertEquals(ints[i], q.poll());
334 assertEquals(ints[i], q.poll());
494 * poll succeeds unless empty
499 assertEquals(new PDelay(i), ((PDelay)q.poll()));
501 assertNull(q.poll());
511 assertEquals(new PDelay(i), ((PDelay)q.poll(0, TimeUnit.MILLISECONDS)));
513 assertNull(q.poll(0, TimeUnit.MILLISECONDS));
526 assertEquals(new PDelay(i), ((PDelay)q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS)));
528 assertNull(q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));
535 * Interrupted timed poll throws InterruptedException instead o
    [all...]
PriorityQueueTest.java 115 assertEquals(ints[i], q.poll());
133 assertEquals(ints[i], q.poll());
275 assertEquals(new Integer(i), q.poll());
281 * poll succeeds unless empty
286 assertEquals(i, ((Integer)q.poll()).intValue());
288 assertNull(q.poll());
298 q.poll();
312 q.poll();
358 q.poll();
434 assertEquals(o[i], q.poll());
    [all...]
ArrayBlockingQueueTest.java 118 assertEquals(ints[i], q.poll());
280 assertEquals(ints[i], q.poll());
476 * poll succeeds unless empty
481 assertEquals(i, ((Integer)q.poll()).intValue());
483 assertNull(q.poll());
493 assertEquals(i, ((Integer)q.poll(0, TimeUnit.MILLISECONDS)).intValue());
495 assertNull(q.poll(0, TimeUnit.MILLISECONDS));
508 assertEquals(i, ((Integer)q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS)).intValue());
510 assertNull(q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));
517 * Interrupted timed poll throws InterruptedException instead o
    [all...]
LinkedBlockingQueueTest.java 109 assertEquals(ints[i], q.poll());
270 assertEquals(ints[i], q.poll());
466 * poll succeeds unless empty
471 assertEquals(i, ((Integer)q.poll()).intValue());
473 assertNull(q.poll());
483 assertEquals(i, ((Integer)q.poll(0, TimeUnit.MILLISECONDS)).intValue());
485 assertNull(q.poll(0, TimeUnit.MILLISECONDS));
498 assertEquals(i, ((Integer)q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS)).intValue());
500 assertNull(q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));
507 * Interrupted timed poll throws InterruptedException instead o
    [all...]
PriorityBlockingQueueTest.java 119 assertEquals(ints[i], q.poll());
137 assertEquals(ints[i], q.poll());
296 assertEquals(ints[i], q.poll());
456 * poll succeeds unless empty
461 assertEquals(i, ((Integer)q.poll()).intValue());
463 assertNull(q.poll());
473 assertEquals(i, ((Integer)q.poll(0, TimeUnit.MILLISECONDS)).intValue());
475 assertNull(q.poll(0, TimeUnit.MILLISECONDS));
488 assertEquals(i, ((Integer)q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS)).intValue());
490 assertNull(q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS))
    [all...]
ConcurrentLinkedQueueTest.java 94 assertEquals(ints[i], q.poll());
236 assertEquals(ints[i], q.poll());
242 * poll succeeds unless empty
247 assertEquals(i, ((Integer)q.poll()).intValue());
249 assertNull(q.poll());
259 q.poll();
273 q.poll();
319 q.poll();
395 assertEquals(o[i], q.poll());
407 assertEquals(ints[i], q.poll());
    [all...]
LinkedListTest.java 67 assertEquals(ints[i], q.poll());
158 assertEquals(ints[i], q.poll());
192 * poll succeeds unless empty
197 assertEquals(i, ((Integer)q.poll()).intValue());
199 assertNull(q.poll());
209 q.poll();
223 q.poll();
269 q.poll();
345 assertEquals(o[i], q.poll());
357 assertEquals(ints[i], q.poll());
    [all...]
  /bionic/libc/include/
poll.h 32 #include <linux/poll.h>
39 extern int poll(struct pollfd *, nfds_t, long);
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
RuntimeMemorySpy.java 29 Reference ref = notifyQueue.poll(); // non-blocking check
32 ref = notifyQueue.poll();
  /external/guava/src/com/google/common/collect/
ForwardingQueue.java 43 public E poll() { method in class:ForwardingQueue
44 return delegate().poll();
  /ndk/build/platforms/android-3/arch-arm/usr/include/
poll.h 32 #include <linux/poll.h>
39 extern int poll(struct pollfd *, nfds_t, long);
  /ndk/build/platforms/android-4/arch-arm/usr/include/
poll.h 32 #include <linux/poll.h>
39 extern int poll(struct pollfd *, nfds_t, long);
  /ndk/build/platforms/android-5/arch-arm/usr/include/
poll.h 32 #include <linux/poll.h>
39 extern int poll(struct pollfd *, nfds_t, long);
  /ndk/build/platforms/android-5/arch-x86/usr/include/
poll.h 32 #include <linux/poll.h>
39 extern int poll(struct pollfd *, nfds_t, long);
  /ndk/build/platforms/android-8/arch-arm/usr/include/
poll.h 32 #include <linux/poll.h>
39 extern int poll(struct pollfd *, nfds_t, long);
  /ndk/build/platforms/android-8/arch-x86/usr/include/
poll.h 32 #include <linux/poll.h>
39 extern int poll(struct pollfd *, nfds_t, long);
  /bionic/libc/private/
syscommon.h 13 #include <poll.h>
  /external/grub/netboot/
nic.h 19 int (*poll)P((struct nic *)); member in struct:nic
  /bootable/recovery/minui/
events.c 21 #include <sys/poll.h>
69 r = poll(ev_fds, ev_count, dont_wait ? 0 : -1);
  /hardware/libhardware_legacy/uevent/
uevent.c 21 #include <poll.h>
66 nr = poll(&fds, 1, -1);
  /system/core/libcutils/
abort_socket.c 22 #include <sys/poll.h>
69 /* ready to poll() */
81 ret = poll(pfd, 2, timeout);
133 ret = poll(pfd, 2, timeout);
178 ret = poll(pfd, 2, timeout);
224 ret = poll(pfd, 2, timeout);
264 /* wake up calls blocked at poll() */

Completed in 74 milliseconds

12 3 4 5 6 7 8 91011>>