/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CompletionStage.java | 170 public <U> CompletionStage<U> thenApply(Function<? super T,? extends U> fn); in thenApply() 187 (Function<? super T,? extends U> fn); in thenApplyAsync() 204 (Function<? super T,? extends U> fn, in thenApplyAsync() 310 BiFunction<? super T,? super U,? extends V> fn); in thenCombine() 330 BiFunction<? super T,? super U,? extends V> fn); in thenCombineAsync() 351 BiFunction<? super T,? super U,? extends V> fn, in thenCombineAsync() 370 BiConsumer<? super T, ? super U> action); in thenAcceptBoth() 389 BiConsumer<? super T, ? super U> action); in thenAcceptBothAsync() 409 BiConsumer<? super T, ? super U> action, in thenAcceptBothAsync() 475 Function<? super T, U> fn); in applyToEither() [all …]
|
D | CompletableFuture.java | 581 Function<? super T,? extends V> fn) { in UniApply() 621 Executor e, Function<? super T,? extends V> f) { in uniApplyStage() 740 BiConsumer<? super T, ? super Throwable> fn) { in UniWhenComplete() 754 BiConsumer<? super T,? super Throwable> f, in uniWhenComplete() 787 Executor e, BiConsumer<? super T, ? super Throwable> f) { in uniWhenCompleteStage() 803 BiFunction<? super T, Throwable, ? extends V> fn) { in UniHandle() 843 Executor e, BiFunction<? super T, Throwable, ? extends V> f) { in uniHandleStage() 956 Function<? super T, ? extends CompletionStage<V>> fn) { in UniCompose() 1004 Executor e, Function<? super T, ? extends CompletionStage<V>> f) { in uniComposeStage() 1099 BiFunction<? super T,? super U,? extends V> fn) { in BiApply() [all …]
|
/libcore/ojluni/annotations/mmodule/java/util/concurrent/ |
D | CompletableFuture.annotated.java | 70 …c <U> java.util.concurrent.CompletableFuture<U> thenApply(java.util.function.Function<? super T,? … in thenApply() 72 … java.util.concurrent.CompletableFuture<U> thenApplyAsync(java.util.function.Function<? super T,? … in thenApplyAsync() 74 … java.util.concurrent.CompletableFuture<U> thenApplyAsync(java.util.function.Function<? super T,? … in thenApplyAsync() 88 …java.util.concurrent.CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,?… in thenCombine() 90 …java.util.concurrent.CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,?… in thenCombineAsync() 92 …java.util.concurrent.CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,?… in thenCombineAsync() 94 …java.util.concurrent.CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,?… in thenAcceptBoth() 96 …java.util.concurrent.CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,?… in thenAcceptBothAsync() 98 …java.util.concurrent.CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,?… in thenAcceptBothAsync() 106 …(java.util.concurrent.CompletionStage<? extends T> other, java.util.function.Function<? super T,U>… in applyToEither() [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | StreamTestScenario.java | 47 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE() 60 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT() 70 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY() 80 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR() 89 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR() 97 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 105 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_FOREACH() 113 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 121 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_FOR_EACH_ORDERED() 130 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SPLITERATOR() [all …]
|
D | LongStreamTestScenario.java | 48 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() 60 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY() 69 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR() 78 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR() 87 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 95 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_FOREACH() 102 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 110 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() 119 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR() 128 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() [all …]
|
D | DoubleStreamTestScenario.java | 48 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() 60 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() 69 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() 78 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() 87 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 95 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_FOREACH() 102 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 110 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() 119 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR() 128 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() [all …]
|
D | IntStreamTestScenario.java | 48 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() 60 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY() 69 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR() 78 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR() 87 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 95 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_FOREACH() 102 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 110 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() 119 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR() 128 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() [all …]
|
D | OpTestCase.java | 98 void run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, S_OUT> m); in run() 102 Collection<U> exerciseOps(TestData<T, S_IN> data, Function<S_IN, S_OUT> m) { in exerciseOps() 110 Collection<U> exerciseOpsMulti(TestData<T, S_IN> data, in exerciseOpsMulti() 145 void exerciseTerminalOpsMulti(TestData<T, S_IN> data, in exerciseTerminalOpsMulti() 186 Collection<U> exerciseOps(Collection<T> data, Function<Stream<T>, S_OUT> m) { in exerciseOps() 192 Collection<U> exerciseOps(Collection<T> data, Function<Stream<T>, S_OUT> m, I expected) { in exerciseOps() 208 …protected <T, S_IN extends BaseStream<T, S_IN>> DataStreamBuilder<T, S_IN> withData(TestData<T, S_… in withData() 217 private DataStreamBuilder(TestData<T, S_IN> data) { in DataStreamBuilder() 270 private ExerciseDataStreamBuilder(TestData<T, S_IN> data, Function<S_IN, S_OUT> m) { in ExerciseDataStreamBuilder() 318 … public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> before(Consumer<TestData<T, S_IN>> before) { in before() [all …]
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | StreamTestScenario.java | 50 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE() 63 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT() 73 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY() 83 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR() 92 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR() 100 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 108 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_FOREACH() 116 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 124 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_FOR_EACH_ORDERED() 133 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SPLITERATOR() [all …]
|
D | DoubleStreamTestScenario.java | 52 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() 64 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() 73 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() 82 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() 91 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 99 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_FOREACH() 106 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 114 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() 123 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR() 132 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() [all …]
|
D | LongStreamTestScenario.java | 51 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() 63 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY() 72 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR() 81 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR() 90 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 98 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_FOREACH() 105 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 113 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() 122 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR() 131 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() [all …]
|
D | IntStreamTestScenario.java | 51 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() 63 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY() 72 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR() 81 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR() 90 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 98 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_FOREACH() 105 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 113 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() 122 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR() 131 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() [all …]
|
D | OpTestCase.java | 99 void run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, S_OUT> m); in run() 103 Collection<U> exerciseOps(TestData<T, S_IN> data, Function<S_IN, S_OUT> m) { in exerciseOps() 111 Collection<U> exerciseOpsMulti(TestData<T, S_IN> data, in exerciseOpsMulti() 146 void exerciseTerminalOpsMulti(TestData<T, S_IN> data, in exerciseTerminalOpsMulti() 187 Collection<U> exerciseOps(Collection<T> data, Function<Stream<T>, S_OUT> m) { in exerciseOps() 193 Collection<U> exerciseOps(Collection<T> data, Function<Stream<T>, S_OUT> m, I expected) { in exerciseOps() 209 …protected <T, S_IN extends BaseStream<T, S_IN>> DataStreamBuilder<T, S_IN> withData(TestData<T, S_… in withData() 218 private DataStreamBuilder(TestData<T, S_IN> data) { in DataStreamBuilder() 271 private ExerciseDataStreamBuilder(TestData<T, S_IN> data, Function<S_IN, S_OUT> m) { in ExerciseDataStreamBuilder() 319 … public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> before(Consumer<TestData<T, S_IN>> before) { in before() [all …]
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | BiPredicate.java | 71 default BiPredicate<T, U> and(BiPredicate<? super T, ? super U> other) { in and() 103 default BiPredicate<T, U> or(BiPredicate<? super T, ? super U> other) { in or()
|
D | BiConsumer.java | 67 default BiConsumer<T, U> andThen(BiConsumer<? super T, ? super U> after) { in andThen()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Comparator.java | 239 Function<? super T, ? extends U> keyExtractor, in thenComparing() 263 Function<? super T, ? extends U> keyExtractor) in thenComparing() 430 Function<? super T, ? extends U> keyExtractor, in comparing() 465 Function<? super T, ? extends U> keyExtractor) in comparing()
|
D | Optional.java | 206 public<U> Optional<U> map(Function<? super T, ? extends U> mapper) { in map() 232 public<U> Optional<U> flatMap(Function<? super T, Optional<U>> mapper) { in flatMap()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Stream.java | 184 <R> Stream<R> map(Function<? super T, ? extends R> mapper); in map() 270 <R> Stream<R> flatMap(Function<? super T, ? extends Stream<? extends R>> mapper); in flatMap() 290 IntStream flatMapToInt(Function<? super T, ? extends IntStream> mapper); in flatMapToInt() 310 LongStream flatMapToLong(Function<? super T, ? extends LongStream> mapper); in flatMapToLong() 330 DoubleStream flatMapToDouble(Function<? super T, ? extends DoubleStream> mapper); in flatMapToDouble() 697 BiFunction<U, ? super T, U> accumulator, in reduce() 807 <R, A> R collect(Collector<? super T, A, R> collector); in collect()
|
D | ReduceOps.java | 69 makeRef(U seed, BiFunction<U, ? super T, U> reducer, BinaryOperator<U> combiner) { in makeRef()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TabulatorsTest.java | 87 protected GroupedMapAssertion(Function<T, K> classifier, in GroupedMapAssertion() 89 TabulationAssertion<T, V> downstream) { in GroupedMapAssertion() 116 ToMapAssertion(Function<T, K> keyFn, in ToMapAssertion() 148 TabulationAssertion<T, D> downstream) { in PartitionAssertion() 213 ReduceAssertion(U identity, Function<T, U> mapper, BinaryOperator<U> reducer) { in ReduceAssertion()
|
D | TeeOpTest.java | 75 void before(TestData<T, ?> td) { in before() 80 void after(TestData<T, ?> td) { in after()
|
/libcore/luni/src/test/native/ |
D | libcore_io_Memory_test.cpp | 28 void swap_align_test(void (*swap_func)(T*, const T*, size_t), in swap_align_test() 29 std::function<void (T*, T*, uint64_t)> init_func) { in swap_align_test() 111 void memory_poke_test(void (*poke_func)(JNIEnv*, jclass, jlong, T), T value) { in memory_poke_test() argument
|
/libcore/luni/src/benchmark/native/ |
D | libcore_io_Memory_bench.cpp | 23 void swap_bench(benchmark::State& state, void (*swap_func)(T*, const T*, size_t)) { in swap_bench()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldGenericReflectionCornerCases.java | 36 void wildcardEquality(Pair<? extends T, ? extends T> param) {} in wildcardEquality() 79 void wildcardUnEquality(Pair<? extends T, ? super T> param) {} in wildcardUnEquality() 121 void multipleBoundedWildcardUnEquality(Pair<? extends T, ? super T> param) {} in multipleBoundedWildcardUnEquality() 176 void multipleBoundedWildcardEquality(Pair<? extends T, ? extends T> param) {} in multipleBoundedWildcardEquality()
|
/libcore/ojluni/src/main/java/java/net/ |
D | InMemoryCookieStore.java | 359 void getInternal2(List<HttpCookie> cookies, Map<T, List<HttpCookie>> cookieIndex, in getInternal2() 388 private <T> void addIndex(Map<T, List<HttpCookie>> indexStore, in addIndex()
|