Home
last modified time | relevance | path

Searched refs:SUBSIZED (Results 1 – 25 of 40) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/
DSpliterators.java858 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()
1276 ? additionalCharacteristics | Spliterator.SUBSIZED in AbstractSpliterator()
1399 ? additionalCharacteristics | Spliterator.SUBSIZED in AbstractIntSpliterator()
1509 ? additionalCharacteristics | Spliterator.SUBSIZED in AbstractLongSpliterator()
1619 ? additionalCharacteristics | Spliterator.SUBSIZED in AbstractDoubleSpliterator()
1714 ? characteristics | Spliterator.SIZED | Spliterator.SUBSIZED in IteratorSpliterator()
[all …]
DSplittableRandom.java854 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
910 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
967 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
DRandom.java1021 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
1076 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
1132 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
DSpliterator.java578 public static final int SUBSIZED = 0x00004000; field
DPriorityQueue.java906 return Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.NONNULL; in characteristics()
DAbstractList.java730 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED; in characteristics()
/libcore/ojluni/src/main/java/java/util/stream/
DSliceOps.java79 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)) {
DStreams.java126 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()
DStreamSpliterators.java249 c &= ~(Spliterator.SIZED | Spliterator.SUBSIZED);
250 c |= (spliterator.characteristics() & (Spliterator.SIZED | Spliterator.SUBSIZED));
624 assert s.hasCharacteristics(Spliterator.SUBSIZED); in SliceSpliterator()
988 ~(Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.ORDERED); in characteristics()
1306 return (s.characteristics() & ~(Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
DNodes.java321 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);
/libcore/luni/src/test/java/libcore/java/util/
DHashMapTest.java201 assertFalse(m.entrySet().spliterator().hasCharacteristics(Spliterator.SUBSIZED)); in test_entrySet_spliterator_sizedButNotSubsized()
205 assertFalse(m.entrySet().spliterator().hasCharacteristics(Spliterator.SUBSIZED)); 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()
DSpliteratorTester.java34 import static java.util.Spliterator.SUBSIZED;
250 assertHasCharacteristics(SIZED | SUBSIZED, spliterator); in runSubSizedTests()
255 assertHasCharacteristics(SIZED | SUBSIZED, spliterator); in runSubSizedTests()
261 assertHasCharacteristics(SIZED | SUBSIZED, child); in runSubSizedTests()
DLinkedHashMapTest.java448 | Spliterator.SUBSIZED, in test_spliterator_keySet()
476 assertEquals(Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED, in test_spliterator_values()
488 Spliterator.SUBSIZED, in test_spliterator_entrySet()
DAbstractListTest.java145 Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED)); in checkSpliteratorOfRandomAccessList()
DSpliteratorsTest.java50 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyIntSpliterator()
63 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyRefSpliterator()
80 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyLongSpliterator()
97 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyDoubleSpliterator()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DConcatOpTest.java132 assertFalse(sp.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertUnsized()
139 assertTrue(sp.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertSized()
DRangeTest.java231 assertTrue(s.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertSizedAndSubSized()
235 assertFalse(s.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED)); in assertNotSizedAndSubSized()
DInfiniteStreamWithLimitOpTest.java282 return c & ~Spliterator.SUBSIZED;
287 return b & ((c & Spliterator.SUBSIZED) == 0);
/libcore/ojluni/src/main/java/java/lang/
DCharSequence.java159 Spliterator.SUBSIZED | Spliterator.SIZED | Spliterator.ORDERED, in chars()
/libcore/ojluni/src/main/java/java/nio/
DBuffer.java183 Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.ORDERED;
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java763 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
818 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
874 return (Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DSpliteratorTestHelper.java430 if ((rootCharacteristics & Spliterator.SUBSIZED) != 0 && in splitSixDeepVisitor()
584 if ((rootCharacteristics & Spliterator.SUBSIZED) != 0) {
585 assertTrue(s.hasCharacteristics(Spliterator.SUBSIZED),
592 if (s.hasCharacteristics(Spliterator.SUBSIZED)) {
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DSpliteratorTestHelper.java430 if ((rootCharacteristics & Spliterator.SUBSIZED) != 0 && in splitSixDeepVisitor()
584 if ((rootCharacteristics & Spliterator.SUBSIZED) != 0) {
585 assertTrue(s.hasCharacteristics(Spliterator.SUBSIZED),
592 if (s.hasCharacteristics(Spliterator.SUBSIZED)) {
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamOpFlagsTest.java310 Spliterator.CONCURRENT, Spliterator.SUBSIZED); in testSpliteratorCharacteristics()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayListTest.java1149 Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED)); in test_spliterator()
1199 Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED)); in test_sublist_spliterator()

12