/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | StreamOpFlagsTest.java | 187 assertTrue(StreamOpFlag.ORDERED.isKnown(opsFlags)); in testApplySourceFlags() 188 assertFalse(StreamOpFlag.ORDERED.isCleared(opsFlags)); in testApplySourceFlags() 189 assertFalse(StreamOpFlag.ORDERED.isPreserved(opsFlags)); in testApplySourceFlags() 195 assertTrue(StreamOpFlag.ORDERED.isKnown(streamFlags)); in testApplySourceFlags() 205 assertSpliteratorMask(StreamOpFlag.ORDERED.set(), StreamOpFlag.IS_ORDERED); in testSpliteratorMask() 206 assertSpliteratorMask(StreamOpFlag.ORDERED.clear(), 0); in testSpliteratorMask() 226 assertStreamMask(StreamOpFlag.ORDERED.set(), StreamOpFlag.IS_ORDERED); in testStreamMask() 227 assertStreamMask(StreamOpFlag.ORDERED.clear(), 0); in testStreamMask() 247 assertOpMask(StreamOpFlag.ORDERED.set(), StreamOpFlag.IS_ORDERED); in testOpMask() 248 assertOpMask(StreamOpFlag.ORDERED.clear(), StreamOpFlag.NOT_ORDERED); in testOpMask() [all …]
|
D | StreamFlagsTest.java | 68 EnumSet.of(ORDERED, SIZED), in testBaseStreams() 71 EnumSet.of(ORDERED, SIZED), in testBaseStreams() 75 EnumSet.of(ORDERED, SORTED, SHORT_CIRCUIT)); in testBaseStreams() 77 EnumSet.of(ORDERED, SIZED, DISTINCT, SORTED), in testBaseStreams() 80 EnumSet.of(ORDERED, DISTINCT, SIZED), in testBaseStreams()
|
D | FlagOpTest.java | 164 EnumSet<StreamOpFlag> known = EnumSet.of(StreamOpFlag.ORDERED, StreamOpFlag.SIZED); in testFlagsSetSequence() 198 EnumSet<StreamOpFlag> known = EnumSet.of(StreamOpFlag.ORDERED, StreamOpFlag.SIZED); in testFlagsClearSequence() 203 …for (StreamOpFlag f : EnumSet.of(StreamOpFlag.ORDERED, StreamOpFlag.DISTINCT, StreamOpFlag.SORTED)… in testFlagsClearSequence()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | CharSequence.java | 158 Spliterator.ORDERED), in chars() 159 Spliterator.SUBSIZED | Spliterator.SIZED | Spliterator.ORDERED, in chars() 230 Spliterator.ORDERED), in codePoints() 231 Spliterator.ORDERED, in codePoints()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamOpFlag.java | 282 ORDERED(2, enumConstant 611 public static final int IS_ORDERED = ORDERED.set; 616 public static final int NOT_ORDERED = ORDERED.clear;
|
D | SliceOps.java | 140 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 172 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 257 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { 281 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { 366 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { 390 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { 475 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { 499 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) {
|
D | DistinctOps.java | 75 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 108 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
|
D | Streams.java | 126 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 250 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 325 Spliterator.ORDERED | Spliterator.IMMUTABLE; in characteristics()
|
D | DoubleStream.java | 792 Spliterator.ORDERED | Spliterator.IMMUTABLE | Spliterator.NONNULL), false); in iterate()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | ConcatTest.java | 119 … assertTrue(s1s.spliterator().hasCharacteristics(Spliterator.ORDERED), c1.getClass().toString()); in checkPrerequisites() 120 … assertTrue(s1p.spliterator().hasCharacteristics(Spliterator.ORDERED), c2.getClass().toString()); in checkPrerequisites() 121 … assertTrue(s2s.spliterator().hasCharacteristics(Spliterator.ORDERED), c1.getClass().toString()); in checkPrerequisites() 122 … assertTrue(s2p.spliterator().hasCharacteristics(Spliterator.ORDERED), c2.getClass().toString()); in checkPrerequisites() 131 assertEquals(sp.hasCharacteristics(Spliterator.ORDERED), ordered, scenario); in assertConcatContent()
|
D | DistinctOpTest.java | 122 …> StreamSupport.stream(Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.SOR… in SortedTestData() 123 …> StreamSupport.stream(Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.SOR… in SortedTestData() 124 … c -> Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.SORTED), in SortedTestData()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | StreamOpFlagTestHelper.java | 46 return StreamOpFlag.ORDERED.isKnown(OpTestCase.getStreamFlags(s)); in isStreamOrdered()
|
D | TestData.java | 54 return spliterator().hasCharacteristics(Spliterator.ORDERED); in isOrdered() 106 … n -> StreamSupport.stream(n::spliterator, Spliterator.SIZED | Spliterator.ORDERED, false), in ofRefNode() 107 … n -> StreamSupport.stream(n::spliterator, Spliterator.SIZED | Spliterator.ORDERED, true), in ofRefNode() 135 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() 166 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() 197 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode()
|
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()
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedHashSet.java | 193 return Spliterators.spliterator(this, Spliterator.DISTINCT | Spliterator.ORDERED); in spliterator()
|
D | SortedSet.java | 257 this, Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED) { in spliterator()
|
D | List.java | 754 return Spliterators.spliterator(this, Spliterator.ORDERED); in spliterator()
|
D | LinkedHashMap.java | 584 Spliterator.ORDERED | in spliterator() 635 Spliterator.ORDERED); in spliterator() 698 Spliterator.ORDERED | in spliterator()
|
D | Spliterator.java | 486 public static final int ORDERED = 0x00000010; field
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | TestData.java | 55 return spliterator().hasCharacteristics(Spliterator.ORDERED); in isOrdered() 107 … n -> StreamSupport.stream(n::spliterator, Spliterator.SIZED | Spliterator.ORDERED, false), in ofRefNode() 108 … n -> StreamSupport.stream(n::spliterator, Spliterator.SIZED | Spliterator.ORDERED, true), in ofRefNode() 136 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() 167 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() 198 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode()
|
D | StreamOpFlagTestHelper.java | 49 return StreamOpFlag.ORDERED.isKnown(OpTestCase.getStreamFlags(s)); in isStreamOrdered()
|
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()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | SpliteratorsTest.java | 124 sp = Spliterators.spliterator(array, Spliterator.ORDERED); in testSpliteratorObjectArray() 125 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliteratorObjectArray() 153 sp = Spliterators.spliterator(array, 2, 10, Spliterator.ORDERED); in testSpliteratorObjectArrayRange() 154 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliteratorObjectArrayRange() 467 sp = Spliterators.spliterator(collection, Spliterator.ORDERED); in testSpliterator_Collection() 468 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliterator_Collection() 496 sp = Spliterators.spliterator(array, Spliterator.ORDERED); in testSpliterator_sizedIterator() 497 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliterator_sizedIterator() 515 sp = Spliterators.spliterator(array, Spliterator.ORDERED); in testSpliterator_unsizedIterator() 516 assertTrue(sp.hasCharacteristics(Spliterator.ORDERED)); in testSpliterator_unsizedIterator()
|
D | LinkedHashMapTest.java | 377 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED in test_spliterator_keySet() 406 assertEquals(Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED, in test_spliterator_values() 417 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED | in test_spliterator_entrySet()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Buffer.java | 182 Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.ORDERED;
|