Home
last modified time | relevance | path

Searched refs:offerLast (Results 1 – 23 of 23) 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.java268 boolean offerLast(E e); in offerLast() method
DArrayDeque.java259 public boolean offerLast(E e) { in offerLast() method in ArrayDeque
420 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.java183 boolean offerLast(ByteBuffer buf) { in offerLast() method in Util.BufferCache
284 if (!cache.offerLast(buf)) { in offerLastTemporaryDirectBuffer()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DDeque.annotated.java49 public boolean offerLast(@libcore.util.NullFromTypeParam E e); in offerLast() method
DArrayDeque.annotated.java54 public boolean offerLast(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!")… in offerLast() method in ArrayDeque
DLinkedList.annotated.java87 public boolean offerLast(@libcore.util.NullFromTypeParam E e) { throw new RuntimeException("Stub!")… in offerLast() method in LinkedList
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DLinkedBlockingDeque.java88 public boolean offerLast(E e) { in offerLast() method in LinkedBlockingDeque
105 public boolean offerLast(E e, long timeout, java.util.concurrent.TimeUnit unit) in offerLast() method in LinkedBlockingDeque
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrayDeque.java75 public boolean offerLast(E e) { in offerLast() method in ArrayDeque
DLinkedList.java193 public boolean offerLast(E e) { in offerLast() method in LinkedList
/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()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentLinkedDequeTest.java228 q.offerLast(null); in testOfferLastNull()
260 assertTrue(q.offerLast(zero)); in testOfferLast()
261 assertTrue(q.offerLast(one)); in testOfferLast()
DLinkedBlockingDequeTest.java149 q.offerLast(null); in testOfferLastNull()
168 assertTrue(q.offerLast(new Integer(0))); in testOfferLast()
169 assertTrue(q.offerLast(new Integer(1))); in testOfferLast()
1266 assertFalse(q.offerLast(new Object(), timeoutMillis(), MILLISECONDS));
1270 q.offerLast(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS);
1426 assertTrue(q.offerLast(zero, LONG_DELAY_MS, MILLISECONDS));
DLinkedListTest.java586 assertTrue(q.offerLast(new Integer(0))); in testOfferLast()
587 assertTrue(q.offerLast(new Integer(1))); in testOfferLast()
DCollection8Test.java226 () -> d.offerLast(null),
255 try { q.offerLast(null, 1L, HOURS); }