Home
last modified time | relevance | path

Searched refs:offerLast (Results 1 – 13 of 13) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayDequeTest.java174 assertTrue(testQue.offerLast(testObjOne)); in test_offerLast()
177 assertTrue(testQue.offerLast(testObjOne)); in test_offerLast()
180 assertTrue(testQue.offerLast(testObjTwo)); in test_offerLast()
185 testQue.offerLast(null); in test_offerLast()
196 assertTrue(testQue.offerLast(testObjOne)); in test_removeFirst()
197 assertTrue(testQue.offerLast(testObjTwo)); in test_removeFirst()
198 assertTrue(testQue.offerLast(testObjThree)); in test_removeFirst()
217 assertTrue(testQue.offerLast(testObjOne)); in test_removeLast()
218 assertTrue(testQue.offerLast(testObjTwo)); in test_removeLast()
219 assertTrue(testQue.offerLast(testObjThree)); in test_removeLast()
[all …]
DLinkedListTest.java709 assertTrue(testList.offerLast(testObjOne)); in test_removeFirstOccurrence()
710 assertTrue(testList.offerLast(testObjTwo)); in test_removeFirstOccurrence()
711 assertTrue(testList.offerLast(testObjOne)); in test_removeFirstOccurrence()
712 assertTrue(testList.offerLast(testObjThree)); in test_removeFirstOccurrence()
713 assertTrue(testList.offerLast(testObjOne)); in test_removeFirstOccurrence()
733 assertTrue(testList.offerLast(testObjOne)); in test_removeLastOccurrence()
734 assertTrue(testList.offerLast(testObjTwo)); in test_removeLastOccurrence()
735 assertTrue(testList.offerLast(testObjOne)); in test_removeLastOccurrence()
736 assertTrue(testList.offerLast(testObjThree)); in test_removeLastOccurrence()
737 assertTrue(testList.offerLast(testObjOne)); in test_removeLastOccurrence()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DBlockingDeque.java275 boolean offerLast(E e); in offerLast() method
346 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() method
DLinkedBlockingDeque.java334 if (!offerLast(e)) in addLast()
356 public boolean offerLast(E e) { in offerLast() method in LinkedBlockingDeque
429 public boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() method in LinkedBlockingDeque
641 return offerLast(e); in offer()
658 return offerLast(e, timeout, unit); in offer()
DConcurrentLinkedDeque.java897 public boolean offerLast(E e) { in offerLast() method in ConcurrentLinkedDeque
980 return offerLast(e); in offer()
992 return offerLast(e); in add()
/libcore/ojluni/src/main/java/java/util/
DDeque.java267 boolean offerLast(E e); in offerLast() method
DArrayDeque.java253 public boolean offerLast(E e) { in offerLast() method in ArrayDeque
414 return offerLast(e); in offer()
DLinkedList.java719 public boolean offerLast(E e) { in offerLast() method in LinkedList
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java127 boolean offerLast(ByteBuffer buf) { in offerLast() method in Util.BufferCache
202 if (!cache.offerLast(buf)) { in offerLastTemporaryDirectBuffer()
/libcore/jsr166-tests/src/test/java/jsr166/
DArrayDequeTest.java40 assertTrue(q.offerLast(new Integer(i))); in populatedDeque()
190 q.offerLast(null); in testOfferLastNull()
222 assertTrue(q.offerLast(zero)); in testOfferLast()
223 assertTrue(q.offerLast(one)); in testOfferLast()
DConcurrentLinkedDequeTest.java194 q.offerLast(null); in testOfferLastNull()
226 assertTrue(q.offerLast(zero)); in testOfferLast()
227 assertTrue(q.offerLast(one)); in testOfferLast()
DLinkedBlockingDequeTest.java115 q.offerLast(null); in testOfferLastNull()
134 assertTrue(q.offerLast(new Integer(0))); in testOfferLast()
135 assertTrue(q.offerLast(new Integer(1))); in testOfferLast()
1232 assertFalse(q.offerLast(new Object(), timeoutMillis(), MILLISECONDS));
1236 q.offerLast(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS);
1392 assertTrue(q.offerLast(zero, LONG_DELAY_MS, MILLISECONDS));
DLinkedListTest.java545 assertTrue(q.offerLast(new Integer(0))); in testOfferLast()
546 assertTrue(q.offerLast(new Integer(1))); in testOfferLast()