/libcore/luni/src/test/java/libcore/java/util/ |
D | HashMapTest.java | 170 assertFalse(m.entrySet().spliterator().trySplit().hasCharacteristics(Spliterator.SIZED)); in test_entrySet_subsizeEstimates() 200 assertTrue(m.entrySet().spliterator().hasCharacteristics(Spliterator.SIZED)); in test_entrySet_spliterator_sizedButNotSubsized() 201 assertFalse(m.entrySet().spliterator().hasCharacteristics(Spliterator.SUBSIZED)); in test_entrySet_spliterator_sizedButNotSubsized() 204 assertTrue(m.entrySet().spliterator().hasCharacteristics(Spliterator.SIZED)); in test_entrySet_spliterator_sizedButNotSubsized() 205 assertFalse(m.entrySet().spliterator().hasCharacteristics(Spliterator.SUBSIZED)); in test_entrySet_spliterator_sizedButNotSubsized() 208 assertFalse(parent.hasCharacteristics(Spliterator.SIZED)); in test_entrySet_spliterator_sizedButNotSubsized() 209 assertFalse(child.hasCharacteristics(Spliterator.SIZED)); in test_entrySet_spliterator_sizedButNotSubsized() 210 assertFalse(parent.hasCharacteristics(Spliterator.SUBSIZED)); in test_entrySet_spliterator_sizedButNotSubsized() 211 assertFalse(child.hasCharacteristics(Spliterator.SUBSIZED)); in test_entrySet_spliterator_sizedButNotSubsized()
|
D | MapDefaultMethodTester.java | 485 assertTrue(entrySet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in checkEntrySpliterator() 493 boolean isSized = entrySet.spliterator().hasCharacteristics(Spliterator.SIZED); in checkEntrySpliterator() 498 if (subSpliterator != null && subSpliterator.hasCharacteristics(Spliterator.SIZED)) { in checkEntrySpliterator()
|
D | SpliteratorsTest.java | 125 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliteratorObjectArray() 154 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliteratorObjectArrayRange() 468 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliterator_Collection() 497 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliterator_sizedIterator() 516 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliterator_unsizedIterator()
|
D | AbstractListTest.java | 144 assertTrue(spliteratorSupplier.get().hasCharacteristics( in checkSpliteratorOfRandomAccessList()
|
D | SpliteratorTester.java | 335 assertTrue(msg, spliterator.hasCharacteristics(expectedCharacteristics)); in assertHasCharacteristics()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 204 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testForEach() 234 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testTryAdvance() 264 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTryAdvanceForEach() 295 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTraverseAndSplit() 362 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitOnce() 389 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitSixDeep() 485 boolean isOrdered = s.hasCharacteristics(Spliterator.ORDERED); in testSplitUntilNull() 585 assertTrue(s.hasCharacteristics(Spliterator.SUBSIZED), 592 if (s.hasCharacteristics(Spliterator.SUBSIZED)) { 593 assertTrue(s.hasCharacteristics(Spliterator.SIZED)); [all …]
|
D | TestData.java | 54 return spliterator().hasCharacteristics(Spliterator.ORDERED); in isOrdered()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 204 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testForEach() 234 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testTryAdvance() 264 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTryAdvanceForEach() 295 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTraverseAndSplit() 362 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitOnce() 389 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitSixDeep() 485 boolean isOrdered = s.hasCharacteristics(Spliterator.ORDERED); in testSplitUntilNull() 585 assertTrue(s.hasCharacteristics(Spliterator.SUBSIZED), 592 if (s.hasCharacteristics(Spliterator.SUBSIZED)) { 593 assertTrue(s.hasCharacteristics(Spliterator.SIZED)); [all …]
|
D | TestData.java | 55 return spliterator().hasCharacteristics(Spliterator.ORDERED); in isOrdered()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SliceOps.java | 79 assert s.hasCharacteristics(Spliterator.SUBSIZED); in sliceSpliterator() 136 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in makeRef() 166 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in makeRef() 256 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { 278 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { 368 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { 390 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { 480 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { 502 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
|
D | Nodes.java | 321 if (size >= 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in collect() 358 if (size >= 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in collectInt() 396 if (size >= 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in collectLong() 434 if (size >= 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in collectDouble() 1837 assert spliterator.hasCharacteristics(Spliterator.SUBSIZED); 1848 assert spliterator.hasCharacteristics(Spliterator.SUBSIZED);
|
D | AbstractPipeline.java | 439 thisOpFlags = spliterator.hasCharacteristics(Spliterator.SIZED) in sourceSpliterator()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | LinkedBlockingDeque8Test.java | 70 assertTrue(s.hasCharacteristics(required)); in testSpliterator_characteristics()
|
D | LinkedBlockingQueue8Test.java | 70 assertTrue(s.hasCharacteristics(required)); in testSpliterator_characteristics()
|
D | Collection8Test.java | 162 if (c.spliterator().hasCharacteristics(Spliterator.SIZED)) 301 c.spliterator().hasCharacteristics(Spliterator.ORDERED); 409 if (s.hasCharacteristics(Spliterator.CONCURRENT)) { 443 if (! (s.hasCharacteristics(Spliterator.CONCURRENT) || 444 s.hasCharacteristics(Spliterator.IMMUTABLE))) 476 if (s.hasCharacteristics(Spliterator.CONCURRENT)) { 521 c.spliterator().hasCharacteristics(Spliterator.ORDERED); 881 .hasCharacteristics(Spliterator.IMMUTABLE)) 912 boolean reportsSorted = s.hasCharacteristics(Spliterator.SORTED);
|
D | ArrayDeque8Test.java | 72 assertTrue(s.hasCharacteristics(required)); in testSpliterator_characteristics()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Spliterators.java | 974 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1057 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1140 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1223 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1832 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1931 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 2025 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 2119 if (hasCharacteristics(Spliterator.SORTED)) in getComparator()
|
D | Spliterator.java | 446 default boolean hasCharacteristics(int characteristics) { in hasCharacteristics() method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeSetTest.java | 342 assertTrue(treeSet.spliterator().hasCharacteristics(Spliterator.ORDERED)); in test_spliterator() 345 assertTrue(treeSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
|
D | LinkedHashSetTest.java | 346 assertTrue(hashSet.spliterator().hasCharacteristics(Spliterator.ORDERED)); in test_spliterator() 349 assertTrue(hashSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
|
D | HashSetTest.java | 276 assertTrue(hashSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
|
D | LinkedHashMapTest.java | 851 assertTrue(keys.spliterator().hasCharacteristics(Spliterator.ORDERED)); in test_spliterator_keySet() 882 assertTrue(values.spliterator().hasCharacteristics(Spliterator.ORDERED)); in test_spliterator_valueSet() 916 assertTrue(entries.spliterator().hasCharacteristics(Spliterator.ORDERED)); in test_spliterator_entrySet()
|
D | HashMapTest.java | 848 assertTrue(keys.spliterator().hasCharacteristics(Spliterator.SIZED | Spliterator.DISTINCT)); in test_spliterator_keySet() 881 assertTrue(values.spliterator().hasCharacteristics(Spliterator.SIZED)); in test_spliterator_valueSet() 916 … assertTrue(values.spliterator().hasCharacteristics(Spliterator.SIZED | Spliterator.DISTINCT)); in test_spliterator_entrySet()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | RangeTest.java | 231 assertTrue(s.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertSizedAndSubSized() 235 assertFalse(s.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertNotSizedAndSubSized()
|
D | SortedOpTest.java | 131 assertTrue(s.hasCharacteristics(Spliterator.SORTED)); in testSorted() 134 assertFalse(s.hasCharacteristics(Spliterator.SORTED)); in testSorted()
|