/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | StreamOpFlagsTest.java | 178 assertFalse(StreamOpFlag.SIZED.isKnown(opsFlags)); in testApplySourceFlags() 179 assertTrue(StreamOpFlag.SIZED.isCleared(opsFlags)); in testApplySourceFlags() 180 assertFalse(StreamOpFlag.SIZED.isPreserved(opsFlags)); in testApplySourceFlags() 192 assertFalse(StreamOpFlag.SIZED.isKnown(streamFlags)); in testApplySourceFlags() 208 assertSpliteratorMask(StreamOpFlag.SIZED.set(), StreamOpFlag.IS_SIZED); in testSpliteratorMask() 209 assertSpliteratorMask(StreamOpFlag.SIZED.clear(), 0); in testSpliteratorMask() 229 assertStreamMask(StreamOpFlag.SIZED.set(), StreamOpFlag.IS_SIZED); in testStreamMask() 230 assertStreamMask(StreamOpFlag.SIZED.clear(), 0); in testStreamMask() 250 assertOpMask(StreamOpFlag.SIZED.set(), 0); in testOpMask() 251 assertOpMask(StreamOpFlag.SIZED.clear(), StreamOpFlag.NOT_SIZED); in testOpMask() [all …]
|
D | StreamFlagsTest.java | 68 EnumSet.of(ORDERED, SIZED), in testBaseStreams() 71 EnumSet.of(ORDERED, SIZED), in testBaseStreams() 74 EnumSet.of(SIZED, DISTINCT), in testBaseStreams() 77 EnumSet.of(ORDERED, SIZED, DISTINCT, SORTED), in testBaseStreams() 80 EnumSet.of(ORDERED, DISTINCT, SIZED), in testBaseStreams() 91 int expectedFlags = baseFlags & ~SIZED.set(); in testFilter()
|
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() 229 EnumSet<StreamOpFlag> parKnown = EnumSet.of(StreamOpFlag.SIZED); in testFlagsSizedOrderedParallelCollect()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | HashMapTest.java | 103 assertEquals(Spliterator.DISTINCT | Spliterator.SIZED, in test_spliterator_keySet() 128 assertEquals(Spliterator.SIZED, values.spliterator().characteristics()); in test_spliterator_values() 136 assertEquals(Spliterator.DISTINCT | Spliterator.SIZED, in test_spliterator_entrySet() 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() 204 assertTrue(m.entrySet().spliterator().hasCharacteristics(Spliterator.SIZED)); 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()
|
D | SpliteratorTester.java | 33 import static java.util.Spliterator.SIZED; 235 assertHasCharacteristics(SIZED, spliterator); in runSizedTests() 250 assertHasCharacteristics(SIZED | SUBSIZED, spliterator); in runSubSizedTests() 255 assertHasCharacteristics(SIZED | SUBSIZED, spliterator); in runSubSizedTests() 261 assertHasCharacteristics(SIZED | SUBSIZED, child); in runSubSizedTests()
|
D | LinkedHashMapTest.java | 447 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED in test_spliterator_keySet() 476 assertEquals(Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED, in test_spliterator_values() 487 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED | in test_spliterator_entrySet()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Spliterators.java | 858 return Spliterator.SIZED | Spliterator.SUBSIZED; in characteristics() 929 … this.characteristics = additionalCharacteristics | Spliterator.SIZED | Spliterator.SUBSIZED; in ArraySpliterator() 1014 … this.characteristics = additionalCharacteristics | Spliterator.SIZED | Spliterator.SUBSIZED; in IntArraySpliterator() 1097 … this.characteristics = additionalCharacteristics | Spliterator.SIZED | Spliterator.SUBSIZED; in LongArraySpliterator() 1180 … this.characteristics = additionalCharacteristics | Spliterator.SIZED | Spliterator.SUBSIZED; in DoubleArraySpliterator() 1275 this.characteristics = ((additionalCharacteristics & Spliterator.SIZED) != 0) in AbstractSpliterator() 1398 this.characteristics = ((additionalCharacteristics & Spliterator.SIZED) != 0) in AbstractIntSpliterator() 1508 this.characteristics = ((additionalCharacteristics & Spliterator.SIZED) != 0) in AbstractLongSpliterator() 1618 this.characteristics = ((additionalCharacteristics & Spliterator.SIZED) != 0) in AbstractDoubleSpliterator() 1714 ? characteristics | Spliterator.SIZED | Spliterator.SUBSIZED in IteratorSpliterator() [all …]
|
D | Spliterator.java | 408 return (characteristics() & SIZED) == 0 ? -1L : estimateSize(); in getExactSizeIfKnown() 521 public static final int SIZED = 0x00000040; field
|
D | SplittableRandom.java | 854 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 910 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 967 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
|
D | Random.java | 1021 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 1076 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 1132 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
|
D | LinkedHashMap.java | 583 return Spliterators.spliterator(this, Spliterator.SIZED | in spliterator() 634 return Spliterators.spliterator(this, Spliterator.SIZED | in spliterator() 697 return Spliterators.spliterator(this, Spliterator.SIZED | in spliterator()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamOpFlag.java | 298 SIZED(3, enumConstant 642 public static final int IS_SIZED = SIZED.set; 648 public static final int NOT_SIZED = SIZED.clear;
|
D | SortedOps.java | 140 else if (StreamOpFlag.SIZED.isKnown(flags)) in opWrapSink() 179 else if (StreamOpFlag.SIZED.isKnown(flags)) in opWrapSink() 218 else if (StreamOpFlag.SIZED.isKnown(flags)) in opWrapSink() 257 else if (StreamOpFlag.SIZED.isKnown(flags)) in opWrapSink()
|
D | Streams.java | 126 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 250 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 324 return Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 765 | (unsized ? Spliterator.SIZED | Spliterator.SUBSIZED : 0)); in characteristics()
|
D | StreamSpliterators.java | 230 return StreamOpFlag.SIZED.isKnown(ph.getStreamAndOpFlags()) 248 if ((c & Spliterator.SIZED) != 0) { 249 c &= ~(Spliterator.SIZED | Spliterator.SUBSIZED); 250 c |= (spliterator.characteristics() & (Spliterator.SIZED | Spliterator.SUBSIZED)); 988 ~(Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.ORDERED); in characteristics() 1306 return (s.characteristics() & ~(Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
|
D | AbstractPipeline.java | 439 thisOpFlags = spliterator.hasCharacteristics(Spliterator.SIZED) in sourceSpliterator() 470 … return StreamOpFlag.SIZED.isKnown(getStreamAndOpFlags()) ? spliterator.getExactSizeIfKnown() : -1; in exactOutputSizeIfKnown()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | TestData.java | 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 | CollectorOps.java | 92 Assert.assertTrue(StreamOpFlag.SIZED.isKnown(flags)); in opEvaluateParallel()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | TestData.java | 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 | CollectorOps.java | 91 Assert.assertTrue(StreamOpFlag.SIZED.isKnown(flags)); in opEvaluateParallel()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | ConcatOpTest.java | 132 assertFalse(sp.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertUnsized() 139 assertTrue(sp.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertSized()
|
D | RangeTest.java | 231 assertTrue(s.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertSizedAndSubSized() 235 assertFalse(s.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertNotSizedAndSubSized()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | CharSequence.java | 159 Spliterator.SUBSIZED | Spliterator.SIZED | Spliterator.ORDERED, in chars()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Buffer.java | 183 Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.ORDERED;
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 763 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 818 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() 874 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
|