/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ParameterTest.java | 119 ExecutableTestHelper helper = new ExecutableTestHelper(executable); in checkSingleStringParameter() local 120 helper.checkStandardParametersBehavior() in checkSingleStringParameter() 125 helper.getParameterTestHelper(0) in checkSingleStringParameter() 143 ExecutableTestHelper helper = new ExecutableTestHelper(executable); in checkSingleStringParameter_withMetadata() local 144 helper.checkStandardParametersBehavior() in checkSingleStringParameter_withMetadata() 148 helper.getParameterTestHelper(0) in checkSingleStringParameter_withMetadata() 176 ExecutableTestHelper helper = new ExecutableTestHelper(executable); in checkGenericParameter() local 177 helper.checkStandardParametersBehavior() in checkGenericParameter() 183 helper.getParameterTestHelper(0) in checkGenericParameter() 202 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 | 134 …public <P_IN> Spliterator<T> opEvaluateParallelLazy(PipelineHelper<T> helper, Spliterator<P_IN> sp… in makeRef() argument 135 long size = helper.exactOutputSizeIfKnown(spliterator); in makeRef() 138 helper.wrapSpliterator(spliterator), in makeRef() 141 } else if (!StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 143 helper.wrapSpliterator(spliterator), in makeRef() 155 return new SliceTask<>(this, helper, spliterator, castingArray(), skip, limit). in makeRef() 162 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in makeRef() argument 165 long size = helper.exactOutputSizeIfKnown(spliterator); in makeRef() 172 … Spliterator<P_IN> s = sliceSpliterator(helper.getSourceShape(), spliterator, skip, limit); in makeRef() 173 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() 69 public <P_IN> Node<T> opEvaluateParallel(PipelineHelper<T> helper, in makeRef() argument 72 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 74 return helper.evaluate(spliterator, false, generator); in makeRef() 76 else if (StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 77 return reduce(helper, spliterator); in makeRef() 89 forEachOp.evaluateParallel(helper, spliterator); in makeRef() 105 …public <P_IN> Spliterator<T> opEvaluateParallelLazy(PipelineHelper<T> helper, Spliterator<P_IN> sp… in makeRef() argument 106 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 | 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 | 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 | 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 | 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 | 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 | 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 | 581 public abstract <P_IN> Node<E_OUT> evaluateToNode(PipelineHelper<E_OUT> helper, in evaluateToNode() argument 691 public <P_IN> Node<E_OUT> opEvaluateParallel(PipelineHelper<E_OUT> helper, in opEvaluateParallel() argument 719 public <P_IN> Spliterator<E_OUT> opEvaluateParallelLazy(PipelineHelper<E_OUT> helper, in opEvaluateParallelLazy() argument 721 return opEvaluateParallel(helper, spliterator, i -> (E_OUT[]) new Object[i]).spliterator(); in opEvaluateParallelLazy()
|
D | IntPipeline.java | 142 public final <P_IN> Node<Integer> evaluateToNode(PipelineHelper<Integer> helper, in evaluateToNode() argument 146 return Nodes.collectInt(helper, spliterator, flattenTree); in evaluateToNode() 661 public abstract <P_IN> Node<Integer> opEvaluateParallel(PipelineHelper<Integer> helper,
|
D | DoublePipeline.java | 139 public final <P_IN> Node<Double> evaluateToNode(PipelineHelper<Double> helper, in evaluateToNode() argument 143 return Nodes.collectDouble(helper, spliterator, flattenTree); in evaluateToNode() 666 public abstract <P_IN> Node<Double> opEvaluateParallel(PipelineHelper<Double> helper,
|
D | LongPipeline.java | 140 public final <P_IN> Node<Long> evaluateToNode(PipelineHelper<Long> helper, in evaluateToNode() argument 144 return Nodes.collectLong(helper, spliterator, flattenTree); in evaluateToNode() 642 public abstract <P_IN> Node<Long> opEvaluateParallel(PipelineHelper<Long> helper,
|
D | ReferencePipeline.java | 109 public final <P_IN> Node<P_OUT> evaluateToNode(PipelineHelper<P_OUT> helper, in evaluateToNode() argument 113 return Nodes.collect(helper, spliterator, flattenTree, generator); in evaluateToNode() 690 public abstract <P_IN> Node<E_OUT> opEvaluateParallel(PipelineHelper<E_OUT> helper,
|
/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()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 352 Class<?> helper = imcl.loadClass(className); in getStackTraceElement() local 353 Method m = helper.getDeclaredMethod(methodName); in getStackTraceElement()
|