/libcore/luni/src/main/java/java/net/ |
D | CookieStoreImpl.java | 45 cookies.remove(cookie); in add() 74 i.remove(); // remove expired cookies in get() 94 i.remove(); // remove expired cookies in get() 110 i.remove(); // remove expired cookies in getCookies() 121 result.remove(null); // sigh in getURIs() 125 public synchronized boolean remove(URI uri, HttpCookie cookie) { in remove() method in CookieStoreImpl 132 return cookies.remove(cookie); in remove()
|
/libcore/luni/src/test/java/tests/api/java/util/ |
D | EnumMapTest.java | 329 enumSizeMap.remove(Size.Small); in test_clone() 413 .remove(mockEntry)); in test_entrySet() 417 .remove(mockEntry)); in test_entrySet() 420 .remove(mockEntry)); in test_entrySet() 422 .remove(new Integer(1))); in test_entrySet() 430 enumSizeMap.remove(Size.Big); in test_entrySet() 493 .remove(integer)); in test_entrySet() 495 .remove(entry)); in test_entrySet() 514 enumSizeMap.remove(Size.Big); in test_entrySet() 523 iter.remove(); in test_entrySet() [all …]
|
D | ArrayListTest.java | 303 originalList.remove(0); in test_addAllLjava_util_Collection() 304 originalList.remove(0); in test_addAllLjava_util_Collection() 427 al.remove(0); in test_ensureCapacityI() 529 alist.remove(10); in test_removeI() 533 alist.remove(999); in test_removeI() 541 alist.remove(50); in test_removeI() 542 alist.remove(25); in test_removeI() 547 assertTrue("Removed wrong element 1", list.remove(0) == "a"); in test_removeI() 548 assertTrue("Removed wrong element 2", list.remove(4) == "f"); in test_removeI() 557 l.remove(0); in test_removeI() [all …]
|
D | AbstractSequentialListTest.java | 111 public void remove() { in remove() method in AbstractSequentialListTest.Mock_unsupportedListIterator 150 public void remove() { in remove() method in AbstractSequentialListTest.Mock_ListIterator 217 strV.remove("String"); in test_addAllILjava_util_Collection() 227 strV.remove(null); in test_addAllILjava_util_Collection() 371 public void remove() { in test_getI() 506 public void remove() { in test_removeI() 517 asl.remove(asl.size() + 1); in test_removeI() 524 asl.remove(-1); in test_removeI() 532 asl.remove(i); in test_removeI() 585 public void remove() { in test_setILjava_lang_Object()
|
D | HashtableTest.java | 517 ht.remove(String.valueOf(i - 1)); in test_isEmpty() 570 ht.remove("initial"); in test_keys_subtest0() 610 it.remove(); in test_keySet() 612 it.remove(); in test_keySet() 615 list.remove(remove1); in test_keySet() 616 list.remove(remove2); in test_keySet() 633 it2.remove(); in test_keySet() 651 assertTrue("should contain key", s1.remove("Key 0")); in test_keySet_subtest0() 652 assertTrue("should not contain key", !s1.remove("Key 0")); in test_keySet_subtest0() 660 ht.remove(String.valueOf(i)); in test_keySet_subtest0() [all …]
|
D | AbstractMapTest.java | 125 assertSame("HashMap(0)", map1.remove("key"), value); in test_removeLjava_lang_Object() 129 assertSame("IdentityHashMap", map4.remove(key), value); in test_removeLjava_lang_Object() 133 assertSame("LinkedHashMap", map5.remove(key), value); in test_removeLjava_lang_Object() 142 assertSame("TreeMap", map6.remove(key), value); in test_removeLjava_lang_Object() 146 assertSame("WeakHashMap", map7.remove(key), value); in test_removeLjava_lang_Object() 150 Object valueOut = aSpecialMap.remove(specialKey); in test_removeLjava_lang_Object() 270 public void remove() { in entrySet() method 339 assertFalse(view.remove(null));
|
D | EnumSetTest.java | 161 iterator.remove(); in testRemoveIteratorRemoveFromHugeEnumSet() 167 iterator.remove(); in testRemoveIteratorRemoveFromHugeEnumSet() 428 anotherSetWithSubclass.remove(EnumWithInnerClass.a); in test_addAll_LCollection() 498 anotherHugeSetWithSubclass.remove(HugeEnumWithInnerClass.a); in test_addAll_LCollection() 520 boolean result = set.remove(null); in test_remove_LOject() 523 result = set.remove(EnumFoo.a); in test_remove_LOject() 525 result = set.remove(EnumFoo.a); in test_remove_LOject() 530 result = set.remove(EnumWithInnerClass.a); in test_remove_LOject() 532 result = set.remove(EnumWithInnerClass.f); in test_remove_LOject() 538 result = hugeSet.remove(null); in test_remove_LOject() [all …]
|
/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
D | ReferenceQueueTest.java | 135 assertTrue("Remove failed.", ((Boolean) rq.remove().get()) in test_remove() 148 rq.remove(); in test_remove() 184 rq.remove((long) 1)); in test_removeJ() 187 Reference ret = rq.remove(0L); in test_removeJ() 208 Reference result = rq.remove(1L); in test_removeJ() 210 result = rq.remove(1L); in test_removeJ() 212 result = rq.remove(1L); in test_removeJ() 226 rq.remove(1000L); in test_removeJ() 249 rq.remove(-1); in test_removeJ() 271 rq.remove(100L); in test_Constructor()
|
/libcore/luni/src/main/java/java/util/ |
D | AbstractCollection.java | 104 it.remove(); in clear() 225 public boolean remove(Object object) { in remove() method in AbstractCollection 230 it.remove(); in remove() 237 it.remove(); in remove() 279 it.remove(); in removeAll() 320 it.remove(); in retainAll()
|
D | AbstractSet.java | 104 it.remove(); in removeAll() 111 result = remove(it.next()) || result; in removeAll()
|
D | List.java | 249 public E remove(int location); in remove() method 261 public boolean remove(Object object); in remove() method
|
D | AbstractList.java | 67 public void remove() { in remove() method in AbstractList.SimpleListIterator 77 AbstractList.this.remove(lastPosition); in remove() 230 public void remove() { in remove() method in AbstractList.SubAbstractList.SubAbstractListIterator 231 iterator.remove(); in remove() 324 public E remove(int location) { in remove() method in AbstractList.SubAbstractList 327 E result = fullList.remove(location + offset); in remove() 644 public E remove(int location) { in remove() method in AbstractList 665 it.remove(); in removeRange()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | StandardNames.java | 74 assertTrue(algorithm, algorithms.remove(algorithm.toUpperCase())); in unprovide() 76 assertNotNull(PROVIDER_ALGORITHMS.remove(type)); in unprovide() 225 PROVIDER_ALGORITHMS.remove("Configuration"); 226 PROVIDER_ALGORITHMS.remove("GssApiMechanism"); 227 PROVIDER_ALGORITHMS.remove("KeyInfoFactory"); 228 PROVIDER_ALGORITHMS.remove("Policy"); 229 PROVIDER_ALGORITHMS.remove("SaslClientFactory"); 230 PROVIDER_ALGORITHMS.remove("SaslServerFactory"); 231 PROVIDER_ALGORITHMS.remove("TerminalFactory"); 232 PROVIDER_ALGORITHMS.remove("TransformService"); [all …]
|
/libcore/luni/src/main/java/java/lang/ref/ |
D | ReferenceQueue.java | 79 public Reference<? extends T> remove() throws InterruptedException { in remove() method in ReferenceQueue 80 return remove(0L); in remove() 99 public synchronized Reference<? extends T> remove(long timeout) throws IllegalArgumentException, in remove() method in ReferenceQueue
|
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
D | ConcurrentLinkedQueueTest.java | 97 q.remove(); in testEmpty() 98 q.remove(); in testEmpty() 109 q.remove(); in testSize() 269 assertEquals(i, q.remove()); in testRemove() 272 q.remove(); in testRemove() 283 assertTrue(q.remove(new Integer(i))); in testRemoveElement() 286 assertTrue(q.remove(new Integer(i))); in testRemoveElement() 287 assertFalse(q.remove(new Integer(i+1))); in testRemoveElement() 347 p.remove(); in testRetainAll() 361 Integer I = (Integer)(p.remove()); in testRemoveAll() [all …]
|
D | PriorityQueueTest.java | 130 q.remove(); in testEmpty() 131 q.remove(); in testEmpty() 142 q.remove(); in testSize() 302 assertEquals(i, q.remove()); in testRemove() 305 q.remove(); in testRemove() 316 assertTrue(q.remove(new Integer(i))); in testRemoveElement() 319 assertTrue(q.remove(new Integer(i))); in testRemoveElement() 320 assertFalse(q.remove(new Integer(i+1))); in testRemoveElement() 380 p.remove(); in testRetainAll() 394 Integer I = (Integer)(p.remove()); in testRemoveAll() [all …]
|
D | LinkedListTest.java | 77 q.remove(); in testEmpty() 78 q.remove(); in testEmpty() 89 q.remove(); in testSize() 234 assertEquals(i, ((Integer)q.remove()).intValue()); in testRemove() 237 q.remove(); in testRemove() 249 assertTrue(q.remove(new Integer(i))); in testRemoveElement() 252 assertTrue(q.remove(new Integer(i))); in testRemoveElement() 253 assertFalse(q.remove(new Integer(i+1))); in testRemoveElement() 313 p.remove(); in testRetainAll() 327 Integer I = (Integer)(p.remove()); in testRemoveAll() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
D | ArrayListTest.java | 167 alist.remove(size); in test_addILjava_lang_Object_2() 250 list1.remove(0); in test_addAllILjava_util_Collection_2() 280 list1.remove(location); in test_addAllILjava_util_Collection_2() 350 blist.remove(0); in test_addAllCollectionOfQextendsE() 405 originalList.remove(0); in test_addAllLjava_util_Collection() 406 originalList.remove(0); in test_addAllLjava_util_Collection() 542 al.remove(0); in test_ensureCapacityI() 670 alist.remove(10); in test_removeI() 674 alist.remove(999); in test_removeI() 684 alist.remove(50); in test_removeI() [all …]
|
D | IdentityHashMapTest.java | 83 result = map.remove(null); in test_null_Keys_and_Values() 118 map.remove("key1"); in test_remove() 135 hashMap.remove("absent"); in test_removeLjava_lang_Object() 139 hashMap.remove("key"); in test_removeLjava_lang_Object() 144 hashMap.remove(null); in test_removeLjava_lang_Object() 237 boolean result = vals.remove(key); in test_values() 242 result = vals.remove(value); in test_values() 254 result = vals.remove(key); in test_values() 260 result = vals.remove(value); in test_values() 343 it.remove(); in test_keyset_remove() [all …]
|
D | HashMapTest.java | 306 s.remove(iter.next()); in test_entrySet() 363 hm.remove(proxyKey)); in test_proxies() 414 it.remove(); in test_keySet() 416 it.remove(); in test_keySet() 419 list.remove(remove1); in test_keySet() 420 list.remove(remove2); in test_keySet() 437 it2.remove(); in test_keySet() 480 assertNotNull(map.remove(myKey)); in test_putLjava_lang_ObjectLjava_lang_Object() 500 assertNull(objmap.remove(new MyKey())); in test_putLjava_lang_ObjectLjava_lang_Object() 557 Integer x = ((Integer) hm.remove(y.toString())); in test_removeLjava_lang_Object() [all …]
|
D | ListIteratorTest.java | 106 public void remove() { in remove() method in ListIteratorTest.Mock_ListIterator 125 l.remove(); in testRemove() 132 l.remove(); in testRemove() 137 l.remove(); in testRemove() 145 ml.remove(); in testRemove() 240 l.remove(); in testSet()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldPriorityQueueTest.java | 77 assertFalse(queue.remove("BB")); in test_remove_Ljava_lang_Object_using_comparator() 78 assertTrue(queue.remove("AA")); in test_remove_Ljava_lang_Object_using_comparator() 95 assertFalse(integerQueue.remove(111)); in test_remove_Ljava_lang_Object_not_exists() 96 assertFalse(integerQueue.remove(null)); in test_remove_Ljava_lang_Object_not_exists() 97 assertFalse(integerQueue.remove("")); in test_remove_Ljava_lang_Object_not_exists()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | NamedNodeMapImpl.java | 101 return list.remove(i); in removeNamedItem() 112 return list.remove(i); in removeNamedItemNS() 138 list.remove(i); in setNamedItem() 168 list.remove(i); in setNamedItemNS()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
D | RuntimeMemorySpy.java | 69 wrapper = memoryInUse.remove(address); in free() 71 refToShadow.remove(wrapper.wrAddress); in free() 106 PlatformAddress shadow = refToShadow.remove(ref); in orphanedMemory()
|
/libcore/luni/src/main/java/org/apache/xpath/axes/ |
D | IteratorPool.java | 75 DTMIterator result = (DTMIterator)m_freeStack.remove(m_freeStack.size() - 1); in getInstanceOrThrow() 104 DTMIterator result = (DTMIterator)m_freeStack.remove(m_freeStack.size() - 1); in getInstance()
|