Home
last modified time | relevance | path

Searched refs:addAll (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListAddAllAtIndexTester.java48 getList().addAll(0, MinimalCollection.of(samples.e0))); in testAddAllAtIndex_supportedAllPresent()
56 getList().addAll(0, MinimalCollection.of(samples.e0)); in testAddAllAtIndex_unsupportedAllPresent()
67 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3))); in testAddAllAtIndex_supportedSomePresent()
75 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)); in testAddAllAtIndex_unsupportedSomePresent()
86 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_supportedNothing()
94 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_unsupportedNothing()
105 getList().addAll(0, elementsToAdd)); in testAddAllAtIndex_withDuplicates()
114 getList().addAll(0, containsNull)); in testAddAllAtIndex_nullSupported()
127 getList().addAll(0, containsNull); in testAddAllAtIndex_nullUnsupported()
140 getList().addAll(getNumElements() / 2, createDisjointCollection())); in testAddAllAtIndex_middle()
[all …]
DCollectionAddAllTester.java48 collection.addAll(emptyCollection())); in testAddAll_supportedNothing()
56 collection.addAll(emptyCollection())); in testAddAll_unsupportedNothing()
65 collection.addAll(createDisjointCollection())); in testAddAll_supportedNonePresent()
72 collection.addAll(createDisjointCollection()); in testAddAll_unsupportedNonePresent()
84 collection.addAll(MinimalCollection.of(samples.e3, samples.e0))); in testAddAll_supportedSomePresent()
93 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)); in testAddAll_unsupportedSomePresent()
105 collection.addAll(MinimalCollection.of(samples.e0))); in testAddAll_unsupportedAllPresent()
116 .addAll(containsNull)); in testAddAll_nullSupported()
129 collection.addAll(containsNull); in testAddAll_nullUnsupported()
141 collection.addAll(null); in testAddAll_nullCollectionReference()
DSetAddAllTester.java41 getSet().addAll(MinimalCollection.of(samples.e3, samples.e0))); in testAddAll_supportedSomePresent()
50 getSet().addAll(elementsToAdd)); in testAddAll_withDuplicates()
58 getSet().addAll(MinimalCollection.of(samples.e0))); in testAddAll_supportedAllPresent()
DListAddAllTester.java41 getList().addAll(MinimalCollection.of(samples.e0))); in testAddAll_supportedAllPresent()
49 getList().addAll(MinimalCollection.of(samples.e0)); in testAddAll_unsupportedAllPresent()
61 getList().addAll(elementsToAdd)); in testAddAll_withDuplicates()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DArrayListTest.java194 alist.addAll(50, alist); in test_addAllILjava_util_Collection()
212 alist.addAll(100, listWithNulls); in test_addAllILjava_util_Collection()
221 alist.addAll(205, listWithNulls); in test_addAllILjava_util_Collection()
233 obj.addAll((int) -1, (Collection) null); in test_addAllILjava_util_Collection_2()
251 list1.addAll(list2); in test_addAllILjava_util_Collection_2()
260 obj.addAll(list1); in test_addAllILjava_util_Collection_2()
281 list1.addAll(location, list2); in test_addAllILjava_util_Collection_2()
299 obj.addAll(0, obj); in test_addAllILjava_util_Collection_3()
300 obj.addAll(obj.size(), obj); in test_addAllILjava_util_Collection_3()
302 obj.addAll(-1, obj); in test_addAllILjava_util_Collection_3()
[all …]
DCollections2Test.java326 assertFalse(Collections.addAll(l, new Object[] {})); in test_AddAll()
328 assertTrue(Collections.addAll(l, new Object[] { new Integer(1), in test_AddAll()
346 Collections.addAll(c1, arr1); in test_Disjoint()
347 Collections.addAll(c2, arr2); in test_Disjoint()
354 Collections.addAll(c1, arr1); in test_Disjoint()
355 Collections.addAll(c2, arr2); in test_Disjoint()
362 Collections.addAll(c1, arr1); in test_Disjoint()
363 Collections.addAll(c2, arr2); in test_Disjoint()
370 Collections.addAll(c1, arr1); in test_Disjoint()
371 Collections.addAll(c2, arr2); in test_Disjoint()
[all …]
DAbstractQueueTest.java160 queue.addAll(null); in test_addAllLE_null()
173 queue.addAll(list); in test_addAllLE_with_null()
186 queue.addAll(list); in test_addAllLE_full()
199 assertFalse("Non modification to queue should return false", queue.addAll(list)); in test_addAllLE_empty()
207 queue.addAll(queue); in test_addAllLE_this()
228 queue.addAll(list); in test_clear()
/external/guava/guava/src/com/google/common/collect/
DConstraints.java102 @Override public boolean addAll(Collection<? extends E> elements) { in addAll() method in Constraints.ConstrainedCollection
103 return delegate.addAll(checkElements(elements, constraint)); in addAll()
140 @Override public boolean addAll(Collection<? extends E> elements) { in addAll() method in Constraints.ConstrainedSet
141 return delegate.addAll(checkElements(elements, constraint)); in addAll()
189 @Override public boolean addAll(Collection<? extends E> elements) { in addAll() method in Constraints.ConstrainedSortedSet
190 return delegate.addAll(checkElements(elements, constraint)); in addAll()
236 @Override public boolean addAll(Collection<? extends E> elements) { in addAll() method in Constraints.ConstrainedList
237 return delegate.addAll(checkElements(elements, constraint)); in addAll()
239 @Override public boolean addAll(int index, Collection<? extends E> elements) in addAll() method in Constraints.ConstrainedList
241 return delegate.addAll(index, checkElements(elements, constraint)); in addAll()
[all …]
DQueues.java81 Iterables.addAll(queue, elements); in newConcurrentLinkedQueue()
120 Iterables.addAll(queue, elements); in newLinkedBlockingQueue()
149 Iterables.addAll(queue, elements); in newPriorityBlockingQueue()
175 Iterables.addAll(queue, elements); in newPriorityQueue()
DImmutableMultiset.java128 Collections.addAll(all, e1, e2, e3, e4, e5, e6); in of()
129 Collections.addAll(all, others); in of()
240 Iterators.addAll(multiset, elements); in copyOf()
599 @Override public Builder<E> addAll(Iterable<? extends E> elements) { in addAll() method in Builder
606 super.addAll(elements); in addAll()
619 @Override public Builder<E> addAll(Iterator<? extends E> elements) { in addAll() method in Builder
620 super.addAll(elements); in addAll()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXCRLUtil.java30 initialSet.addAll(findCRLs(crlselect, paramsPKIX.getAdditionalStores())); in findCRLs()
31 initialSet.addAll(findCRLs(crlselect, paramsPKIX.getStores())); in findCRLs()
32 initialSet.addAll(findCRLs(crlselect, paramsPKIX.getCertStores())); in findCRLs()
81 completeSet.addAll(findCRLs(crlselect, paramsPKIX.getCertStores())); in findCRLs()
123 crls.addAll(store.getMatches(crlSelect)); in findCRLs()
138 crls.addAll(store.getCRLs(crlSelect)); in findCRLs()
/external/guava/guava-tests/test/com/google/common/collect/
DConstraintsTest.java81 constrained.addAll(asList("cat", "dog")); in testConstrainedCollectionLegal()
96 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedCollectionIllegal()
108 constrained.addAll(asList("cat", "dog")); in testConstrainedSetLegal()
125 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedSetIllegal()
138 constrained.addAll(asList("cat", "dog")); in testConstrainedSortedSetLegal()
171 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedSortedSetIllegal()
184 constrained.addAll(asList("cat", "dog")); in testConstrainedListLegal()
186 constrained.addAll(4, asList("box", "fan")); in testConstrainedListLegal()
253 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedListIllegal()
257 constrained.addAll(1, asList("baz", TEST_ELEMENT)); in testConstrainedListIllegal()
[all …]
DCollections2Test.java92 unfiltered.addAll(asList(elements)); in testsForFilter()
113 unfiltered.addAll(asList(elements));
134 unfiltered.addAll(asList(elements));
156 unfiltered.addAll(ImmutableList.copyOf(elements));
178 unfiltered.addAll(ImmutableList.copyOf(elements));
212 filtered.addAll(asList("c", "zzz", "d"));
258 Collections.addAll(unfiltered,
DImmutableMultisetTest.java292 .addAll(a) in testBuilderAddAll()
293 .addAll(b) in testBuilderAddAll()
302 .addAll(a) in testBuilderAddAllMultiset()
303 .addAll(b) in testBuilderAddAllMultiset()
312 .addAll(iterator) in testBuilderAddAllIterator()
348 builder.addAll((Collection<String>) null); in testBuilderAddAllHandlesNullsCorrectly()
355 builder.addAll(listWithNulls); in testBuilderAddAllHandlesNullsCorrectly()
363 builder.addAll(multisetWithNull); in testBuilderAddAllHandlesNullsCorrectly()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSet.java86 Collections.addAll(all, e1, e2, e3, e4, e5, e6); in of()
87 Collections.addAll(all, others); in of()
158 Collections.addAll(set, elements); in create()
203 @Override public Builder<E> addAll(Iterable<? extends E> elements) { in addAll() method in ImmutableSet.Builder
208 super.addAll(elements); in addAll()
212 @Override public Builder<E> addAll(Iterator<? extends E> elements) { in addAll() method in ImmutableSet.Builder
213 super.addAll(elements); in addAll()
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DPhoneNumberMatcherTest.java446 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithPossibleLeniency()
447 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithPossibleLeniency()
448 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithPossibleLeniency()
449 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testMatchesWithPossibleLeniency()
455 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithPossibleLeniency()
461 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithValidLeniency()
462 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithValidLeniency()
463 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithValidLeniency()
469 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithValidLeniency()
470 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testNonMatchesWithValidLeniency()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/
DAnnotations.java55 result.addAll(a1); in combine()
56 result.addAll(a2); in combine()
76 result.addAll(annotations); in combine()
192 public void addAll(Annotations toAdd) { in addAll() method in Annotations
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DLookaheadSet.java48 tokenTypeSet.addAll(s); in LookaheadSet()
57 this.tokenTypeSet.addAll(other.tokenTypeSet); in LookaheadSet()
61 this.tokenTypeSet.addAll(other.tokenTypeSet); in orInPlace()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedGenerator.java206 certs.addAll(CMSUtils.getCertificatesFromStore(certStore)); in addCertificatesAndCRLs()
207 crls.addAll(CMSUtils.getCRLsFromStore(certStore)); in addCertificatesAndCRLs()
214 certs.addAll(CMSUtils.getCertificatesFromStore(certStore)); in addCertificates()
221 crls.addAll(CMSUtils.getCRLsFromStore(crlStore)); in addCRLs()
228 certs.addAll(CMSUtils.getAttributeCertificatesFromStore(attrStore)); in addAttributeCertificates()
/external/icu4c/i18n/
Ddecfmtst.cpp99 fDefaultGroupingSeparators->addAll(*fCommaEquivalents); in DecimalFormatStaticSets()
100 fDefaultGroupingSeparators->addAll(*fOtherGroupingSeparators); in DecimalFormatStaticSets()
103 fStrictDefaultGroupingSeparators->addAll(*fStrictCommaEquivalents); in DecimalFormatStaticSets()
104 fStrictDefaultGroupingSeparators->addAll(*fStrictOtherGroupingSeparators); in DecimalFormatStaticSets()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPHeaderList.java134 this.addAll(other); in concatenate()
137 this.addAll(0, other); in concatenate()
519 public boolean addAll(Collection<? extends HDR> collection) { in addAll() method in SIPHeaderList
520 return this.hlist.addAll(collection); in addAll()
523 public boolean addAll(int index, Collection<? extends HDR> collection) { in addAll() method in SIPHeaderList
524 return this.hlist.addAll(index, collection); in addAll()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DSafeArrayList.java98 addAll(c); in SafeArrayList()
199 public boolean addAll(Collection<? extends E> c) { in addAll() method in SafeArrayList
200 boolean result = getBuffer().addAll(c); in addAll()
205 public boolean addAll(int index, Collection<? extends E> c) { in addAll() method in SafeArrayList
206 boolean result = getBuffer().addAll(index, c); in addAll()
/external/proguard/src/proguard/
DClassPath.java70 public boolean addAll(ClassPath classPath) in addAll() method in ClassPath
72 return classPathEntries.addAll(classPath.classPathEntries); in addAll()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DListIteratorTester.java54 Helpers.addAll(list, iteratorStimuli()); in getStimulusValues()
55 Helpers.addAll(list, listIteratorStimuli()); in getStimulusValues()
/external/icu4c/test/intltest/
Dtransrt.cpp506 this->toSource.addAll(okAnyway); in test()
515 this->toTarget.addAll(okAnyway); in test()
1340 …vowelSignSet.addAll( UnicodeSet("[\\u0902\\u0903\\u0904\\u093e-\\u094c\\u0962\\u0963]",status));/*… in LegalIndic()
1341 …vowelSignSet.addAll( UnicodeSet("[\\u0982\\u0983\\u09be-\\u09cc\\u09e2\\u09e3\\u09D7]",status));/*… in LegalIndic()
1342 …vowelSignSet.addAll( UnicodeSet("[\\u0a02\\u0a03\\u0a3e-\\u0a4c\\u0a62\\u0a63\\u0a70\\u0a71]",stat… in LegalIndic()
1343 …vowelSignSet.addAll( UnicodeSet("[\\u0a82\\u0a83\\u0abe-\\u0acc\\u0ae2\\u0ae3]",status));/* Gujara… in LegalIndic()
1344 …vowelSignSet.addAll( UnicodeSet("[\\u0b02\\u0b03\\u0b3e-\\u0b4c\\u0b62\\u0b63\\u0b56\\u0b57]",stat… in LegalIndic()
1345 …vowelSignSet.addAll( UnicodeSet("[\\u0b82\\u0b83\\u0bbe-\\u0bcc\\u0be2\\u0be3\\u0bd7]",status));/*… in LegalIndic()
1346 …vowelSignSet.addAll( UnicodeSet("[\\u0c02\\u0c03\\u0c3e-\\u0c4c\\u0c62\\u0c63\\u0c55\\u0c56]",stat… in LegalIndic()
1347 …vowelSignSet.addAll( UnicodeSet("[\\u0c82\\u0c83\\u0cbe-\\u0ccc\\u0ce2\\u0ce3\\u0cd5\\u0cd6]",stat… in LegalIndic()
[all …]

12345678910>>...12