/libcore/ojluni/src/main/java/java/time/chrono/ |
D | AbstractChronology.java | 426 return dateEpochDay(fieldValues.remove(EPOCH_DAY)); in resolveDate() 469 Long pMonth = fieldValues.remove(PROLEPTIC_MONTH); in resolveProlepticMonth() 484 Long yoeLong = fieldValues.remove(YEAR_OF_ERA); in resolveYearOfEra() 486 Long eraLong = fieldValues.remove(ERA); in resolveYearOfEra() 522 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYMD() 524 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); in resolveYMD() 525 long days = Math.subtractExact(fieldValues.remove(DAY_OF_MONTH), 1); in resolveYMD() 528 …int moy = range(MONTH_OF_YEAR).checkValidIntValue(fieldValues.remove(MONTH_OF_YEAR), MONTH_OF_YEAR… in resolveYMD() 530 int dom = domRange.checkValidIntValue(fieldValues.remove(DAY_OF_MONTH), DAY_OF_MONTH); in resolveYMD() 542 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR); in resolveYD() [all …]
|
/libcore/ojluni/src/test/java/util/Collection/testlibrary/ |
D | ExtendsAbstractList.java | 66 public boolean remove(Object element) { in remove() method in ExtendsAbstractList 67 return list.remove(element); in remove() 78 public E remove(int index) { in remove() method in ExtendsAbstractList 79 return list.remove(index); in remove() 94 public void remove() { in iterator() method 95 source.remove(); in iterator()
|
D | ExtendsAbstractSet.java | 62 public boolean remove(Object element) { in remove() method in ExtendsAbstractSet 63 return set.remove(element); in remove() 78 public void remove() { in iterator() method 79 source.remove(); in iterator()
|
D | ExtendsAbstractCollection.java | 61 public boolean remove(Object element) { in remove() method in ExtendsAbstractCollection 62 return coll.remove(element); in remove() 77 public void remove() { in iterator() method 78 source.remove(); in iterator()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | EnumMapTest.java | 297 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(Integer.valueOf(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 …]
|
D | AbstractListTest.java | 48 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 …]
|
D | HashtableTest.java | 401 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 …]
|
D | AbstractSequentialListTest.java | 99 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()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ReverseOrderSortedMapView.java | 90 public V remove(Object key) { in remove() method in ReverseOrderSortedMapView 91 return base.remove(key); in remove() 105 public boolean remove(Object o) { return base.keySet().remove(o); } in keySet() method in ReverseOrderSortedMapView 116 public boolean remove(Object o) { return base.values().remove(o); } 127 public boolean remove(Object o) { return base.entrySet().remove(o); } 211 public void remove() { 215 root.remove(prev); 234 public void remove() { 235 keyIterator.remove(); 253 public void remove() { [all …]
|
D | ReverseOrderListView.java | 85 public void remove() { in remove() method in ReverseOrderListView.DescendingIterator 87 it.remove(); in remove() 125 public void remove() { in remove() method in ReverseOrderListView.DescendingListIterator 127 it.remove(); in remove() 226 public boolean remove(Object o) { in remove() method in ReverseOrderListView 232 it.remove(); in remove() 239 it.remove(); in remove() 255 it.remove(); in removeAll() 270 it.remove(); in retainAll() 364 public E remove(int index) { in remove() method in ReverseOrderListView [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
D | ReferenceQueueTest.java | 115 assertTrue("Remove failed.", ((Boolean) rq.remove().get()) in test_remove() 131 rq.remove(); in test_remove() 164 rq.remove((long) 1)); in test_removeJ() 167 Reference ret = rq.remove(0L); in test_removeJ() 188 Reference result = rq.remove(1L); in test_removeJ() 190 result = rq.remove(1L); in test_removeJ() 192 result = rq.remove(1L); in test_removeJ() 209 rq.remove(1000L); in test_removeJ() 235 rq.remove(-1); in test_removeJ() 251 rq.remove(100L); in test_Constructor()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldPriorityQueueTest.java | 51 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() 60 assertFalse(integerQueue.remove(111)); in test_remove_Ljava_lang_Object_not_exists() 61 assertFalse(integerQueue.remove(null)); in test_remove_Ljava_lang_Object_not_exists() 62 assertFalse(integerQueue.remove("")); in test_remove_Ljava_lang_Object_not_exists() 117 q.remove(4); // 2 replaces 4 but parent is 3, siftUp(.) is needed in test_removeAt_siftUp()
|
D | OldAndroidArrayListTest.java | 56 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()
|
D | OldAndroidHashMapTest.java | 60 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()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 286 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/jdk/internal/misc/ |
D | VM.java | 288 String s = (String)props.remove("sun.nio.MaxDirectMemorySize"); in saveAndRemoveProperties() 301 s = (String)props.remove("sun.nio.PageAlignDirectMemory"); in saveAndRemoveProperties() 315 props.remove("java.lang.Integer.IntegerCache.high"); in saveAndRemoveProperties() 318 props.remove("sun.zip.disableMemoryMapping"); in saveAndRemoveProperties() 321 props.remove("sun.java.launcher.diag"); in saveAndRemoveProperties() 324 props.remove("sun.cds.enableSharedLookupCache"); in saveAndRemoveProperties()
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | MOAT.java | 443 try { it.remove(); } in testEmptyIterator() 474 () -> c.remove(first), in testImmutableCollection() 495 it.remove(); }, in testImmutableList() 498 it.remove(); }); in testImmutableList() 510 () -> c.remove(ABSENT_VALUE), in testCollMutatorsAlwaysThrow() 568 () -> m.remove(ABSENT_VALUE), in testMapMutatorsAlwaysThrow() 569 () -> m.remove(ABSENT_VALUE, 0), in testMapMutatorsAlwaysThrow() 617 () -> m.remove(first), in testImmutableMap() 656 check(c.remove(ABSENT_VALUE)); in supportsAdd() 662 try { check(! c.remove(ABSENT_VALUE)); } in supportsRemove() [all …]
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 387 long ch = fieldValues.remove(CLOCK_HOUR_OF_DAY); in resolveTimeFields() 395 long ch = fieldValues.remove(CLOCK_HOUR_OF_AMPM); in resolveTimeFields() 402 long ap = fieldValues.remove(AMPM_OF_DAY); in resolveTimeFields() 403 long hap = fieldValues.remove(HOUR_OF_AMPM); in resolveTimeFields() 413 long nod = fieldValues.remove(NANO_OF_DAY); in resolveTimeFields() 423 long cod = fieldValues.remove(MICRO_OF_DAY); in resolveTimeFields() 431 long lod = fieldValues.remove(MILLI_OF_DAY); in resolveTimeFields() 439 long sod = fieldValues.remove(SECOND_OF_DAY); in resolveTimeFields() 448 long mod = fieldValues.remove(MINUTE_OF_DAY); in resolveTimeFields() 463 long cos = fieldValues.remove(MICRO_OF_SECOND); in resolveTimeFields() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | ReferenceQueueTest.java | 33 referenceQueue.remove(-1); in testRemoveWithInvalidTimeout() 55 referenceQueue.remove(Long.MAX_VALUE); in testRemoveWithVeryLargeTimeout() 71 referenceQueue.remove(timeoutMsec); in testRemoveWithSpuriousNotify() 80 assertNotNull(referenceQueue.remove()); in testRemoveWithImmediateResultAndNoTimeout() 86 assertNotNull(referenceQueue.remove(1000)); in testRemoveWithImmediateResultAndTimeout() 94 Object result = referenceQueue.remove(); in testRemoveWithDelayedResultAndNoTimeout() 106 Object result = referenceQueue.remove(1000); in testRemoveWithDelayedResultAndTimeout()
|
/libcore/ojluni/src/test/java/util/PriorityQueue/ |
D | PriorityQueueSort.java | 75 recons.add(pq.remove()); in main() 82 recons.add(pq.remove()); in main() 90 i.remove(); in main() 93 recons.add(pq.remove()); in main() 97 i.remove(); in main()
|
D | ForgetMeNot.java | 54 THROWS(IllegalStateException.class, () -> it.remove()); in removeIsCurrentlyIllegal() 58 private static void remove(Iterator<Integer> it, in remove() method in ForgetMeNot 61 it.remove(); in remove() 94 remove(it, q); in realMain() 120 remove(it, q); in realMain() 125 remove(it, q); in realMain() 133 remove(it, q); in realMain()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessEnvironment.java | 270 public String remove(Object key) { in remove() method in ProcessEnvironment.StringEnvironment 271 return toString(m.remove(Variable.valueOfQueryOnly(key))); in remove() 360 public void remove() {i.remove();} in iterator() method 379 public boolean remove(Object o) { return s.remove(vvEntry(o)); } 400 public void remove() {i.remove();} 406 public boolean remove(Object o) { 407 return c.remove(Value.valueOfQueryOnly(o)); 427 public void remove() { i.remove();} 433 public boolean remove(Object o) { 434 return s.remove(Variable.valueOfQueryOnly(o));
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentLinkedQueueTest.java | 141 q.remove(); in testEmpty() 142 q.remove(); in testEmpty() 153 q.remove(); in testSize() 312 assertEquals(i, q.remove()); in testRemove() 315 q.remove(); in testRemove() 327 assertTrue(q.remove(i)); in testRemoveElement() 333 assertTrue(q.remove(i)); in testRemoveElement() 335 assertFalse(q.remove(i + 1)); in testRemoveElement() 396 p.remove(); in testRetainAll() 410 Integer x = (Integer)(p.remove()); in testRemoveAll() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentLinkedQueueTest.java | 108 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 …]
|
/libcore/support/src/test/java/libcore/java/security/ |
D | StandardNames.java | 115 assertTrue(algorithm, algorithms.remove(algorithm.toUpperCase(Locale.ROOT))); in unprovide() 117 assertNotNull(PROVIDER_ALGORITHMS.remove(type)); in unprovide() 379 PROVIDER_ALGORITHMS.remove("Configuration"); 380 PROVIDER_ALGORITHMS.remove("GssApiMechanism"); 381 PROVIDER_ALGORITHMS.remove("KeyInfoFactory"); 382 PROVIDER_ALGORITHMS.remove("Policy"); 383 PROVIDER_ALGORITHMS.remove("SaslClientFactory"); 384 PROVIDER_ALGORITHMS.remove("SaslServerFactory"); 385 PROVIDER_ALGORITHMS.remove("TerminalFactory"); 386 PROVIDER_ALGORITHMS.remove("TransformService"); [all …]
|