Home
last modified time | relevance | path

Searched refs:ORDERED (Results 1 – 25 of 67) sorted by relevance

123

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamOpFlagsTest.java187 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 …]
DStreamFlagsTest.java68 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()
DFlagOpTest.java164 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/
DCharSequence.java158 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/
DStreamOpFlag.java282 ORDERED(2, enumConstant
611 public static final int IS_ORDERED = ORDERED.set;
616 public static final int NOT_ORDERED = ORDERED.clear;
DSliceOps.java140 } 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())) {
DDistinctOps.java75 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
108 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
DStreams.java126 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()
DDoubleStream.java792 Spliterator.ORDERED | Spliterator.IMMUTABLE | Spliterator.NONNULL), false); in iterate()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DConcatTest.java119 … 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()
DDistinctOpTest.java122 …> 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/
DStreamOpFlagTestHelper.java46 return StreamOpFlag.ORDERED.isKnown(OpTestCase.getStreamFlags(s)); in isStreamOrdered()
DTestData.java54 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()
DSpliteratorTestHelper.java204 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/
DLinkedHashSet.java193 return Spliterators.spliterator(this, Spliterator.DISTINCT | Spliterator.ORDERED); in spliterator()
DSortedSet.java257 this, Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED) { in spliterator()
DList.java754 return Spliterators.spliterator(this, Spliterator.ORDERED); in spliterator()
DLinkedHashMap.java584 Spliterator.ORDERED | in spliterator()
635 Spliterator.ORDERED); in spliterator()
698 Spliterator.ORDERED | in spliterator()
DSpliterator.java486 public static final int ORDERED = 0x00000010; field
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DTestData.java55 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()
DStreamOpFlagTestHelper.java49 return StreamOpFlag.ORDERED.isKnown(OpTestCase.getStreamFlags(s)); in isStreamOrdered()
DSpliteratorTestHelper.java204 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/
DSpliteratorsTest.java124 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()
DLinkedHashMapTest.java377 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/
DBuffer.java182 Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.ORDERED;

123