Home
last modified time | relevance | path

Searched refs:fst (Results 1 – 3 of 3) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java1622 final CompletableFuture<Integer> fst = fFirst ? f : g; in testThenCombine_normalCompletion() local
1628 final CompletableFuture<Integer> h1 = m.thenCombine(fst, fst, rs[1]); in testThenCombine_normalCompletion()
1629 assertTrue(fst.complete(w1)); in testThenCombine_normalCompletion()
1631 final CompletableFuture<Integer> h3 = m.thenCombine(fst, fst, rs[3]); in testThenCombine_normalCompletion()
1669 final CompletableFuture<Integer> fst = fFirst ? f : g; in testThenCombine_exceptionalCompletion() local
1672 () -> fst.completeExceptionally(ex) : in testThenCombine_exceptionalCompletion()
1673 () -> fst.complete(v1); in testThenCombine_exceptionalCompletion()
1692 checkCompletedNormally(failFirst ? snd : fst, v1); in testThenCombine_exceptionalCompletion()
1693 checkCompletedExceptionally(failFirst ? fst : snd, ex); in testThenCombine_exceptionalCompletion()
1712 final CompletableFuture<Integer> fst = fFirst ? f : g; in testThenCombine_sourceCancelled() local
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java1745 final CompletableFuture<Item> fst = fFirst ? f : g; in testThenCombine_normalCompletion() local
1751 final CompletableFuture<Item> h1 = m.thenCombine(fst, fst, rs[1]); in testThenCombine_normalCompletion()
1752 assertTrue(fst.complete(w1)); in testThenCombine_normalCompletion()
1754 final CompletableFuture<Item> h3 = m.thenCombine(fst, fst, rs[3]); in testThenCombine_normalCompletion()
1792 final CompletableFuture<Item> fst = fFirst ? f : g; in testThenCombine_exceptionalCompletion() local
1795 () -> fst.completeExceptionally(ex) : in testThenCombine_exceptionalCompletion()
1796 () -> fst.complete(v1); in testThenCombine_exceptionalCompletion()
1815 checkCompletedNormally(failFirst ? snd : fst, v1); in testThenCombine_exceptionalCompletion()
1816 checkCompletedExceptionally(failFirst ? fst : snd, ex); in testThenCombine_exceptionalCompletion()
1835 final CompletableFuture<Item> fst = fFirst ? f : g; in testThenCombine_sourceCancelled() local
[all …]
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java5071 private static BigDecimal add(BigInteger fst, int scale1, BigInteger snd, int scale2) {
5076 int raise = checkScale(fst,-sdiff);
5078 fst = bigMultiplyPowerTen(fst,raise);
5084 BigInteger sum = fst.add(snd);
5085 return (fst.signum == snd.signum) ?