/libcore/luni/src/test/java/libcore/java/util/ |
D | HashMapTest.java | 151 assertNull(m.entrySet().spliterator().trySplit()); in test_entrySet_subsizeEstimates() 170 assertFalse(m.entrySet().spliterator().trySplit().hasCharacteristics(Spliterator.SIZED)); in test_entrySet_subsizeEstimates() 185 assertSubsizeEstimate(entries.spliterator().trySplit(), 25); in test_entrySet_subsizeEstimates_recursive() 186 assertSubsizeEstimate(entries.spliterator().trySplit().trySplit(), 12); in test_entrySet_subsizeEstimates_recursive() 187 assertSubsizeEstimate(entries.spliterator().trySplit().trySplit().trySplit(), 6); in test_entrySet_subsizeEstimates_recursive() 188 assertSubsizeEstimate(entries.spliterator().trySplit().trySplit().trySplit().trySplit(), 3); in test_entrySet_subsizeEstimates_recursive() 190 entries.spliterator().trySplit().trySplit().trySplit().trySplit().trySplit(), 1); in test_entrySet_subsizeEstimates_recursive() 191 assertSubsizeEstimate(entries.spliterator().trySplit().trySplit().trySplit().trySplit() in test_entrySet_subsizeEstimates_recursive() 192 .trySplit().trySplit(), 0); in test_entrySet_subsizeEstimates_recursive() 207 Spliterator<Map.Entry<String, String>> child = parent.trySplit(); in test_entrySet_spliterator_sizedButNotSubsized() [all …]
|
D | SpliteratorTester.java | 95 assertNull(spliterator.trySplit()); in recordAndAssertBasicIteration() 127 Spliterator<T> split1 = spliterator.trySplit(); in runBasicSplitTests() 133 Spliterator<T> split1_1 = split1.trySplit(); in runBasicSplitTests() 134 Spliterator<T> split1_2 = split1.trySplit(); in runBasicSplitTests() 146 Spliterator<T> split2 = spliterator.trySplit(); in runBasicSplitTests() 160 assertNotNull(spliterable.spliterator().trySplit()); in assertSupportsTrySplit() 208 Spliterator<T> saSplit = sa.trySplit(); in runOrderedTests() 209 Spliterator<T> sbSplit = sb.trySplit(); in runOrderedTests() 254 Spliterator<T> child = spliterator.trySplit(); in runSubSizedTests() 277 Spliterator<T> split1 = spliterator.trySplit(); in runDistinctTests() [all …]
|
D | SpliteratorsTest.java | 38 assertNull(empty.trySplit()); in testEmptyIntSpliterator() 55 assertNull(empty.trySplit()); in testEmptyRefSpliterator() 68 assertNull(empty.trySplit()); in testEmptyLongSpliterator() 85 assertNull(empty.trySplit()); in testEmptyDoubleSpliterator() 227 Spliterator.OfInt split1 = intSp.trySplit(); in test_spliterator_int() 233 Spliterator.OfInt split2 = split1.trySplit(); in test_spliterator_int() 303 Spliterator.OfLong split1 = longSp.trySplit(); in test_spliterator_long() 309 Spliterator.OfLong split2 = split1.trySplit(); in test_spliterator_long() 340 Spliterator.OfDouble split1 = doubleSp.trySplit(); in test_spliterator_double() 346 Spliterator.OfDouble split2 = split1.trySplit(); in test_spliterator_double() [all …]
|
D | AbstractListTest.java | 148 if (spliteratorSupplier.get().trySplit() != null) { in checkSpliteratorOfRandomAccessList()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 304 spl2 = spliterator.trySplit(); in testMixedTraverseAndSplit() 307 spl1 = spl2.trySplit(); in testMixedTraverseAndSplit() 316 spl3 = spliterator.trySplit(); in testMixedTraverseAndSplit() 338 Spliterator<T> split = spliterator.trySplit(); in testSplitAfterFullTraversal() 344 split = spliterator.trySplit(); in testSplitAfterFullTraversal() 351 split = spliterator.trySplit(); in testSplitAfterFullTraversal() 366 Spliterator<T> s2 = s1.trySplit(); in testSplitOnce() 425 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor() 456 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor() 471 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor() [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 304 spl2 = spliterator.trySplit(); in testMixedTraverseAndSplit() 307 spl1 = spl2.trySplit(); in testMixedTraverseAndSplit() 316 spl3 = spliterator.trySplit(); in testMixedTraverseAndSplit() 338 Spliterator<T> split = spliterator.trySplit(); in testSplitAfterFullTraversal() 344 split = spliterator.trySplit(); in testSplitAfterFullTraversal() 351 split = spliterator.trySplit(); in testSplitAfterFullTraversal() 366 Spliterator<T> s2 = s1.trySplit(); in testSplitOnce() 425 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor() 456 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor() 471 Spliterator<T> split = spliterator.trySplit(); in splitSixDeepVisitor() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Spliterator.java | 370 Spliterator<T> trySplit(); in trySplit() method 602 T_SPLITR trySplit(); in trySplit() method 647 OfInt trySplit(); in trySplit() method 711 OfLong trySplit(); in trySplit() method 775 OfDouble trySplit(); in trySplit() method
|
D | Spliterators.java | 840 public S trySplit() { in trySplit() method in Spliterators.EmptySpliterator 933 public Spliterator<T> trySplit() { in trySplit() method in Spliterators.ArraySpliterator 1018 public OfInt trySplit() { in trySplit() method in Spliterators.IntArraySpliterator 1101 public OfLong trySplit() { in trySplit() method in Spliterators.LongArraySpliterator 1184 public OfDouble trySplit() { in trySplit() method in Spliterators.DoubleArraySpliterator 1295 public Spliterator<T> trySplit() { in trySplit() method in Spliterators.AbstractSpliterator 1418 public Spliterator.OfInt trySplit() { in trySplit() method in Spliterators.AbstractIntSpliterator 1528 public Spliterator.OfLong trySplit() { in trySplit() method in Spliterators.AbstractLongSpliterator 1638 public Spliterator.OfDouble trySplit() { in trySplit() method in Spliterators.AbstractDoubleSpliterator 1754 public Spliterator<T> trySplit() { in trySplit() method in Spliterators.IteratorSpliterator [all …]
|
D | SplittableRandom.java | 843 public RandomIntsSpliterator trySplit() { in trySplit() method in SplittableRandom.RandomIntsSpliterator 899 public RandomLongsSpliterator trySplit() { in trySplit() method in SplittableRandom.RandomLongsSpliterator 956 public RandomDoublesSpliterator trySplit() { in trySplit() method in SplittableRandom.RandomDoublesSpliterator
|
D | Random.java | 1010 public RandomIntsSpliterator trySplit() { in trySplit() method in Random.RandomIntsSpliterator 1065 public RandomLongsSpliterator trySplit() { in trySplit() method in Random.RandomLongsSpliterator 1121 public RandomDoublesSpliterator trySplit() { in trySplit() method in Random.RandomDoublesSpliterator
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamSpliterators.java | 188 public Spliterator<P_OUT> trySplit() { 192 Spliterator<P_IN> split = spliterator.trySplit(); 351 public Spliterator.OfInt trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.IntWrappingSpliterator 352 return (Spliterator.OfInt) super.trySplit(); in trySplit() 409 public Spliterator.OfLong trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.LongWrappingSpliterator 410 return (Spliterator.OfLong) super.trySplit(); in trySplit() 467 public Spliterator.OfDouble trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.DoubleWrappingSpliterator 468 return (Spliterator.OfDouble) super.trySplit(); in trySplit() 520 public T_SPLITR trySplit() { in trySplit() method in StreamSpliterators.AbstractWrappingSpliterator.DelegatingSpliterator 521 return (T_SPLITR) get().trySplit(); in trySplit() [all …]
|
D | Streams.java | 137 public Spliterator.OfInt trySplit() { in trySplit() method in Streams.RangeIntSpliterator 261 public Spliterator.OfLong trySplit() { in trySplit() method in Streams.RangeLongSpliterator 313 public S trySplit() { in trySplit() method in Streams.AbstractStreamBuilderImpl 717 public T_SPLITR trySplit() { 719 T_SPLITR ret = beforeSplit ? aSpliterator : (T_SPLITR) bSpliterator.trySplit();
|
D | AbstractShortCircuitTask.java | 114 if (sizeEstimate <= sizeThreshold || (ls = rs.trySplit()) == null) { in compute()
|
D | AbstractTask.java | 297 while (sizeEstimate > sizeThreshold && (ls = rs.trySplit()) != null) { in compute()
|
D | ForEachOps.java | 290 (leftSplit = rightSplit.trySplit()) == null) { in compute() 408 (leftSplit = rightSplit.trySplit()) != null) { in doCompute()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | RangeTest.java | 249 Spliterator.OfLong s1 = s.trySplit(); in testLongLongRange() 253 Spliterator.OfLong s2 = s1.trySplit(); in testLongLongRange() 275 Spliterator.OfLong s1 = s.trySplit(); in testLongLongRange() 299 Spliterator.OfLong s1 = s.trySplit(); 303 Spliterator.OfLong s2 = s1.trySplit(); 307 Spliterator.OfLong s3 = s.trySplit(); 330 Spliterator.OfLong s1 = s.trySplit();
|
D | StreamSpliteratorTest.java | 79 public Spliterator<T> trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator 81 Spliterator<T> prefix = sp.trySplit(); in trySplit() 127 public Spliterator.OfInt trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfInt 129 Spliterator.OfInt prefix = psp.trySplit(); in trySplit() 168 public Spliterator.OfLong trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfLong 170 Spliterator.OfLong prefix = psp.trySplit(); in trySplit() 210 public Spliterator.OfDouble trySplit() { in trySplit() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfDouble 212 Spliterator.OfDouble prefix = psp.trySplit(); in trySplit()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 225 public java.util.Random.RandomDoublesSpliterator trySplit() { in trySplit() method in Random.RandomDoublesSpliterator 279 public java.util.Random.RandomIntsSpliterator trySplit() { in trySplit() method in Random.RandomIntsSpliterator 334 public java.util.Random.RandomLongsSpliterator trySplit() { in trySplit() method in Random.RandomLongsSpliterator
|
D | ArrayDeque.java | 266 public java.util.ArrayDeque.DeqSpliterator<E> trySplit() { in trySplit() method in ArrayDeque.DeqSpliterator
|
D | PriorityQueue.java | 245 public java.util.PriorityQueue.PriorityQueueSpliterator<E> trySplit() { in trySplit() method in PriorityQueue.PriorityQueueSpliterator
|
D | HashMap.java | 345 public java.util.HashMap.EntrySpliterator<K, V> trySplit() { in trySplit() method in HashMap.EntrySpliterator 480 public java.util.HashMap.KeySpliterator<K, V> trySplit() { in trySplit() method in HashMap.KeySpliterator 657 public java.util.HashMap.ValueSpliterator<K, V> trySplit() { in trySplit() method in HashMap.ValueSpliterator
|
/libcore/ojluni/src/main/java/java/nio/ |
D | CharBufferSpliterator.java | 56 public OfInt trySplit() { in trySplit() method in CharBufferSpliterator
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | SpinedBufferTest.java | 98 Spliterator<Integer> split = spliterator.trySplit(); in testLastSplit() 173 Spliterator.OfInt split = spliterator.trySplit(); in testIntLastSplit() 248 Spliterator.OfLong split = spliterator.trySplit(); in testLongLastSplit() 324 Spliterator.OfDouble split = spliterator.trySplit(); in testLongLastSplit()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 752 public RandomIntsSpliterator trySplit() { in trySplit() method in ThreadLocalRandom.RandomIntsSpliterator 807 public RandomLongsSpliterator trySplit() { in trySplit() method in ThreadLocalRandom.RandomLongsSpliterator 863 public RandomDoublesSpliterator trySplit() { in trySplit() method in ThreadLocalRandom.RandomDoublesSpliterator
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | LinkedBlockingQueue.java | 256 public java.util.Spliterator<E> trySplit() { in trySplit() method in LinkedBlockingQueue.LBQSpliterator
|