Home
last modified time | relevance | path

Searched refs:offerFirst (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DBlockingDeque.java259 boolean offerFirst(E e); in offerFirst() method
324 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() method
DLinkedBlockingDeque.java325 if (!offerFirst(e)) in addFirst()
341 public boolean offerFirst(E e) { in offerFirst() method in LinkedBlockingDeque
406 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() method in LinkedBlockingDeque
DConcurrentLinkedDeque.java883 public boolean offerFirst(E e) { in offerFirst() method in ConcurrentLinkedDeque
/libcore/ojluni/src/main/java/java/util/
DDeque.java249 boolean offerFirst(E e); in offerFirst() method
DArrayDeque.java241 public boolean offerFirst(E e) { in offerFirst() method in ArrayDeque
DLinkedList.java707 public boolean offerFirst(E e) { in offerFirst() method in LinkedList
DCollections.java5577 public boolean offer(E e) { return q.offerFirst(e); }
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java116 boolean offerFirst(ByteBuffer buf) { in offerFirst() method in Util.BufferCache
187 if (!cache.offerFirst(buf)) { in offerFirstTemporaryDirectBuffer()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedListTest.java758 assertTrue(testList.offerFirst(testObjOne)); in test_offerFirst()
761 assertTrue(testList.offerFirst(testObjOne)); in test_offerFirst()
764 assertTrue(testList.offerFirst(testObjTwo)); in test_offerFirst()
768 assertTrue(testList.offerFirst(null)); in test_offerFirst()
DArrayDequeTest.java152 assertTrue(testQue.offerFirst(testObjOne)); in test_offerFirst()
155 assertTrue(testQue.offerFirst(testObjOne)); in test_offerFirst()
158 assertTrue(testQue.offerFirst(testObjTwo)); in test_offerFirst()
163 testQue.offerFirst(null); in test_offerFirst()
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentLinkedDequeTest.java183 q.offerFirst(null); in testOfferFirstNull()
215 assertTrue(q.offerFirst(zero)); in testOfferFirst()
216 assertTrue(q.offerFirst(one)); in testOfferFirst()
DLinkedBlockingDequeTest.java104 q.offerFirst(null); in testOfferFirstNull()
125 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst()
126 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst()
883 assertFalse(q.offerFirst(new Object(), timeoutMillis(), MILLISECONDS)); in testTimedOfferFirst()
887 q.offerFirst(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS); in testTimedOfferFirst()
1119 assertTrue(q.offerFirst(zero, LONG_DELAY_MS, MILLISECONDS)); in testTimedPollFirstWithOfferFirst()
DArrayDequeTest.java179 q.offerFirst(null); in testOfferFirstNull()
211 assertTrue(q.offerFirst(zero)); in testOfferFirst()
212 assertTrue(q.offerFirst(one)); in testOfferFirst()
DLinkedListTest.java536 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst()
537 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst()