Home
last modified time | relevance | path

Searched refs:remove (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/libcore/ojluni/src/main/java/java/time/chrono/
DAbstractChronology.java456 return dateEpochDay(fieldValues.remove(EPOCH_DAY)); in resolveDate()
499 Long pMonth = fieldValues.remove(PROLEPTIC_MONTH); in resolveProlepticMonth()
514 Long yoeLong = fieldValues.remove(YEAR_OF_ERA); in resolveYearOfEra()
516 Long eraLong = fieldValues.remove(ERA); in resolveYearOfEra()
552 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYMD()
554 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD()
555 long days = Math.subtractExact(fieldValues.remove(DAY_OF_MONTH), 1); in resolveYMD()
558 …int moy = range(MONTH_OF_YEAR).checkValidIntValue(fieldValues.remove(MONTH_OF_YEAR), MONTH_OF_YEAR… in resolveYMD()
560 int dom = domRange.checkValidIntValue(fieldValues.remove(DAY_OF_MONTH), DAY_OF_MONTH); in resolveYMD()
572 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYD()
[all …]
DIsoChronology.java497 Long pMonth = fieldValues.remove(PROLEPTIC_MONTH); in resolveProlepticMonth()
509 Long yoeLong = fieldValues.remove(YEAR_OF_ERA); in resolveYearOfEra()
514 Long era = fieldValues.remove(ERA); in resolveYearOfEra()
544 int y = YEAR.checkValidIntValue(fieldValues.remove(YEAR)); in resolveYMD()
546 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD()
547 long days = Math.subtractExact(fieldValues.remove(DAY_OF_MONTH), 1); in resolveYMD()
550 int moy = MONTH_OF_YEAR.checkValidIntValue(fieldValues.remove(MONTH_OF_YEAR)); in resolveYMD()
551 int dom = DAY_OF_MONTH.checkValidIntValue(fieldValues.remove(DAY_OF_MONTH)); in resolveYMD()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceQueueTest.java115 assertTrue("Remove failed.", ((Boolean) rq.remove().get()) in test_remove()
128 rq.remove(); in test_remove()
158 rq.remove((long) 1)); in test_removeJ()
161 Reference ret = rq.remove(0L); in test_removeJ()
182 Reference result = rq.remove(1L); in test_removeJ()
184 result = rq.remove(1L); in test_removeJ()
186 result = rq.remove(1L); in test_removeJ()
203 rq.remove(1000L); in test_removeJ()
225 rq.remove(-1); in test_removeJ()
241 rq.remove(100L); in test_Constructor()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumMapTest.java297 enumSizeMap.remove(Size.Small); in test_clone()
369 .remove(mockEntry)); in test_entrySet()
373 .remove(mockEntry)); in test_entrySet()
376 .remove(mockEntry)); in test_entrySet()
378 .remove(new Integer(1))); in test_entrySet()
386 enumSizeMap.remove(Size.Big); in test_entrySet()
449 .remove(integer)); in test_entrySet()
451 .remove(entry)); in test_entrySet()
470 enumSizeMap.remove(Size.Big); in test_entrySet()
479 iter.remove(); in test_entrySet()
[all …]
DAbstractListTest.java48 public Object remove(int i) { in remove() method in AbstractListTest.SimpleList
49 return this.arrayList.remove(i); in remove()
86 it.remove(); in test_iterator()
146 sList.remove(0); in test_subListII()
152 lit.remove(); in test_subListII()
201 emptySubList.remove(0); in test_subList_empty()
216 public E remove(int idx) { in remove() method in AbstractListTest.MockArrayList
218 return list.remove(idx); in remove()
259 it.remove(); in test_iterator_next()
267 it.remove(); in test_iterator_next()
[all …]
DHashtableTest.java401 ht.remove(String.valueOf(i - 1)); in test_isEmpty()
450 ht.remove("initial"); in test_keys_subtest0()
484 it.remove(); in test_keySet()
486 it.remove(); in test_keySet()
489 list.remove(remove1); in test_keySet()
490 list.remove(remove2); in test_keySet()
507 it2.remove(); in test_keySet()
519 assertTrue("should contain key", s1.remove("Key 0")); in test_keySet_subtest0()
520 assertTrue("should not contain key", !s1.remove("Key 0")); in test_keySet_subtest0()
528 ht.remove(String.valueOf(i)); in test_keySet_subtest0()
[all …]
DAbstractSequentialListTest.java99 public void remove() { in remove() method in AbstractSequentialListTest.Mock_unsupportedListIterator
138 public void remove() { in remove() method in AbstractSequentialListTest.Mock_ListIterator
199 strV.remove("String"); in test_addAllILjava_util_Collection()
209 strV.remove(null); in test_addAllILjava_util_Collection()
341 public void remove() { in test_getI()
456 public void remove() { in test_removeI()
467 asl.remove(asl.size() + 1); in test_removeI()
474 asl.remove(-1); in test_removeI()
482 asl.remove(i); in test_removeI()
529 public void remove() { in test_setILjava_lang_Object()
DArrayListTest.java173 alist.remove(size); in test_addILjava_lang_Object_2()
256 list1.remove(0); in test_addAllILjava_util_Collection_2()
286 list1.remove(location); in test_addAllILjava_util_Collection_2()
413 originalList.remove(0); in test_addAllLjava_util_Collection()
414 originalList.remove(0); in test_addAllLjava_util_Collection()
550 al.remove(0); in test_ensureCapacityI()
682 alist.remove(10); in test_removeI()
686 alist.remove(999); in test_removeI()
696 alist.remove(50); in test_removeI()
697 alist.remove(25); in test_removeI()
[all …]
DArrayDequeTest.java441 assertEquals(testObjOne, testQue.remove()); in test_remove()
443 assertEquals(testObjTwo, testQue.remove()); in test_remove()
444 assertEquals(testObjThree, testQue.remove()); in test_remove()
447 testQue.remove(); in test_remove()
566 testQue.remove(); in test_size()
567 testQue.remove(); in test_size()
585 testQue.remove(); in test_isEmpty()
586 testQue.remove(); in test_isEmpty()
605 result.remove(); in test_iterator()
624 result.remove(); in test_iterator()
[all …]
DSortedMapTestBase.java104 j.remove(); in testKeySet()
105 i.remove(); in testKeySet()
146 assertEquals(ref.remove(key), map.remove(key)); in testRemove()
157 assertEquals(ref.remove(key), map.remove(key)); in testRemove0()
176 j.remove(); in testValues()
177 i.remove(); in testValues()
273 map.remove("one"); in testIsEmpty2()
342 j.remove(); in compareIterators()
343 i.remove(); in compareIterators()
365 map2.remove(map2.lastKey()); in testClone()
/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidArrayListTest.java56 array.remove(1); in testArrayList()
57 array.remove(1); in testArrayList()
81 assertFalse(al.remove(null)); in testArrayList()
82 assertFalse(al.remove("string")); in testArrayList()
87 assertTrue(al.remove(null)); in testArrayList()
88 assertTrue(al.remove("string")); in testArrayList()
DOldPriorityQueueTest.java51 assertFalse(queue.remove("BB")); in test_remove_Ljava_lang_Object_using_comparator()
52 assertTrue(queue.remove("AA")); in test_remove_Ljava_lang_Object_using_comparator()
59 assertFalse(integerQueue.remove(111)); in test_remove_Ljava_lang_Object_not_exists()
60 assertFalse(integerQueue.remove(null)); in test_remove_Ljava_lang_Object_not_exists()
61 assertFalse(integerQueue.remove("")); in test_remove_Ljava_lang_Object_not_exists()
116 q.remove(4); // 2 replaces 4 but parent is 3, siftUp(.) is needed in test_removeAt_siftUp()
DOldAndroidHashMapTest.java60 map.remove("three"); in testRemove()
73 assertNull(map.remove(null)); in testManipulate()
74 assertNull(map.remove("one")); in testManipulate()
97 assertEquals(0, map.remove(null).intValue()); in testManipulate()
98 assertEquals(1, map.remove("one").intValue()); in testManipulate()
99 assertEquals(2, map.remove("two").intValue()); in testManipulate()
100 assertEquals(3, map.remove("three").intValue()); in testManipulate()
108 assertNull(map.remove(null)); in testManipulate()
109 assertNull(map.remove("one")); in testManipulate()
DOldListIteratorTest.java88 public void remove() { in remove() method in OldListIteratorTest.Mock_ListIterator
101 l.remove(); in testRemove()
108 l.remove(); in testRemove()
113 l.remove(); in testRemove()
121 ml.remove(); in testRemove()
186 l.remove(); in testSet()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java33 referenceQueue.remove(-1); in testRemoveWithInvalidTimeout()
42 referenceQueue.remove(Long.MAX_VALUE); in testRemoveWithVeryLargeTimeout()
57 referenceQueue.remove(1000); in testRemoveWithSpuriousNotify()
66 assertNotNull(referenceQueue.remove()); in testRemoveWithImmediateResultAndNoTimeout()
72 assertNotNull(referenceQueue.remove(1000)); in testRemoveWithImmediateResultAndTimeout()
79 referenceQueue.remove(); in testRemoveWithDelayedResultAndNoTimeout()
89 referenceQueue.remove(1000); in testRemoveWithDelayedResultAndTimeout()
/libcore/ojluni/src/main/java/sun/misc/
DVM.java286 String s = (String)props.remove("sun.nio.MaxDirectMemorySize"); in saveAndRemoveProperties()
299 s = (String)props.remove("sun.nio.PageAlignDirectMemory"); in saveAndRemoveProperties()
313 props.remove("java.lang.Integer.IntegerCache.high"); in saveAndRemoveProperties()
316 props.remove("sun.zip.disableMemoryMapping"); in saveAndRemoveProperties()
319 props.remove("sun.java.launcher.diag"); in saveAndRemoveProperties()
322 props.remove("sun.cds.enableSharedLookupCache"); in saveAndRemoveProperties()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java343 Instant instant = Instant.ofEpochSecond(fieldValues.remove(INSTANT_SECONDS)); in resolveInstantFields0()
372 long ch = fieldValues.remove(CLOCK_HOUR_OF_DAY); in resolveTimeFields()
380 long ch = fieldValues.remove(CLOCK_HOUR_OF_AMPM); in resolveTimeFields()
387 long ap = fieldValues.remove(AMPM_OF_DAY); in resolveTimeFields()
388 long hap = fieldValues.remove(HOUR_OF_AMPM); in resolveTimeFields()
398 long nod = fieldValues.remove(NANO_OF_DAY); in resolveTimeFields()
408 long cod = fieldValues.remove(MICRO_OF_DAY); in resolveTimeFields()
416 long lod = fieldValues.remove(MILLI_OF_DAY); in resolveTimeFields()
424 long sod = fieldValues.remove(SECOND_OF_DAY); in resolveTimeFields()
433 long mod = fieldValues.remove(MINUTE_OF_DAY); in resolveTimeFields()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DProcessEnvironment.java245 public String remove(Object key) { in remove() method in ProcessEnvironment.StringEnvironment
246 return toString(m.remove(Variable.valueOfQueryOnly(key))); in remove()
335 public void remove() {i.remove();} in iterator() method
354 public boolean remove(Object o) { return s.remove(vvEntry(o)); }
375 public void remove() {i.remove();}
381 public boolean remove(Object o) {
382 return c.remove(Value.valueOfQueryOnly(o));
402 public void remove() { i.remove();}
408 public boolean remove(Object o) {
409 return s.remove(Variable.valueOfQueryOnly(o));
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentLinkedQueueTest.java108 q.remove(); in testEmpty()
109 q.remove(); in testEmpty()
120 q.remove(); in testSize()
279 assertEquals(i, q.remove()); in testRemove()
282 q.remove(); in testRemove()
294 assertTrue(q.remove(i)); in testRemoveElement()
300 assertTrue(q.remove(i)); in testRemoveElement()
302 assertFalse(q.remove(i + 1)); in testRemoveElement()
363 p.remove(); in testRetainAll()
377 Integer x = (Integer)(p.remove()); in testRemoveAll()
[all …]
DConcurrentLinkedDequeTest.java111 q.remove(); in testEmpty()
112 q.remove(); in testEmpty()
123 q.remove(); in testSize()
429 assertEquals(i, q.remove()); in testRemove()
432 q.remove(); in testRemove()
444 assertTrue(q.remove(i)); in testRemoveElement()
450 assertTrue(q.remove(i)); in testRemoveElement()
452 assertFalse(q.remove(i + 1)); in testRemoveElement()
632 p.remove(); in testRetainAll()
646 Integer x = (Integer)(p.remove()); in testRemoveAll()
[all …]
DPriorityQueueTest.java141 q.remove(); in testEmpty()
142 q.remove(); in testEmpty()
153 q.remove(); in testSize()
313 assertEquals(i, q.remove()); in testRemove()
316 q.remove(); in testRemove()
328 assertTrue(q.remove(i)); in testRemoveElement()
334 assertTrue(q.remove(i)); in testRemoveElement()
336 assertFalse(q.remove(i + 1)); in testRemoveElement()
397 p.remove(); in testRetainAll()
411 Integer x = (Integer)(p.remove()); in testRemoveAll()
[all …]
/libcore/ojluni/src/main/java/java/util/
DAbstractCollection.java281 public boolean remove(Object o) { in remove() method in AbstractCollection
286 it.remove(); in remove()
293 it.remove(); in remove()
376 it.remove(); in removeAll()
410 it.remove(); in retainAll()
436 it.remove(); in clear()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java191 threads.remove(ti); in read()
219 threads.remove(ti); in read()
243 threads.remove(ti); in write()
271 threads.remove(ti); in write()
299 threads.remove(ti); in position()
324 threads.remove(ti); in position()
346 threads.remove(ti); in size()
402 threads.remove(ti); in truncate()
422 threads.remove(ti); in force()
476 threads.remove(ti); in transferToDirectlyInternal()
[all …]
DFileLockTable.java61 public abstract void remove(FileLock fl); in remove() method in FileLockTable
169 lockMap.remove(fk); in removeKeyIfEmpty()
174 public void remove(FileLock fl) { in remove() method in SharedFileLockTable
189 list.remove(index); in remove()
212 list.remove(index); in removeAll()
267 list.remove(ref); in removeStaleEntries()
/libcore/ojluni/src/main/java/sun/security/x509/
DGeneralSubtrees.java90 public void remove(int index) { in remove() method in GeneralSubtrees
91 trees.remove(index); in remove()
212 remove(j); in minimize()
228 remove(i); in minimize()
366 remove(i); in intersect()
427 remove(i); in intersect()
508 remove(j); in reduce()
513 remove(j); in reduce()

12345678910>>...13