Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/util/
DSpliterators.java902 return Spliterator.SIZED | Spliterator.SUBSIZED; in characteristics()
973 … this.characteristics = additionalCharacteristics | Spliterator.SIZED | Spliterator.SUBSIZED; in ArraySpliterator()
1058 … this.characteristics = additionalCharacteristics | Spliterator.SIZED | Spliterator.SUBSIZED; in IntArraySpliterator()
1141 … this.characteristics = additionalCharacteristics | Spliterator.SIZED | Spliterator.SUBSIZED; in LongArraySpliterator()
1224 … this.characteristics = additionalCharacteristics | Spliterator.SIZED | Spliterator.SUBSIZED; in DoubleArraySpliterator()
1320 ? additionalCharacteristics | Spliterator.SUBSIZED in AbstractSpliterator()
1443 ? additionalCharacteristics | Spliterator.SUBSIZED in AbstractIntSpliterator()
1553 ? additionalCharacteristics | Spliterator.SUBSIZED in AbstractLongSpliterator()
1663 ? additionalCharacteristics | Spliterator.SUBSIZED in AbstractDoubleSpliterator()
1758 ? characteristics | Spliterator.SIZED | Spliterator.SUBSIZED in IteratorSpliterator()
[all …]
DSpliterator.java590 public static final int SUBSIZED = 0x00004000; field
DAbstractList.java732 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED; in characteristics()
/libcore/ojluni/src/main/java/java/util/stream/
DSliceOps.java78 assert s.hasCharacteristics(Spliterator.SUBSIZED); in sliceSpliterator()
132 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in makeRef()
162 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in makeRef()
258 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
280 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
376 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
398 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
494 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
516 if (size > 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) {
DStreams.java120 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
243 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
316 return Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
757 | (unsized ? Spliterator.SIZED | Spliterator.SUBSIZED : 0)); in characteristics()
DStreamSpliterators.java247 c &= ~(Spliterator.SIZED | Spliterator.SUBSIZED);
248 c |= (spliterator.characteristics() & (Spliterator.SIZED | Spliterator.SUBSIZED));
622 assert s.hasCharacteristics(Spliterator.SUBSIZED); in SliceSpliterator()
990 ~(Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.ORDERED); in characteristics()
1308 return (s.characteristics() & ~(Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics()
DNodes.java329 if (size >= 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in collect()
366 if (size >= 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in collectInt()
404 if (size >= 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in collectLong()
442 if (size >= 0 && spliterator.hasCharacteristics(Spliterator.SUBSIZED)) { in collectDouble()
1845 assert spliterator.hasCharacteristics(Spliterator.SUBSIZED);
1856 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()
DSpliteratorsTest.java54 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyIntSpliterator()
67 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyRefSpliterator()
84 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyLongSpliterator()
101 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyDoubleSpliterator()
923 assertEquals(spliterator.characteristics(), characteristics | Spliterator.SUBSIZED); in testAbstractDoubleSpliterator_largeSize()
997 assertEquals(spliterator.characteristics(), characteristics | Spliterator.SUBSIZED); in testAbstractIntSpliterator_largeSize()
1070 assertEquals(spliterator.characteristics(), characteristics | Spliterator.SUBSIZED); in testAbstractLongSpliterator_largeSize()
1145 assertEquals(spliterator.characteristics(), characteristics | Spliterator.SUBSIZED); in testAbstractSpliterator_largeSize()
DLinkedHashMapTest.java423 | Spliterator.SUBSIZED, in test_spliterator_keySet()
451 assertEquals(Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED, in test_spliterator_values()
463 Spliterator.SUBSIZED, in test_spliterator_entrySet()
DAbstractListTest.java145 Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED)); in checkSpliteratorOfRandomAccessList()
DCollectionsTest.java66 import static java.util.Spliterator.SUBSIZED;
1141 if (spliterator.hasCharacteristics(SUBSIZED)) { in check_orderedSet()
1198 if (spliterator.hasCharacteristics(SUBSIZED)) { in check_orderedCollection()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DSliceOpTest.java229 return s.characteristics() & ~(Spliterator.SUBSIZED); in testSkipLimitOpsWithNonSplittingSpliterator()
362 assertTrue(parSpliterator.hasCharacteristics(Spliterator.SUBSIZED));
369 assertTrue(parSpliterator.hasCharacteristics(Spliterator.SUBSIZED));
372 assertTrue(prefix.hasCharacteristics(Spliterator.SUBSIZED));
377 assertTrue(seqSpliterator.hasCharacteristics(Spliterator.SUBSIZED));
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.java285 return c & ~Spliterator.SUBSIZED;
290 return b & ((c & Spliterator.SUBSIZED) == 0);
/libcore/ojluni/src/test/java/util/concurrent/tck/
DArrayDeque8Test.java70 | Spliterator.SUBSIZED; in testSpliterator_characteristics()
/libcore/ojluni/src/main/java/java/lang/
DCharSequence.java177 Spliterator.SUBSIZED | Spliterator.SIZED | Spliterator.ORDERED, in chars()
DStringLatin1.java774 | Spliterator.SUBSIZED; in CharsSpliterator()
/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/main/java/java/nio/
DBuffer.java201 Spliterator.SIZED | Spliterator.SUBSIZED | Spliterator.ORDERED;
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/
DSpliteratorTestHelper.java471 if ((rootCharacteristics & Spliterator.SUBSIZED) != 0 && in splitSixDeepVisitor()
623 if ((rootCharacteristics & Spliterator.SUBSIZED) != 0) {
624 assertTrue(s.hasCharacteristics(Spliterator.SUBSIZED),
631 if (s.hasCharacteristics(Spliterator.SUBSIZED)) {
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamOpFlagsTest.java310 Spliterator.CONCURRENT, Spliterator.SUBSIZED); in testSpliteratorCharacteristics()

12