Home
last modified time | relevance | path

Searched refs:offerFirst (Results 1 – 24 of 24) 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.java250 boolean offerFirst(E e); in offerFirst() method
DArrayDeque.java247 public boolean offerFirst(E e) { in offerFirst() method in ArrayDeque
DLinkedList.java707 public boolean offerFirst(E e) { in offerFirst() method in LinkedList
DCollections.java5588 public boolean offer(E e) { return q.offerFirst(e); }
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java169 boolean offerFirst(ByteBuffer buf) { in offerFirst() method in Util.BufferCache
262 if (!cache.offerFirst(buf)) { in offerFirstTemporaryDirectBuffer()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DDeque.annotated.java47 public boolean offerFirst(@libcore.util.NullFromTypeParam E e); in offerFirst() method
DArrayDeque.annotated.java52 public boolean offerFirst(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"… in offerFirst() method in ArrayDeque
DLinkedList.annotated.java85 public boolean offerFirst(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!"… in offerFirst() method in LinkedList
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DLinkedBlockingDeque.java84 public boolean offerFirst(E e) { in offerFirst() method in LinkedBlockingDeque
100 public boolean offerFirst(E e, long timeout, java.util.concurrent.TimeUnit unit) in offerFirst() method in LinkedBlockingDeque
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrayDeque.java71 public boolean offerFirst(E e) { in offerFirst() method in ArrayDeque
DLinkedList.java189 public boolean offerFirst(E e) { in offerFirst() method in LinkedList
/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()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentLinkedDequeTest.java217 q.offerFirst(null); in testOfferFirstNull()
249 assertTrue(q.offerFirst(zero)); in testOfferFirst()
250 assertTrue(q.offerFirst(one)); in testOfferFirst()
DLinkedBlockingDequeTest.java138 q.offerFirst(null); in testOfferFirstNull()
159 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst()
160 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst()
917 assertFalse(q.offerFirst(new Object(), timeoutMillis(), MILLISECONDS)); in testTimedOfferFirst()
921 q.offerFirst(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS); in testTimedOfferFirst()
1153 assertTrue(q.offerFirst(zero, LONG_DELAY_MS, MILLISECONDS)); in testTimedPollFirstWithOfferFirst()
DLinkedListTest.java577 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst()
578 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst()
DCollection8Test.java225 () -> d.offerFirst(null),
250 try { q.offerFirst(null, 1L, HOURS); }