Home
last modified time | relevance | path

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

12345678910>>...32

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DGenericListVisitorAdapter.java54 result.addAll(tmp); in visit()
59 result.addAll(tmp); in visit()
64 result.addAll(tmp); in visit()
69 result.addAll(tmp); in visit()
81 result.addAll(tmp); in visit()
86 result.addAll(tmp); in visit()
91 result.addAll(tmp); in visit()
96 result.addAll(tmp); in visit()
101 result.addAll(tmp); in visit()
113 result.addAll(tmp); in visit()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListAddAllAtIndexTester.java47 getList().addAll(0, MinimalCollection.of(samples.e0))); in testAddAllAtIndex_supportedAllPresent()
55 getList().addAll(0, MinimalCollection.of(samples.e0)); in testAddAllAtIndex_unsupportedAllPresent()
66 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3))); in testAddAllAtIndex_supportedSomePresent()
74 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)); in testAddAllAtIndex_unsupportedSomePresent()
85 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_supportedNothing()
93 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_unsupportedNothing()
104 getList().addAll(0, elementsToAdd)); in testAddAllAtIndex_withDuplicates()
113 getList().addAll(0, containsNull)); in testAddAllAtIndex_nullSupported()
126 getList().addAll(0, containsNull); in testAddAllAtIndex_nullUnsupported()
139 getList().addAll(getNumElements() / 2, createDisjointCollection())); in testAddAllAtIndex_middle()
[all …]
DCollectionAddAllTester.java53 collection.addAll(emptyCollection())); in testAddAll_supportedNothing()
61 collection.addAll(emptyCollection())); in testAddAll_unsupportedNothing()
70 collection.addAll(createDisjointCollection())); in testAddAll_supportedNonePresent()
77 collection.addAll(createDisjointCollection()); in testAddAll_unsupportedNonePresent()
89 collection.addAll(MinimalCollection.of(samples.e3, samples.e0))); in testAddAll_supportedSomePresent()
98 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)); in testAddAll_unsupportedSomePresent()
111 assertTrue(collection.addAll(MinimalCollection.of(samples.e3, samples.e0))); in testAddAllConcurrentWithIteration()
124 collection.addAll(MinimalCollection.of(samples.e0))); in testAddAll_unsupportedAllPresent()
135 .addAll(containsNull)); in testAddAll_nullSupported()
148 collection.addAll(containsNull); in testAddAll_nullUnsupported()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DCollectionAddAllTester.java50 collection.addAll(emptyCollection())); in testAddAll_supportedNothing()
58 collection.addAll(emptyCollection())); in testAddAll_unsupportedNothing()
67 collection.addAll(createDisjointCollection())); in testAddAll_supportedNonePresent()
74 collection.addAll(createDisjointCollection()); in testAddAll_unsupportedNonePresent()
86 collection.addAll(MinimalCollection.of(samples.e3, samples.e0))); in testAddAll_supportedSomePresent()
95 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)); in testAddAll_unsupportedSomePresent()
108 assertTrue(collection.addAll(MinimalCollection.of(samples.e3, samples.e0))); in testAddAllConcurrentWithIteration()
121 collection.addAll(MinimalCollection.of(samples.e0))); in testAddAll_unsupportedAllPresent()
132 .addAll(containsNull)); in testAddAll_nullSupported()
145 collection.addAll(containsNull); in testAddAll_nullUnsupported()
[all …]
/external/vogar/src/vogar/
DClasspath.java39 result.elements.addAll(files); in of()
43 public void addAll(File... elements) { in addAll() method in Classpath
44 addAll(Arrays.asList(elements)); in addAll()
47 public void addAll(Collection<File> elements) { in addAll() method in Classpath
48 this.elements.addAll(elements); in addAll()
51 public void addAll(Classpath anotherClasspath) { in addAll() method in Classpath
52 this.elements.addAll(anotherClasspath.elements); in addAll()
DJavaVm.java45 Iterables.addAll(vmCommand, run.invokeWith()); in newVmCommandBuilder()
67 result.addAll(run.classpath); in getRuntimeClasspath()
68 result.addAll(run.hostJar(action)); in getRuntimeClasspath()
78 result.addAll(new File("/usr/share/java/bcprov.jar")); in getRuntimeClasspath()
80 result.addAll(run.resourceClasspath); in getRuntimeClasspath()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDoubleArrayListTest.java77 list.addAll(asList(1D, 2D, 3D, 4D)); in testModificationWithIteration()
255 assertTrue(list.addAll(Collections.singleton(1D))); in testAddAll()
260 assertTrue(list.addAll(asList(2D, 3D, 4D, 5D, 6D))); in testAddAll()
263 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
266 assertFalse(list.addAll(Collections.<Double>emptyList())); in testAddAll()
267 assertFalse(list.addAll(DoubleArrayList.emptyList())); in testAddAll()
271 list.addAll(TERTIARY_LIST); in testRemove()
318 list.addAll(Collections.<Double>emptyList()); in assertImmutable()
325 list.addAll(Collections.singletonList(1D)); in assertImmutable()
332 list.addAll(new DoubleArrayList()); in assertImmutable()
[all …]
DBooleanArrayListTest.java77 list.addAll(asList(true, false, false, true)); in testModificationWithIteration()
255 assertTrue(list.addAll(Collections.singleton(false))); in testAddAll()
260 assertTrue(list.addAll(asList(true, false, false, false, true))); in testAddAll()
263 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
266 assertFalse(list.addAll(Collections.<Boolean>emptyList())); in testAddAll()
267 assertFalse(list.addAll(BooleanArrayList.emptyList())); in testAddAll()
271 list.addAll(TERTIARY_LIST); in testRemove()
314 list.addAll(Collections.<Boolean>emptyList()); in assertImmutable()
321 list.addAll(Collections.singletonList(false)); in assertImmutable()
328 list.addAll(new BooleanArrayList()); in assertImmutable()
[all …]
DLongArrayListTest.java77 list.addAll(asList(1L, 2L, 3L, 4L)); in testModificationWithIteration()
255 assertTrue(list.addAll(Collections.singleton(1L))); in testAddAll()
260 assertTrue(list.addAll(asList(2L, 3L, 4L, 5L, 6L))); in testAddAll()
263 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
266 assertFalse(list.addAll(Collections.<Long>emptyList())); in testAddAll()
267 assertFalse(list.addAll(LongArrayList.emptyList())); in testAddAll()
271 list.addAll(TERTIARY_LIST); in testRemove()
318 list.addAll(Collections.<Long>emptyList()); in assertImmutable()
325 list.addAll(Collections.singletonList(1L)); in assertImmutable()
332 list.addAll(new LongArrayList()); in assertImmutable()
[all …]
DFloatArrayListTest.java77 list.addAll(asList(1F, 2F, 3F, 4F)); in testModificationWithIteration()
255 assertTrue(list.addAll(Collections.singleton(1F))); in testAddAll()
260 assertTrue(list.addAll(asList(2F, 3F, 4F, 5F, 6F))); in testAddAll()
263 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
266 assertFalse(list.addAll(Collections.<Float>emptyList())); in testAddAll()
267 assertFalse(list.addAll(FloatArrayList.emptyList())); in testAddAll()
271 list.addAll(TERTIARY_LIST); in testRemove()
318 list.addAll(Collections.<Float>emptyList()); in assertImmutable()
325 list.addAll(Collections.singletonList(1F)); in assertImmutable()
332 list.addAll(new FloatArrayList()); in assertImmutable()
[all …]
DIntArrayListTest.java77 list.addAll(asList(1, 2, 3, 4)); in testModificationWithIteration()
255 assertTrue(list.addAll(Collections.singleton(1))); in testAddAll()
260 assertTrue(list.addAll(asList(2, 3, 4, 5, 6))); in testAddAll()
263 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
266 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll()
267 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll()
271 list.addAll(TERTIARY_LIST); in testRemove()
318 list.addAll(Collections.<Integer>emptyList()); in assertImmutable()
325 list.addAll(Collections.singletonList(1)); in assertImmutable()
332 list.addAll(new IntArrayList()); in assertImmutable()
[all …]
DProtobufArrayListTest.java67 list.addAll(asList(1, 2, 3, 4)); in testModificationWithIteration()
162 list.addAll(Collections.<Integer>emptyList()); in assertImmutable()
169 list.addAll(Collections.singletonList(1)); in assertImmutable()
176 list.addAll(new ProtobufArrayList<Integer>()); in assertImmutable()
183 list.addAll(UNARY_LIST); in assertImmutable()
190 list.addAll(0, Collections.singleton(1)); in assertImmutable()
197 list.addAll(0, UNARY_LIST); in assertImmutable()
204 list.addAll(0, Collections.<Integer>emptyList()); in assertImmutable()
/external/guava/guava-tests/test/com/google/common/collect/
DConstraintsTest.java69 constrained.addAll(asList("cat", "dog")); in testConstrainedCollectionLegal()
86 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedCollectionIllegal()
98 constrained.addAll(asList("cat", "dog")); in testConstrainedSetLegal()
116 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedSetIllegal()
129 constrained.addAll(asList("cat", "dog")); in testConstrainedSortedSetLegal()
163 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedSortedSetIllegal()
176 constrained.addAll(asList("cat", "dog")); in testConstrainedListLegal()
178 constrained.addAll(4, asList("box", "fan")); in testConstrainedListLegal()
245 constrained.addAll(asList("baz", TEST_ELEMENT)); in testConstrainedListIllegal()
249 constrained.addAll(1, asList("baz", TEST_ELEMENT)); in testConstrainedListIllegal()
[all …]
/external/guava/guava/src/com/google/common/collect/
DConstraints.java74 @Override public boolean addAll(Collection<? extends E> elements) { in addAll() method in Constraints.ConstrainedCollection
75 return delegate.addAll(checkElements(elements, constraint)); in addAll()
112 @Override public boolean addAll(Collection<? extends E> elements) { in addAll() method in Constraints.ConstrainedSet
113 return delegate.addAll(checkElements(elements, constraint)); in addAll()
161 @Override public boolean addAll(Collection<? extends E> elements) { in addAll() method in Constraints.ConstrainedSortedSet
162 return delegate.addAll(checkElements(elements, constraint)); in addAll()
208 @Override public boolean addAll(Collection<? extends E> elements) { in addAll() method in Constraints.ConstrainedList
209 return delegate.addAll(checkElements(elements, constraint)); in addAll()
211 @Override public boolean addAll(int index, Collection<? extends E> elements) in addAll() method in Constraints.ConstrainedList
213 return delegate.addAll(index, checkElements(elements, constraint)); in addAll()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/
Dcom_github_javaparser_symbolsolver_logic_AbstractClassDeclaration.txt4 …Line 48) superclasses.addAll(superClass.getAllClassesAncestors()) ==> java.util.List.addAll(java.u…
14 …Line 62) interfaces.addAll(interfaceDeclaration.getAllInterfacesAncestors()) ==> java.util.List.ad…
17 …Line 66) interfaces.addAll(superClass.getAllInterfacesAncestors()) ==> java.util.List.addAll(java.…
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeNameTransliterator.java86 sourceSet.addAll(myFilter); in addSourceTargetSet()
87 targetSet.addAll('0', '9') in addSourceTargetSet()
88 .addAll('A', 'Z') in addSourceTargetSet()
91 .addAll(OPEN_DELIM) in addSourceTargetSet()
93 .addAll('a', 'z') // for controls in addSourceTargetSet()
DNameUnicodeTransliterator.java184 .addAll('0', '9') in addSourceTargetSet()
185 .addAll('A', 'F') in addSourceTargetSet()
186 .addAll('a', 'z') // for controls in addSourceTargetSet()
191 .addAll(UnicodeNameTransliterator.OPEN_DELIM) in addSourceTargetSet()
195 sourceSet.addAll(items); in addSourceTargetSet()
197 targetSet.addAll(0, 0x10FFFF); in addSourceTargetSet()
DRBBITableBuilder.java275 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
276 n.fFirstPosSet.addAll(n.fRightChild.fFirstPosSet); in calcFirstPos()
279 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
281 n.fFirstPosSet.addAll(n.fRightChild.fFirstPosSet); in calcFirstPos()
287 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
318 n.fLastPosSet.addAll(n.fLeftChild.fLastPosSet); in calcLastPos()
319 n.fLastPosSet.addAll(n.fRightChild.fLastPosSet); in calcLastPos()
322 n.fLastPosSet.addAll(n.fRightChild.fLastPosSet); in calcLastPos()
324 n.fLastPosSet.addAll(n.fLeftChild.fLastPosSet); in calcLastPos()
330 n.fLastPosSet.addAll(n.fLeftChild.fLastPosSet); in calcLastPos()
[all …]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DUnicodeNameTransliterator.java85 sourceSet.addAll(myFilter); in addSourceTargetSet()
86 targetSet.addAll('0', '9') in addSourceTargetSet()
87 .addAll('A', 'Z') in addSourceTargetSet()
90 .addAll(OPEN_DELIM) in addSourceTargetSet()
92 .addAll('a', 'z') // for controls in addSourceTargetSet()
DNameUnicodeTransliterator.java183 .addAll('0', '9') in addSourceTargetSet()
184 .addAll('A', 'F') in addSourceTargetSet()
185 .addAll('a', 'z') // for controls in addSourceTargetSet()
190 .addAll(UnicodeNameTransliterator.OPEN_DELIM) in addSourceTargetSet()
194 sourceSet.addAll(items); in addSourceTargetSet()
196 targetSet.addAll(0, 0x10FFFF); in addSourceTargetSet()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBITableBuilder.java274 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
275 n.fFirstPosSet.addAll(n.fRightChild.fFirstPosSet); in calcFirstPos()
278 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
280 n.fFirstPosSet.addAll(n.fRightChild.fFirstPosSet); in calcFirstPos()
286 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
317 n.fLastPosSet.addAll(n.fLeftChild.fLastPosSet); in calcLastPos()
318 n.fLastPosSet.addAll(n.fRightChild.fLastPosSet); in calcLastPos()
321 n.fLastPosSet.addAll(n.fRightChild.fLastPosSet); in calcLastPos()
323 n.fLastPosSet.addAll(n.fLeftChild.fLastPosSet); in calcLastPos()
329 n.fLastPosSet.addAll(n.fLeftChild.fLastPosSet); in calcLastPos()
[all …]
/external/turbine/java/com/google/turbine/options/
DTurbineOptions.java215 this.classPath.addAll(classPath); in addClassPathEntries()
220 this.bootClassPath.addAll(bootClassPath); in addBootClassPathEntries()
225 this.sources.addAll(sources); in addSources()
230 this.processorPath.addAll(processorPath); in addProcessorPathEntries()
235 this.processors.addAll(processors); in addProcessors()
245 this.sourceJars.addAll(sourceJars); in setSourceJars()
270 this.depsArtifacts.addAll(depsArtifacts); in addAllDepsArtifacts()
285 this.javacOpts.addAll(javacOpts); in addAllJavacOpts()
/external/guice/core/src/com/google/inject/internal/
DInheritingState.java128 .addAll(parent.getMethodAspects()) in getMethodAspects()
129 .addAll(methodAspects) in getMethodAspects()
142 result.addAll(parentBindings); in getTypeListenerBindings()
143 result.addAll(typeListenerBindings); in getTypeListenerBindings()
155 result.addAll(parentBindings); in getProvisionListenerBindings()
156 result.addAll(provisionListenerBindings); in getProvisionListenerBindings()
168 result.addAll(parentBindings); in getScannerBindings()
169 result.addAll(scannerBindings); in getScannerBindings()
/external/testng/src/main/java/org/testng/reporters/jq/
DModel.java52 failed.addAll(context.getFailedTests().getAllResults()); in init()
53 skipped.addAll(context.getSkippedTests().getAllResults()); in init()
54 passed.addAll(context.getPassedTests().getAllResults()); in init()
201 result.addAll(sr.getTestContext().getPassedTests().getAllResults()); in getAllTestResults()
202 result.addAll(sr.getTestContext().getFailedTests().getAllResults()); in getAllTestResults()
203 result.addAll(sr.getTestContext().getSkippedTests().getAllResults()); in getAllTestResults()
205 result.addAll(sr.getTestContext().getPassedConfigurations().getAllResults()); in getAllTestResults()
206 result.addAll(sr.getTestContext().getFailedConfigurations().getAllResults()); in getAllTestResults()
207 result.addAll(sr.getTestContext().getSkippedConfigurations().getAllResults()); in getAllTestResults()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSet.java77 Collections.addAll(all, e1, e2, e3, e4, e5, e6); in of()
78 Collections.addAll(all, others); in of()
143 Collections.addAll(set, elements); in create()
188 @Override public Builder<E> addAll(Iterable<? extends E> elements) { in addAll() method in ImmutableSet.Builder
193 super.addAll(elements); in addAll()
197 @Override public Builder<E> addAll(Iterator<? extends E> elements) { in addAll() method in ImmutableSet.Builder
198 super.addAll(elements); in addAll()

12345678910>>...32