Home
last modified time | relevance | path

Searched refs:pf (Results 1 – 5 of 5) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java49 PublicFutureTask pf = (PublicFutureTask) f; in checkIsDone() local
50 assertEquals(1, pf.doneCount()); in checkIsDone()
51 assertFalse(pf.runAndReset()); in checkIsDone()
52 assertEquals(1, pf.doneCount()); in checkIsDone()
65 int savedRunCount = pf.runCount(); in checkIsDone()
66 pf.run(); in checkIsDone()
67 pf.runAndReset(); in checkIsDone()
68 assertEquals(savedRunCount, pf.runCount()); in checkIsDone()
86 PublicFutureTask pf = (PublicFutureTask) f; in checkNotDone() local
87 assertEquals(0, pf.doneCount()); in checkNotDone()
[all …]
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java1596 PutField pf = s.putFields(); in writeObject() local
1597 pf.put("hostName", holder().hostName); in writeObject()
1598 pf.put("address", holder().address); in writeObject()
1599 pf.put("family", holder().family); in writeObject()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java334 public static PreferencesFactory setPreferencesFactory(PreferencesFactory pf) { in setPreferencesFactory() argument
336 factory = pf; in setPreferencesFactory()
/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatTest.java66 NumberFormat pf = NumberFormat.getPercentInstance(); in testBigDecimalBug1897917() local
67 assertEquals("17%", pf.format(BigDecimal.valueOf(0.17))); in testBigDecimalBug1897917()
158 NumberFormat pf = NumberFormat.getPercentInstance(); in assertBigDecimalWithFraction() local
159 pf.setMaximumFractionDigits(fraction); in assertBigDecimalWithFraction()
160 assertEquals(expectedResult, pf.format(bd)); in assertBigDecimalWithFraction()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DSortedOpTest.java366 …<T, S extends BaseStream<T, S>, R> S assertNCallsOnly(S s, BiFunction<S, Consumer<T>, S> pf, int n… in assertNCallsOnly() argument
368 return pf.apply(s, i -> { in assertNCallsOnly()