/libcore/luni/src/test/java/libcore/java/util/ |
D | OldCollectionsTest.java | 358 public boolean addAll(Collection c) { in addAll() method in OldCollectionsTest.Mock_Collection 414 public boolean addAll(Collection c) { in addAll() method in OldCollectionsTest.Mock_WrongCollection 464 assertFalse(Collections.addAll(l, new Object[] {})); in test_AddAll() 466 assertTrue(Collections.addAll(l, new Object[] { new Integer(1), in test_AddAll() 473 Collections.addAll(null,new Object[] { new Integer(1), in test_AddAll() 482 Collections.addAll(c, new Object[] { new Integer(1), in test_AddAll() 492 Collections.addAll(c, new String[] { "String", in test_AddAll() 500 Collections.addAll(c, new String[] { "String", in test_AddAll() 507 Collections.addAll(c, new String[] { "String", in test_AddAll() 521 Collections.addAll(c1, arr1); in test_Disjoint() [all …]
|
D | OldTreeSetTest.java | 95 s.addAll(ts); in test_addAllLjava_util_Collection() 106 s.addAll(hm.values()); in test_addAllLjava_util_Collection() 113 s.addAll(null); in test_addAllLjava_util_Collection()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueueTest.java | 126 q.addAll(null); in testAddAll1() 137 q.addAll(q); in testAddAllSelf() 149 q.addAll(Arrays.asList(ints)); in testAddAll2() 164 q.addAll(Arrays.asList(ints)); in testAddAll3() 178 q.addAll(Arrays.asList(ints)); in testAddAll4()
|
D | PriorityQueueTest.java | 127 q.addAll(Arrays.asList(ints)); in testConstructor7() 221 q.addAll(null); in testAddAll1() 232 q.addAll(Arrays.asList(new Integer[SIZE])); in testAddAll2() 247 q.addAll(Arrays.asList(ints)); in testAddAll3() 261 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5() 262 assertTrue(q.addAll(Arrays.asList(ints))); in testAddAll5()
|
D | ConcurrentLinkedQueueTest.java | 176 q.addAll(null); in testAddAll1() 187 q.addAll(q); in testAddAllSelf() 198 q.addAll(Arrays.asList(new Integer[SIZE])); in testAddAll2() 213 q.addAll(Arrays.asList(ints)); in testAddAll3() 227 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5() 228 assertTrue(q.addAll(Arrays.asList(ints))); in testAddAll5()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AbstractQueueTest.java | 149 q.addAll(null); in testAddAll1() 160 q.addAll(q); in testAddAllSelf() 172 q.addAll(Arrays.asList(ints)); in testAddAll2() 187 q.addAll(Arrays.asList(ints)); in testAddAll3() 201 q.addAll(Arrays.asList(ints)); in testAddAll4()
|
D | ArrayDeque8Test.java | 105 assertTrue(q.addAll(Collections.nCopies(maxArraySize - 3, e))); in testHugeCapacity() 120 () -> qq.addAll(qq), in testHugeCapacity() 121 () -> qq.addAll(smallish), in testHugeCapacity() 122 () -> smallish.addAll(qq)); in testHugeCapacity()
|
D | ConcurrentLinkedQueueTest.java | 209 q.addAll(null); in testAddAll1() 220 q.addAll(q); in testAddAllSelf() 231 q.addAll(Arrays.asList(new Integer[SIZE])); in testAddAll2() 246 q.addAll(Arrays.asList(ints)); in testAddAll3() 260 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5() 261 assertTrue(q.addAll(Arrays.asList(ints))); in testAddAll5()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | AbstractSequentialListTest.java | 66 al.addAll(c); in test_addAll_ILCollection() 67 assertTrue("Should return true", al.addAll(2, c)); in test_addAll_ILCollection() 165 asl.addAll(0, strV); in test_addAllILjava_util_Collection() 171 asl.addAll(0, null); in test_addAllILjava_util_Collection() 193 asl.addAll(0, strV); in test_addAllILjava_util_Collection() 203 asl.addAll(0, strV); in test_addAllILjava_util_Collection() 210 asl.addAll(0, strV); in test_addAllILjava_util_Collection() 215 asl.addAll(-10, strV); in test_addAllILjava_util_Collection() 222 asl.addAll(1, strV); in test_addAllILjava_util_Collection()
|
D | ArrayListTest.java | 201 alist.addAll(50, alist); in test_addAllILjava_util_Collection() 219 alist.addAll(100, listWithNulls); in test_addAllILjava_util_Collection() 228 alist.addAll(205, listWithNulls); in test_addAllILjava_util_Collection() 240 obj.addAll((int) -1, (Collection) null); in test_addAllILjava_util_Collection_2() 258 list1.addAll(list2); in test_addAllILjava_util_Collection_2() 267 obj.addAll(list1); in test_addAllILjava_util_Collection_2() 288 list1.addAll(location, list2); in test_addAllILjava_util_Collection_2() 306 obj.addAll(0, obj); in test_addAllILjava_util_Collection_3() 307 obj.addAll(obj.size(), obj); in test_addAllILjava_util_Collection_3() 309 obj.addAll(-1, obj); in test_addAllILjava_util_Collection_3() [all …]
|
D | ConcurrentModTest.java | 227 sub.addAll(1, c); in testAddAll() 422 abstr.addAll(0, null); in test_addAllILjava_util_Collection() 429 abstr.addAll(0, c); in test_addAllILjava_util_Collection() 452 abstr.addAll(0, c); in test_addAllILjava_util_Collection() 484 abstr.addAll(0, c); in test_addAllILjava_util_Collection() 489 abstr.addAll(0, c); in test_addAllILjava_util_Collection() 495 abstr.addAll(0, c); in test_addAllILjava_util_Collection() 498 abstr.addAll(-1, c); in test_addAllILjava_util_Collection() 505 abstr.addAll(abstr.size() + 1, c); in test_addAllILjava_util_Collection() 539 abstr1.addAll(c); in test_equalsLjava_lang_Object() [all …]
|
D | Collections2Test.java | 328 assertFalse(Collections.addAll(l, new Object[] { })); in test_AddAll() 330 assertTrue(Collections.addAll(l, new Object[] { new Integer(1), in test_AddAll() 348 Collections.addAll(c1, arr1); in test_Disjoint() 349 Collections.addAll(c2, arr2); in test_Disjoint() 356 Collections.addAll(c1, arr1); in test_Disjoint() 357 Collections.addAll(c2, arr2); in test_Disjoint() 364 Collections.addAll(c1, arr1); in test_Disjoint() 365 Collections.addAll(c2, arr2); in test_Disjoint() 372 Collections.addAll(c1, arr1); in test_Disjoint() 373 Collections.addAll(c2, arr2); in test_Disjoint() [all …]
|
D | LinkedListTest.java | 149 ll.addAll(50, (Collection) ll.clone()); in test_addAllILjava_util_Collection() 166 ll.addAll(50, myList); in test_addAllILjava_util_Collection() 176 ll.addAll(-1, (Collection) null); in test_addAllILjava_util_Collection() 183 ll.addAll(ll.size() + 1, (Collection) null); in test_addAllILjava_util_Collection() 190 ll.addAll(0, null); in test_addAllILjava_util_Collection() 204 obj.addAll(-1, (Collection) null); in test_addAllILjava_util_Collection_2() 217 l.addAll((Collection) ll.clone()); in test_addAllLjava_util_Collection() 221 ll.addAll((Collection) ll.clone()); in test_addAllLjava_util_Collection() 236 ll.addAll(myList); in test_addAllLjava_util_Collection() 246 ll.addAll(null); in test_addAllLjava_util_Collection() [all …]
|
D | AbstractListTest.java | 140 sList.addAll(Arrays.asList(new String[] { "1", "2" })); in test_subListII() 143 sList.addAll(0, Arrays.asList(new String[] { "3", "4" })); in test_subListII() 284 mainList.addAll(Arrays.asList(mainObjects)); in test_subList_addAll() 291 subList.addAll(Arrays.asList(subObjects)); in test_subList_addAll() 517 list.addAll(Arrays.asList(array)); in test_indexOf_Ljava_lang_Object() 533 list.addAll(Arrays.asList(array)); in test_lastIndexOf_Ljava_lang_Object()
|
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/jce/provider/ |
D | CertBlocklistTest.java | 239 bl.addAll(DEFAULT_PUBKEYS); in testPubkeyBlocklistLegit() 277 bl.addAll(DEFAULT_SERIALS); in testSerialBlocklistLegit() 290 bl.addAll(DEFAULT_PUBKEYS); in testPubkeyBlocklistMultipleLegit() 303 bl.addAll(DEFAULT_SERIALS); in testSerialBlocklistMultipleLegit() 317 bl.addAll(DEFAULT_PUBKEYS); in testPubkeyBlocklistMultipleBad() 333 bl.addAll(DEFAULT_SERIALS); in testSerialBlocklistMultipleBad() 385 bl.addAll(DEFAULT_SERIALS); in testSerialBlocklistZero() 397 bl.addAll(DEFAULT_SERIALS); in testSerialBlocklistNegative()
|
/libcore/ojluni/src/main/java/java/security/ |
D | UnresolvedPermissionCollection.java | 128 results.addAll(l); in elements() 174 vec.addAll(list); in writeObject() 214 list.addAll(vec); in readObject()
|
/libcore/ojluni/src/main/java/java/util/ |
D | TreeSet.java | 160 addAll(c); in TreeSet() 172 addAll(s); in TreeSet() 298 public boolean addAll(Collection<? extends E> c) { in addAll() method in TreeSet 312 return super.addAll(c); in addAll()
|
D | RegularEnumSet.java | 52 void addAll() { in addAll() method in RegularEnumSet 216 public boolean addAll(Collection<? extends E> c) { in addAll() method in RegularEnumSet 218 return super.addAll(c); in addAll()
|
D | LinkedHashSet.java | 169 addAll(c); in LinkedHashSet()
|
D | AbstractQueue.java | 180 public boolean addAll(Collection<? extends E> c) { in addAll() method in AbstractQueue
|
D | JumboEnumSet.java | 70 void addAll() { in addAll() method in JumboEnumSet 271 public boolean addAll(Collection<? extends E> c) { in addAll() method in JumboEnumSet 273 return super.addAll(c); in addAll()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_CollectionTest.java | 62 .addAll(myCollection)); in runTest() 85 col.addAll(myCollection); in runTest()
|
/libcore/ojluni/src/main/java/sun/util/resources/ |
D | OpenListResourceBundle.java | 106 ks.addAll(handleKeySet()); in keySet() 108 ks.addAll(parent.keySet()); in keySet()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | ArrayList.java | 138 public boolean addAll(java.util.Collection<? extends E> c) { in addAll() method in ArrayList 142 public boolean addAll(int index, java.util.Collection<? extends E> c) { in addAll() method in ArrayList 379 public boolean addAll(java.util.Collection<? extends E> c) { in addAll() method in ArrayList.SubList 383 public boolean addAll(int index, java.util.Collection<? extends E> c) { in addAll() method in ArrayList.SubList
|
/libcore/support/src/test/java/tests/util/ |
D | ClassLoaderBuilder.java | 114 classpath.addAll(classpathToUrls("java.class.path")); in build() 115 classpath.addAll(classpathToUrls("sun.boot.class.path")); in build()
|