Home
last modified time | relevance | path

Searched refs:isKnown (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DDistinctOps.java72 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
76 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
106 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
110 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
125 if (StreamOpFlag.DISTINCT.isKnown(flags)) { in makeRef()
127 } else if (StreamOpFlag.SORTED.isKnown(flags)) { in makeRef()
DSortedOps.java138 if (StreamOpFlag.SORTED.isKnown(flags) && isNaturalSort) in opWrapSink()
140 else if (StreamOpFlag.SIZED.isKnown(flags)) in opWrapSink()
152 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags()) && isNaturalSort) { in opEvaluateParallel()
177 if (StreamOpFlag.SORTED.isKnown(flags)) in opWrapSink()
179 else if (StreamOpFlag.SIZED.isKnown(flags)) in opWrapSink()
189 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags())) { in opEvaluateParallel()
216 if (StreamOpFlag.SORTED.isKnown(flags)) in opWrapSink()
218 else if (StreamOpFlag.SIZED.isKnown(flags)) in opWrapSink()
228 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags())) { in opEvaluateParallel()
255 if (StreamOpFlag.SORTED.isKnown(flags)) in opWrapSink()
[all …]
DSliceOps.java141 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
174 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
261 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) {
286 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) {
373 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) {
398 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) {
485 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) {
510 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) {
DAbstractPipeline.java426 if (StreamOpFlag.SHORT_CIRCUIT.isKnown(thisOpFlags)) { in sourceSpliterator()
470 … return StreamOpFlag.SIZED.isKnown(getStreamAndOpFlags()) ? spliterator.getExactSizeIfKnown() : -1; in exactOutputSizeIfKnown()
483 if (!StreamOpFlag.SHORT_CIRCUIT.isKnown(getStreamAndOpFlags())) { in copyInto()
513 return StreamOpFlag.ORDERED.isKnown(combinedFlags); in isOrdered()
DStreamOpFlag.java496 public boolean isKnown(int flags) { in isKnown() method in StreamOpFlag
DForEachOps.java284 … boolean isShortCircuit = StreamOpFlag.SHORT_CIRCUIT.isKnown(helper.getStreamAndOpFlags()); in compute()
DStreamSpliterators.java230 return StreamOpFlag.SIZED.isKnown(ph.getStreamAndOpFlags())
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamOpFlagsTest.java160 assertFalse(StreamOpFlag.SHORT_CIRCUIT.isKnown(opsFlags)); in testShortCircuit()
163 assertTrue(StreamOpFlag.SHORT_CIRCUIT.isKnown(opsFlags)); in testShortCircuit()
166 assertTrue(StreamOpFlag.SHORT_CIRCUIT.isKnown(opsFlags)); in testShortCircuit()
178 assertFalse(StreamOpFlag.SIZED.isKnown(opsFlags)); in testApplySourceFlags()
181 assertTrue(StreamOpFlag.DISTINCT.isKnown(opsFlags)); in testApplySourceFlags()
184 assertTrue(StreamOpFlag.SORTED.isKnown(opsFlags)); in testApplySourceFlags()
187 assertTrue(StreamOpFlag.ORDERED.isKnown(opsFlags)); in testApplySourceFlags()
192 assertFalse(StreamOpFlag.SIZED.isKnown(streamFlags)); in testApplySourceFlags()
193 assertTrue(StreamOpFlag.DISTINCT.isKnown(streamFlags)); in testApplySourceFlags()
194 assertTrue(StreamOpFlag.SORTED.isKnown(streamFlags)); in testApplySourceFlags()
[all …]
DStreamFlagsTest.java54 assertTrue(flag.isKnown(value)); in assertFlags()
56 assertTrue(!flag.isKnown(value)); in assertFlags()
DFlagOpTest.java272 …Assert.assertTrue(f.isKnown(flags), String.format("Flag %s is not known, but should be known.", f.… in assertFlags()
277 …Assert.assertTrue(f.isKnown(flags), String.format("Flag %s is not known, but should be known.", f.… in assertFlags()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DTestFlagExpectedOp.java111 Assert.assertTrue(f.isKnown(flags), in assertFlags()
121 Assert.assertFalse(f.isKnown(flags), in assertFlags()
DStreamOpFlagTestHelper.java46 return StreamOpFlag.ORDERED.isKnown(OpTestCase.getStreamFlags(s)); in isStreamOrdered()
DLambdaTestHelpers.java455 if (StreamOpFlag.DISTINCT.isKnown(flags)) sj.add("IS_DISTINCT");
456 if (StreamOpFlag.ORDERED.isKnown(flags)) sj.add("IS_ORDERED");
457 if (StreamOpFlag.SIZED.isKnown(flags)) sj.add("IS_SIZED");
458 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
459 if (StreamOpFlag.SHORT_CIRCUIT.isKnown(flags)) sj.add("IS_SHORT_CIRCUIT");
DCollectorOps.java91 Assert.assertTrue(StreamOpFlag.SIZED.isKnown(flags)); in opEvaluateParallel()
DOpTestCase.java379 … isStreamOrdered = StreamOpFlag.ORDERED.isKnown(((AbstractPipeline) sOut).getStreamFlags()); in exercise()
386 … isStreamOrdered = StreamOpFlag.ORDERED.isKnown(((AbstractPipeline) sOut).getStreamFlags()); in exercise()
546 boolean isOrdered = StreamOpFlag.ORDERED.isKnown(ap.getStreamFlags()); in exercise()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DTestFlagExpectedOp.java112 Assert.assertTrue(f.isKnown(flags), in assertFlags()
122 Assert.assertFalse(f.isKnown(flags), in assertFlags()
DStreamOpFlagTestHelper.java49 return StreamOpFlag.ORDERED.isKnown(OpTestCase.getStreamFlags(s)); in isStreamOrdered()
DLambdaTestHelpers.java456 if (StreamOpFlag.DISTINCT.isKnown(flags)) sj.add("IS_DISTINCT");
457 if (StreamOpFlag.ORDERED.isKnown(flags)) sj.add("IS_ORDERED");
458 if (StreamOpFlag.SIZED.isKnown(flags)) sj.add("IS_SIZED");
459 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
460 if (StreamOpFlag.SHORT_CIRCUIT.isKnown(flags)) sj.add("IS_SHORT_CIRCUIT");
DCollectorOps.java92 Assert.assertTrue(StreamOpFlag.SIZED.isKnown(flags)); in opEvaluateParallel()
DOpTestCase.java380 … isStreamOrdered = StreamOpFlag.ORDERED.isKnown(((AbstractPipeline) sOut).getStreamFlags()); in exercise()
387 … isStreamOrdered = StreamOpFlag.ORDERED.isKnown(((AbstractPipeline) sOut).getStreamFlags()); in exercise()
547 boolean isOrdered = StreamOpFlag.ORDERED.isKnown(ap.getStreamFlags()); in exercise()
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DPKCS9Attribute.java59 public boolean isKnown() { in isKnown() method in PKCS9Attribute
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS9Attribute.java732 public boolean isKnown() { in isKnown() method in PKCS9Attribute