/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ParameterTest.java | 117 ExecutableTestHelper helper = new ExecutableTestHelper(executable); in checkSingleStringParameter() local 118 helper.checkStandardParametersBehavior() in checkSingleStringParameter() 123 helper.getParameterTestHelper(0) in checkSingleStringParameter() 141 ExecutableTestHelper helper = new ExecutableTestHelper(executable); in checkSingleStringParameter_withMetadata() local 142 helper.checkStandardParametersBehavior() in checkSingleStringParameter_withMetadata() 146 helper.getParameterTestHelper(0) in checkSingleStringParameter_withMetadata() 174 ExecutableTestHelper helper = new ExecutableTestHelper(executable); in checkGenericParameter() local 175 helper.checkStandardParametersBehavior() in checkGenericParameter() 181 helper.getParameterTestHelper(0) in checkGenericParameter() 200 ExecutableTestHelper helper = new ExecutableTestHelper(executable); in checkGenericParameter_withMetadata() local [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | StatefulTestOp.java | 45 public <P_IN> Spliterator<T> opEvaluateParallelLazy(PipelineHelper<T> helper, in chain() argument 47 return op.opEvaluateParallelLazy(helper, spliterator); in chain() 51 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in chain() argument 54 return op.opEvaluateParallel(helper, spliterator, generator); in chain() 65 … public <P_IN> Spliterator<Integer> opEvaluateParallelLazy(PipelineHelper<Integer> helper, in chain() argument 67 return op.opEvaluateParallelLazy(helper, spliterator); in chain() 71 public <P_IN> Node<Integer> opEvaluateParallel(PipelineHelper<Integer> helper, in chain() argument 74 … return (Node<Integer>) op.opEvaluateParallel(helper, spliterator, generator); in chain() 85 … public <P_IN> Spliterator<Long> opEvaluateParallelLazy(PipelineHelper<Long> helper, in chain() 87 return op.opEvaluateParallelLazy(helper, spliterator); in chain() [all …]
|
D | CollectorOps.java | 69 public <P_IN> Node<E_IN> opEvaluateParallel(PipelineHelper<E_IN> helper, in opEvaluateParallel() argument 72 return helper.evaluate(spliterator, false, generator); in opEvaluateParallel() 86 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in opEvaluateParallel() argument 89 int flags = helper.getStreamAndOpFlags(); in opEvaluateParallel() 92 return super.opEvaluateParallel(helper, spliterator, generator); in opEvaluateParallel()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | StatefulTestOp.java | 46 public <P_IN> Spliterator<T> opEvaluateParallelLazy(PipelineHelper<T> helper, in chain() argument 48 return op.opEvaluateParallelLazy(helper, spliterator); in chain() 52 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in chain() argument 55 return op.opEvaluateParallel(helper, spliterator, generator); in chain() 66 … public <P_IN> Spliterator<Integer> opEvaluateParallelLazy(PipelineHelper<Integer> helper, in chain() argument 68 return op.opEvaluateParallelLazy(helper, spliterator); in chain() 72 public <P_IN> Node<Integer> opEvaluateParallel(PipelineHelper<Integer> helper, in chain() argument 75 … return (Node<Integer>) op.opEvaluateParallel(helper, spliterator, generator); in chain() 86 <P_IN> Spliterator<Long> opEvaluateParallelLazy(PipelineHelper<Long> helper, in chain() 88 return op.opEvaluateParallelLazy(helper, spliterator); in chain() [all …]
|
D | CollectorOps.java | 70 public <P_IN> Node<E_IN> opEvaluateParallel(PipelineHelper<E_IN> helper, in opEvaluateParallel() argument 73 return helper.evaluate(spliterator, false, generator); in opEvaluateParallel() 87 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in opEvaluateParallel() argument 90 int flags = helper.getStreamAndOpFlags(); in opEvaluateParallel() 93 return super.opEvaluateParallel(helper, spliterator, generator); in opEvaluateParallel()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SliceOps.java | 133 …public <P_IN> Spliterator<T> opEvaluateParallelLazy(PipelineHelper<T> helper, Spliterator<P_IN> sp… in makeRef() argument 134 long size = helper.exactOutputSizeIfKnown(spliterator); in makeRef() 137 helper.wrapSpliterator(spliterator), in makeRef() 140 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 142 helper.wrapSpliterator(spliterator), in makeRef() 154 return new SliceTask<>(this, helper, spliterator, castingArray(), skip, limit). in makeRef() 160 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in makeRef() argument 163 long size = helper.exactOutputSizeIfKnown(spliterator); in makeRef() 170 … Spliterator<P_IN> s = sliceSpliterator(helper.getSourceShape(), spliterator, skip, limit); in makeRef() 171 return Nodes.collect(helper, s, true, generator); in makeRef() [all …]
|
D | DistinctOps.java | 58 <P_IN> Node<T> reduce(PipelineHelper<T> helper, Spliterator<P_IN> spliterator) { in makeRef() 64 return Nodes.node(reduceOp.evaluateParallel(helper, spliterator)); in makeRef() 68 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in makeRef() argument 71 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 73 return helper.evaluate(spliterator, false, generator); in makeRef() 75 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 76 return reduce(helper, spliterator); in makeRef() 88 forEachOp.evaluateParallel(helper, spliterator); in makeRef() 103 …public <P_IN> Spliterator<T> opEvaluateParallelLazy(PipelineHelper<T> helper, Spliterator<P_IN> sp… in makeRef() argument 104 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef() [all …]
|
D | ForEachOps.java | 149 public <S> Void evaluateSequential(PipelineHelper<T> helper, in evaluateSequential() argument 151 return helper.wrapAndCopyInto(this, spliterator).get(); in evaluateSequential() 155 public <S> Void evaluateParallel(PipelineHelper<T> helper, in evaluateParallel() argument 158 new ForEachOrderedTask<>(helper, spliterator, this).invoke(); in evaluateParallel() 160 new ForEachTask<>(helper, spliterator, helper.wrapSink(this)).invoke(); in evaluateParallel() 257 private final PipelineHelper<T> helper; field in ForEachOps.ForEachTask 260 ForEachTask(PipelineHelper<T> helper, in ForEachTask() argument 265 this.helper = helper; in ForEachTask() 275 this.helper = parent.helper; in ForEachTask() 284 … boolean isShortCircuit = StreamOpFlag.SHORT_CIRCUIT.isKnown(helper.getStreamAndOpFlags()); in compute() [all …]
|
D | TerminalOp.java | 80 default <P_IN> R evaluateParallel(PipelineHelper<E_IN> helper, in evaluateParallel() argument 84 return evaluateSequential(helper, spliterator); in evaluateParallel() 96 <P_IN> R evaluateSequential(PipelineHelper<E_IN> helper, in evaluateSequential() argument
|
D | AbstractTask.java | 100 protected final PipelineHelper<P_OUT> helper; field in AbstractTask 136 protected AbstractTask(PipelineHelper<P_OUT> helper, in AbstractTask() argument 139 this.helper = helper; in AbstractTask() 155 this.helper = parent.helper; in AbstractTask()
|
D | SortedOps.java | 147 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in opEvaluateParallel() argument 152 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags()) && isNaturalSort) { in opEvaluateParallel() 153 return helper.evaluate(spliterator, false, generator); in opEvaluateParallel() 157 … T[] flattenedData = helper.evaluate(spliterator, true, generator).asArray(generator); in opEvaluateParallel() 186 public <P_IN> Node<Integer> opEvaluateParallel(PipelineHelper<Integer> helper, in opEvaluateParallel() argument 189 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags())) { in opEvaluateParallel() 190 return helper.evaluate(spliterator, false, generator); in opEvaluateParallel() 193 Node.OfInt n = (Node.OfInt) helper.evaluate(spliterator, true, generator); in opEvaluateParallel() 225 public <P_IN> Node<Long> opEvaluateParallel(PipelineHelper<Long> helper, in opEvaluateParallel() argument 228 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags())) { in opEvaluateParallel() [all …]
|
D | MatchOps.java | 228 public <S> Boolean evaluateSequential(PipelineHelper<T> helper, in evaluateSequential() argument 230 return helper.wrapAndCopyInto(sinkSupplier.get(), spliterator).getAndClearState(); in evaluateSequential() 234 public <S> Boolean evaluateParallel(PipelineHelper<T> helper, in evaluateParallel() argument 242 return new MatchTask<>(this, helper, spliterator).invoke(); in evaluateParallel() 285 MatchTask(MatchOp<P_OUT> op, PipelineHelper<P_OUT> helper, in MatchTask() argument 287 super(helper, spliterator); in MatchTask() 306 … boolean b = helper.wrapAndCopyInto(op.sinkSupplier.get(), spliterator).getAndClearState(); in doLeaf()
|
D | Nodes.java | 316 public static <P_IN, P_OUT> Node<P_OUT> collect(PipelineHelper<P_OUT> helper, in collect() argument 320 long size = helper.exactOutputSizeIfKnown(spliterator); in collect() 325 new SizedCollectorTask.OfRef<>(spliterator, helper, array).invoke(); in collect() 328 Node<P_OUT> node = new CollectorTask.OfRef<>(helper, generator, spliterator).invoke(); in collect() 354 public static <P_IN> Node.OfInt collectInt(PipelineHelper<Integer> helper, in collectInt() argument 357 long size = helper.exactOutputSizeIfKnown(spliterator); in collectInt() 362 new SizedCollectorTask.OfInt<>(spliterator, helper, array).invoke(); in collectInt() 366 Node.OfInt node = new CollectorTask.OfInt<>(helper, spliterator).invoke(); in collectInt() 392 public static <P_IN> Node.OfLong collectLong(PipelineHelper<Long> helper, in collectLong() argument 395 long size = helper.exactOutputSizeIfKnown(spliterator); in collectLong() [all …]
|
D | FindOps.java | 150 public <S> O evaluateSequential(PipelineHelper<T> helper, in evaluateSequential() argument 152 O result = helper.wrapAndCopyInto(sinkSupplier.get(), spliterator).get(); in evaluateSequential() 157 public <P_IN> O evaluateParallel(PipelineHelper<T> helper, in evaluateParallel() argument 159 return new FindTask<>(this, helper, spliterator).invoke(); in evaluateParallel() 255 PipelineHelper<P_OUT> helper, in FindTask() argument 257 super(helper, spliterator); in FindTask() 285 O result = helper.wrapAndCopyInto(op.sinkSupplier.get(), spliterator).get(); in doLeaf()
|
D | ReduceOps.java | 706 public <P_IN> R evaluateSequential(PipelineHelper<T> helper, 708 return helper.wrapAndCopyInto(makeSink(), spliterator).get(); 712 public <P_IN> R evaluateParallel(PipelineHelper<T> helper, 714 return new ReduceTask<>(this, helper, spliterator).invoke().get(); 728 PipelineHelper<P_OUT> helper, 730 super(helper, spliterator); 747 return helper.wrapAndCopyInto(op.makeSink(), spliterator);
|
D | AbstractShortCircuitTask.java | 68 protected AbstractShortCircuitTask(PipelineHelper<P_OUT> helper, in AbstractShortCircuitTask() argument 70 super(helper, spliterator); in AbstractShortCircuitTask()
|
D | AbstractPipeline.java | 573 public abstract <P_IN> Node<E_OUT> evaluateToNode(PipelineHelper<E_OUT> helper, in evaluateToNode() argument 676 public <P_IN> Node<E_OUT> opEvaluateParallel(PipelineHelper<E_OUT> helper, in opEvaluateParallel() argument 703 public <P_IN> Spliterator<E_OUT> opEvaluateParallelLazy(PipelineHelper<E_OUT> helper, in opEvaluateParallelLazy() argument 705 return opEvaluateParallel(helper, spliterator, i -> (E_OUT[]) new Object[i]).spliterator(); in opEvaluateParallelLazy()
|
D | DoublePipeline.java | 136 public final <P_IN> Node<Double> evaluateToNode(PipelineHelper<Double> helper, in evaluateToNode() argument 140 return Nodes.collectDouble(helper, spliterator, flattenTree); in evaluateToNode() 639 public abstract <P_IN> Node<Double> opEvaluateParallel(PipelineHelper<Double> helper,
|
D | LongPipeline.java | 137 public final <P_IN> Node<Long> evaluateToNode(PipelineHelper<Long> helper, in evaluateToNode() argument 141 return Nodes.collectLong(helper, spliterator, flattenTree); in evaluateToNode() 614 public abstract <P_IN> Node<Long> opEvaluateParallel(PipelineHelper<Long> helper,
|
D | IntPipeline.java | 139 public final <P_IN> Node<Integer> evaluateToNode(PipelineHelper<Integer> helper, in evaluateToNode() argument 143 return Nodes.collectInt(helper, spliterator, flattenTree); in evaluateToNode() 633 public abstract <P_IN> Node<Integer> opEvaluateParallel(PipelineHelper<Integer> helper,
|
D | ReferencePipeline.java | 106 public final <P_IN> Node<P_OUT> evaluateToNode(PipelineHelper<P_OUT> helper, in evaluateToNode() argument 110 return Nodes.collect(helper, spliterator, flattenTree, generator); in evaluateToNode() 662 public abstract <P_IN> Node<E_OUT> opEvaluateParallel(PipelineHelper<E_OUT> helper,
|
/libcore/support/src/test/java/tests/security/ |
D | AlgorithmParameterGeneratorTest.java | 26 private final TestHelper<AlgorithmParameters> helper; field in AlgorithmParameterGeneratorTest 28 …ted AlgorithmParameterGeneratorTest(String algorithmName, TestHelper<AlgorithmParameters> helper) { in AlgorithmParameterGeneratorTest() argument 30 this.helper = helper; in AlgorithmParameterGeneratorTest() 39 helper.test(parameters); in testAlgorithmParameterGenerator()
|
D | AlgorithmParametersTest.java | 27 private final TestHelper<AlgorithmParameters> helper; field in AlgorithmParametersTest 31 TestHelper<AlgorithmParameters> helper, AlgorithmParameterSpec parameterData) { in AlgorithmParametersTest() argument 33 this.helper = helper; in AlgorithmParametersTest() 40 helper.test(algorithmParameters); in testAlgorithmParameters()
|
D | KeyPairGeneratorTest.java | 27 private final TestHelper<KeyPair> helper; field in KeyPairGeneratorTest 31 protected KeyPairGeneratorTest(String algorithmName, TestHelper<KeyPair> helper) { in KeyPairGeneratorTest() argument 33 this.helper = helper; in KeyPairGeneratorTest() 50 helper.test(keyPair); in testKeyPairGenerator()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | CertStoreHelper.java | 69 CertStoreHelper helper = cache.get(type); in getInstance() local 70 if (helper != null) { in getInstance() 71 return helper; in getInstance() 78 helper = AccessController.doPrivileged( in getInstance() 93 return helper; in getInstance()
|