Home
last modified time | relevance | path

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

12345678910>>...56

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DGenericListVisitorAdapter.java52 result.addAll(tmp); in visit()
57 result.addAll(tmp); in visit()
62 result.addAll(tmp); in visit()
67 result.addAll(tmp); in visit()
72 result.addAll(tmp); in visit()
83 result.addAll(tmp); in visit()
88 result.addAll(tmp); in visit()
93 result.addAll(tmp); in visit()
98 result.addAll(tmp); in visit()
103 result.addAll(tmp); in visit()
[all …]
/external/guava/guava/src/com/google/common/math/
DStatsAccumulator.java82 public void addAll(Iterable<? extends Number> values) { in addAll() method in StatsAccumulator
94 public void addAll(Iterator<? extends Number> values) { in addAll() method in StatsAccumulator
105 public void addAll(double... values) { in addAll() method in StatsAccumulator
116 public void addAll(int... values) { in addAll() method in StatsAccumulator
128 public void addAll(long... values) { in addAll() method in StatsAccumulator
140 public void addAll(DoubleStream values) { in addAll() method in StatsAccumulator
141 addAll(values.collect(StatsAccumulator::new, StatsAccumulator::add, StatsAccumulator::addAll)); in addAll()
150 public void addAll(IntStream values) { in addAll() method in StatsAccumulator
151 addAll(values.collect(StatsAccumulator::new, StatsAccumulator::add, StatsAccumulator::addAll)); in addAll()
161 public void addAll(LongStream values) { in addAll() method in StatsAccumulator
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/
DListAddAllAtIndexTester.java48 getList().addAll(0, MinimalCollection.of(e0()))); in testAddAllAtIndex_supportedAllPresent()
56 getList().addAll(0, MinimalCollection.of(e0())); in testAddAllAtIndex_unsupportedAllPresent()
68 getList().addAll(0, MinimalCollection.of(e0(), e3()))); in testAddAllAtIndex_supportedSomePresent()
76 getList().addAll(0, MinimalCollection.of(e0(), e3())); in testAddAllAtIndex_unsupportedSomePresent()
86 assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection())); in testAddAllAtIndex_supportedNothing()
95 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_unsupportedNothing()
104 assertTrue("addAll(n, hasDuplicates) should return true", getList().addAll(0, elementsToAdd)); in testAddAllAtIndex_withDuplicates()
112 assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull)); in testAddAllAtIndex_nullSupported()
125 getList().addAll(0, containsNull); in testAddAllAtIndex_nullUnsupported()
139 getList().addAll(getNumElements() / 2, createDisjointCollection())); in testAddAllAtIndex_middle()
[all …]
DCollectionAddAllTester.java52 assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection())); in testAddAll_supportedNothing()
60 "addAll(nothing) should return false or throw", collection.addAll(emptyCollection())); in testAddAll_unsupportedNothing()
69 "addAll(nonePresent) should return true", collection.addAll(createDisjointCollection())); in testAddAll_supportedNonePresent()
76 collection.addAll(createDisjointCollection()); in testAddAll_unsupportedNonePresent()
89 collection.addAll(MinimalCollection.of(e3(), e0()))); in testAddAll_supportedSomePresent()
98 collection.addAll(MinimalCollection.of(e3(), e0())); in testAddAll_unsupportedSomePresent()
110 assertTrue(collection.addAll(MinimalCollection.of(e3(), e0()))); in testAddAllConcurrentWithIteration()
124 collection.addAll(MinimalCollection.of(e0()))); in testAddAll_unsupportedAllPresent()
135 assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull)); in testAddAll_nullSupported()
147 collection.addAll(containsNull); in testAddAll_nullUnsupported()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListAddAllAtIndexTester.java48 getList().addAll(0, MinimalCollection.of(e0()))); in testAddAllAtIndex_supportedAllPresent()
56 getList().addAll(0, MinimalCollection.of(e0())); in testAddAllAtIndex_unsupportedAllPresent()
68 getList().addAll(0, MinimalCollection.of(e0(), e3()))); in testAddAllAtIndex_supportedSomePresent()
76 getList().addAll(0, MinimalCollection.of(e0(), e3())); in testAddAllAtIndex_unsupportedSomePresent()
86 assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection())); in testAddAllAtIndex_supportedNothing()
95 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_unsupportedNothing()
104 assertTrue("addAll(n, hasDuplicates) should return true", getList().addAll(0, elementsToAdd)); in testAddAllAtIndex_withDuplicates()
112 assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull)); in testAddAllAtIndex_nullSupported()
125 getList().addAll(0, containsNull); in testAddAllAtIndex_nullUnsupported()
139 getList().addAll(getNumElements() / 2, createDisjointCollection())); in testAddAllAtIndex_middle()
[all …]
DCollectionAddAllTester.java52 assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection())); in testAddAll_supportedNothing()
60 "addAll(nothing) should return false or throw", collection.addAll(emptyCollection())); in testAddAll_unsupportedNothing()
69 "addAll(nonePresent) should return true", collection.addAll(createDisjointCollection())); in testAddAll_supportedNonePresent()
76 collection.addAll(createDisjointCollection()); in testAddAll_unsupportedNonePresent()
89 collection.addAll(MinimalCollection.of(e3(), e0()))); in testAddAll_supportedSomePresent()
98 collection.addAll(MinimalCollection.of(e3(), e0())); in testAddAll_unsupportedSomePresent()
110 assertTrue(collection.addAll(MinimalCollection.of(e3(), e0()))); in testAddAllConcurrentWithIteration()
124 collection.addAll(MinimalCollection.of(e0()))); in testAddAll_unsupportedAllPresent()
135 assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull)); in testAddAll_nullSupported()
147 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/
DProtobufArrayListTest.java64 list.addAll(asList(1, 2, 3, 4)); in testModificationWithIteration()
107 list.addAll(TERTIARY_LIST); in testRemove()
213 assertTrue(list.addAll(Collections.singleton(1))); in testAddAll()
217 assertTrue(list.addAll(asList(2, 3, 4, 5, 6))); in testAddAll()
220 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
223 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll()
224 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll()
265 list.addAll(Collections.<Integer>emptyList()); in assertImmutable()
272 list.addAll(Collections.singletonList(1)); in assertImmutable()
279 list.addAll(new ProtobufArrayList<Integer>()); in assertImmutable()
[all …]
DDoubleArrayListTest.java76 list.addAll(asList(1D, 2D, 3D, 4D)); in testModificationWithIteration()
254 assertTrue(list.addAll(Collections.singleton(1D))); in testAddAll()
259 assertTrue(list.addAll(asList(2D, 3D, 4D, 5D, 6D))); in testAddAll()
262 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
265 assertFalse(list.addAll(Collections.<Double>emptyList())); in testAddAll()
266 assertFalse(list.addAll(DoubleArrayList.emptyList())); in testAddAll()
279 list.addAll(TERTIARY_LIST); in testRemove()
349 list.addAll(Collections.<Double>emptyList()); in assertImmutable()
356 list.addAll(Collections.singletonList(1D)); in assertImmutable()
363 list.addAll(new DoubleArrayList()); in assertImmutable()
[all …]
DBooleanArrayListTest.java77 list.addAll(asList(true, false, true, false)); in testModificationWithIteration()
256 assertTrue(list.addAll(Collections.singleton(true))); in testAddAll()
261 assertTrue(list.addAll(asList(false, true, false, true, false))); in testAddAll()
264 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
267 assertFalse(list.addAll(Collections.<Boolean>emptyList())); in testAddAll()
268 assertFalse(list.addAll(BooleanArrayList.emptyList())); in testAddAll()
279 list.addAll(TERTIARY_LIST); in testRemove()
346 list.addAll(Collections.<Boolean>emptyList()); in assertImmutable()
353 list.addAll(Collections.singletonList(true)); in assertImmutable()
360 list.addAll(new BooleanArrayList()); in assertImmutable()
[all …]
DLongArrayListTest.java76 list.addAll(asList(1L, 2L, 3L, 4L)); in testModificationWithIteration()
254 assertTrue(list.addAll(Collections.singleton(1L))); in testAddAll()
259 assertTrue(list.addAll(asList(2L, 3L, 4L, 5L, 6L))); in testAddAll()
262 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
265 assertFalse(list.addAll(Collections.<Long>emptyList())); in testAddAll()
266 assertFalse(list.addAll(LongArrayList.emptyList())); in testAddAll()
277 list.addAll(TERTIARY_LIST); in testRemove()
347 list.addAll(Collections.<Long>emptyList()); in assertImmutable()
354 list.addAll(Collections.singletonList(1L)); in assertImmutable()
361 list.addAll(new LongArrayList()); in assertImmutable()
[all …]
DIntArrayListTest.java76 list.addAll(asList(1, 2, 3, 4)); in testModificationWithIteration()
254 assertTrue(list.addAll(Collections.singleton(1))); in testAddAll()
259 assertTrue(list.addAll(asList(2, 3, 4, 5, 6))); in testAddAll()
262 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
265 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll()
266 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll()
277 list.addAll(TERTIARY_LIST); in testRemove()
347 list.addAll(Collections.<Integer>emptyList()); in assertImmutable()
354 list.addAll(Collections.singletonList(1)); in assertImmutable()
361 list.addAll(new IntArrayList()); in assertImmutable()
[all …]
DFloatArrayListTest.java76 list.addAll(asList(1F, 2F, 3F, 4F)); in testModificationWithIteration()
254 assertTrue(list.addAll(Collections.singleton(1F))); in testAddAll()
259 assertTrue(list.addAll(asList(2F, 3F, 4F, 5F, 6F))); in testAddAll()
262 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
265 assertFalse(list.addAll(Collections.<Float>emptyList())); in testAddAll()
266 assertFalse(list.addAll(FloatArrayList.emptyList())); in testAddAll()
279 list.addAll(TERTIARY_LIST); in testRemove()
349 list.addAll(Collections.<Float>emptyList()); in assertImmutable()
356 list.addAll(Collections.singletonList(1F)); in assertImmutable()
363 list.addAll(new FloatArrayList()); in assertImmutable()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DStatsAccumulatorTest.java98 emptyAccumulatorByAddAllEmptyIterable.addAll(ImmutableList.<Double>of()); in setUp()
101 emptyAccumulatorByAddAllEmptyStats.addAll(Stats.of()); in setUp()
108 oneValueAccumulatorByAddAllEmptyStats.addAll(Stats.of()); in setUp()
111 twoValuesAccumulator.addAll(TWO_VALUES); in setUp()
114 twoValuesAccumulatorByAddAllStats.addAll(Stats.of(ONE_VALUE)); in setUp()
115 twoValuesAccumulatorByAddAllStats.addAll(Stats.of(OTHER_ONE_VALUE)); in setUp()
118 manyValuesAccumulatorByAddAllIterable.addAll(MANY_VALUES); in setUp()
121 manyValuesAccumulatorByAddAllIterator.addAll(MANY_VALUES.iterator()); in setUp()
124 manyValuesAccumulatorByAddAllVarargs.addAll(Doubles.toArray(MANY_VALUES)); in setUp()
133 manyValuesAccumulatorByAddAndAddAll.addAll(MANY_VALUES.subList(1, MANY_VALUES.size())); in setUp()
[all …]
/external/auto/value/src/test/java/com/google/auto/value/processor/
DPropertyAnnotationsTest.java134 this.annotations.addAll(ImmutableList.copyOf(annotations)); in addAnnotations()
139 this.annotations.addAll(ImmutableList.copyOf(annotations)); in addAnnotations()
144 this.innerTypes.addAll(ImmutableList.copyOf(innerTypes)); in addInnerTypes()
152 .addAll(imports) in build()
154 .addAll(annotations) in build()
161 .addAll(innerTypes) in build()
180 this.fieldAnnotations.addAll(ImmutableList.copyOf(annotations)); in addFieldAnnotations()
185 this.methodAnnotations.addAll(ImmutableList.copyOf(innerTypes)); in addMethodAnnotations()
190 this.methodAnnotations.addAll(ImmutableList.copyOf(innerTypes)); in addMethodAnnotations()
199 .addAll(imports) in build()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeSetBuilder.java159 current.addAll(propSet); in handle()
173 current.addAll(propSet); in handle()
180 current.addAll(WHITESPACE); in handle()
183 current.addAll(NOT_WHITESPACE); in handle()
186 current.addAll(WORD); in handle()
189 current.addAll(NOT_WORD); in handle()
192 current.addAll(DIGIT); in handle()
195 current.addAll(NOT_DIGIT); in handle()
198 current.addAll(NOT_WHITESPACE); in handle()
220 current.addAll(recent); in handle()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DTypeVariables.java63 typeVariables.addAll(typeArgument.accept(this, visited)); in visitDeclared()
76 typeVariables.addAll(t.getLowerBound().accept(this, visited)); in visitTypeVariable()
77 typeVariables.addAll(t.getUpperBound().accept(this, visited)); in visitTypeVariable()
86 typeVariables.addAll(unionType.accept(this, visited)); in visitUnion()
96 typeVariables.addAll(intersectionType.accept(this, visited)); in visitIntersection()
107 typeVariables.addAll(extendsBound.accept(this, visited)); in visitWildcard()
111 typeVariables.addAll(superBound.accept(this, visited)); in visitWildcard()
/external/guava/android/guava-tests/test/com/google/common/math/
DStatsAccumulatorTest.java91 emptyAccumulatorByAddAllEmptyIterable.addAll(ImmutableList.<Double>of()); in setUp()
94 emptyAccumulatorByAddAllEmptyStats.addAll(Stats.of()); in setUp()
101 oneValueAccumulatorByAddAllEmptyStats.addAll(Stats.of()); in setUp()
104 twoValuesAccumulator.addAll(TWO_VALUES); in setUp()
107 twoValuesAccumulatorByAddAllStats.addAll(Stats.of(ONE_VALUE)); in setUp()
108 twoValuesAccumulatorByAddAllStats.addAll(Stats.of(OTHER_ONE_VALUE)); in setUp()
111 manyValuesAccumulatorByAddAllIterable.addAll(MANY_VALUES); in setUp()
114 manyValuesAccumulatorByAddAllIterator.addAll(MANY_VALUES.iterator()); in setUp()
117 manyValuesAccumulatorByAddAllVarargs.addAll(Doubles.toArray(MANY_VALUES)); in setUp()
126 manyValuesAccumulatorByAddAndAddAll.addAll(MANY_VALUES.subList(1, MANY_VALUES.size())); in setUp()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/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/guava/android/guava/src/com/google/common/math/
DStatsAccumulator.java79 public void addAll(Iterable<? extends Number> values) { in addAll() method in StatsAccumulator
91 public void addAll(Iterator<? extends Number> values) { in addAll() method in StatsAccumulator
102 public void addAll(double... values) { in addAll() method in StatsAccumulator
113 public void addAll(int... values) { in addAll() method in StatsAccumulator
125 public void addAll(long... values) { in addAll() method in StatsAccumulator
135 public void addAll(Stats values) { in addAll() method in StatsAccumulator
148 public void addAll(StatsAccumulator values) { in addAll() method in StatsAccumulator
/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()
/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()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DWorkQueueStressTest.kt58 stolenTasks[i].addAll(myQueue.drain().map { task(it) }) in testStealing()
63 stolenTasks[i].addAll(myQueue.drain().map { task(it) }) in testStealing()
65 stolenTasks[i].addAll(myQueue.drain().map { task(it) }) in testStealing()
95 stolen.addAll(myQueue.drain().map { task(it) }) in testSingleProducerSingleStealer()
98 stolen.addAll(myQueue.drain().map { task(it) }) in testSingleProducerSingleStealer()
118 private fun GlobalQueue.addAll(tasks: Collection<Task>) { in GlobalQueue() method in kotlinx.coroutines.scheduling.WorkQueueStressTest

12345678910>>...56