Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletionStage.java170 public <U> CompletionStage<U> thenApply(Function<? super T,? extends U> fn); in thenApply() argument
187 (Function<? super T,? extends U> fn); in thenApplyAsync() argument
204 (Function<? super T,? extends U> fn, in thenApplyAsync() argument
310 BiFunction<? super T,? super U,? extends V> fn); in thenCombine() argument
330 BiFunction<? super T,? super U,? extends V> fn); in thenCombineAsync() argument
351 BiFunction<? super T,? super U,? extends V> fn, in thenCombineAsync() argument
475 Function<? super T, U> fn); in applyToEither() argument
494 Function<? super T, U> fn); in applyToEitherAsync() argument
514 Function<? super T, U> fn, in applyToEitherAsync() argument
648 (Function<? super T, ? extends CompletionStage<U>> fn); in thenCompose() argument
[all …]
DCompletableFuture.java578 Function<? super T,? extends V> fn; field in CompletableFuture.UniApply
581 Function<? super T,? extends V> fn) { in UniApply() argument
582 super(executor, dep, src); this.fn = fn; in UniApply()
587 !d.uniApply(a = src, fn, mode > 0 ? null : this)) in tryFire()
589 dep = null; src = null; fn = null; in tryFire()
634 Consumer<? super T> fn; field in CompletableFuture.UniAccept
636 CompletableFuture<T> src, Consumer<? super T> fn) { in UniAccept() argument
637 super(executor, dep, src); this.fn = fn; in UniAccept()
642 !d.uniAccept(a = src, fn, mode > 0 ? null : this)) in tryFire()
644 dep = null; src = null; fn = null; in tryFire()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java222 final void longAccumulate(long x, LongBinaryOperator fn, in longAccumulate() argument
257 (fn == null) ? v + x : fn.applyAsLong(v, x))) in longAccumulate()
289 (fn == null) ? v + x : fn.applyAsLong(v, x))) in longAccumulate()
294 private static long apply(DoubleBinaryOperator fn, long v, double x) { in apply() argument
296 d = (fn == null) ? d + x : fn.applyAsDouble(d, x); in apply()
306 final void doubleAccumulate(double x, DoubleBinaryOperator fn, in doubleAccumulate() argument
340 else if (a.cas(v = a.value, apply(fn, v, x))) in doubleAccumulate()
371 else if (casBase(v = base, apply(fn, v, x))) in doubleAccumulate()
/libcore/ojluni/src/main/java/java/util/
DArrayPrefixHelpers.java137 final BinaryOperator<T> fn; in compute() local
139 if ((fn = this.function) == null || (a = this.array) == null) in compute()
149 new CumulateTask<T>(t, fn, a, org, fnc, th, mid, h); in compute()
151 new CumulateTask<T>(t, fn, a, org, fnc, th, l, mid); in compute()
160 fn.apply(pin, lout)); in compute()
209 a[i] = sum = fn.apply(sum, a[i]); in compute()
214 sum = fn.apply(sum, a[i]); in compute()
236 fn.apply(lout, rt.out)); in compute()
289 final LongBinaryOperator fn; in compute() local
291 if ((fn = this.function) == null || (a = this.array) == null) in compute()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DPackage.java557 String fn = getSystemPackage0(name); in getSystemPackage() local
558 if (fn != null) { in getSystemPackage()
559 pkg = defineSystemPackage(name, fn); in getSystemPackage()
581 final String fn) in defineSystemPackage() argument
587 URL url = urls.get(fn); in defineSystemPackage()
590 File file = new File(fn); in defineSystemPackage()
596 urls.put(fn, url); in defineSystemPackage()
599 mans.put(fn, loadManifest(fn)); in defineSystemPackage()
606 Manifest man = mans.get(fn); in defineSystemPackage()
622 private static Manifest loadManifest(String fn) {
[all …]
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java70 …ableFuture<U> thenApply(java.util.function.Function<? super T,? extends U> fn) { throw new Runtime… in thenApply() argument
72 …uture<U> thenApplyAsync(java.util.function.Function<? super T,? extends U> fn) { throw new Runtime… in thenApplyAsync() argument
74 …uture<U> thenApplyAsync(java.util.function.Function<? super T,? extends U> fn, java.util.concurren… in thenApplyAsync() argument
88 …s U> other, java.util.function.BiFunction<? super T,? super U,? extends V> fn) { throw new Runtime… in thenCombine() argument
90 …s U> other, java.util.function.BiFunction<? super T,? super U,? extends V> fn) { throw new Runtime… in thenCombineAsync() argument
92 …s U> other, java.util.function.BiFunction<? super T,? super U,? extends V> fn, java.util.concurren… in thenCombineAsync() argument
106 …mpletionStage<? extends T> other, java.util.function.Function<? super T,U> fn) { throw new Runtime… in applyToEither() argument
108 …mpletionStage<? extends T> other, java.util.function.Function<? super T,U> fn) { throw new Runtime… in applyToEitherAsync() argument
110 …mpletionStage<? extends T> other, java.util.function.Function<? super T,U> fn, java.util.concurren… in applyToEitherAsync() argument
124 …tion.Function<? super T,? extends java.util.concurrent.CompletionStage<U>> fn) { throw new Runtime… in thenCompose() argument
[all …]
/libcore/ojluni/src/main/java/sun/nio/fs/
DMimeTypesFileTypeDetector.java69 Path fn = path.getFileName(); in implProbeContentType() local
70 if (fn == null) in implProbeContentType()
73 String ext = getExtension(fn.toString()); in implProbeContentType()