Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/stream/
DDistinctOps.java71 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
75 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
104 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
108 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef()
122 if (StreamOpFlag.DISTINCT.isKnown(flags)) { in makeRef()
124 } 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.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())) {
DAbstractPipeline.java423 if (StreamOpFlag.SHORT_CIRCUIT.isKnown(thisOpFlags)) { in sourceSpliterator()
467 … return StreamOpFlag.SIZED.isKnown(getStreamAndOpFlags()) ? spliterator.getExactSizeIfKnown() : -1; in exactOutputSizeIfKnown()
480 if (!StreamOpFlag.SHORT_CIRCUIT.isKnown(getStreamAndOpFlags())) { in copyInto()
509 return StreamOpFlag.ORDERED.isKnown(combinedFlags); in isOrdered()
DStreamOpFlag.java491 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()
DCollectorOps.java91 Assert.assertTrue(StreamOpFlag.SIZED.isKnown(flags)); in opEvaluateParallel()
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");
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()
DCollectorOps.java92 Assert.assertTrue(StreamOpFlag.SIZED.isKnown(flags)); in opEvaluateParallel()
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");
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/src/main/java/sun/security/pkcs/
DPKCS9Attribute.java731 public boolean isKnown() { in isKnown() method in PKCS9Attribute