Home
last modified time | relevance | path

Searched refs:pl (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferenceChangeEventTest.java54 MockPreferenceChangeListener pl = new MockPreferenceChangeListener() { in testGetKey() local
62 pref.addPreferenceChangeListener(pl); in testGetKey()
65 assertEquals(1, pl.getChanged()); in testGetKey()
66 assertTrue(pl.getResult()); in testGetKey()
67 pl.reset(); in testGetKey()
69 pref.removePreferenceChangeListener(pl); in testGetKey()
79 MockPreferenceChangeListener pl = new MockPreferenceChangeListener() { in testGetNewValue() local
87 pref.addPreferenceChangeListener(pl); in testGetNewValue()
90 assertEquals(1, pl.getChanged()); in testGetNewValue()
91 assertTrue(pl.getResult()); in testGetNewValue()
[all …]
DOldPreferencesTest.java742 MockPreferenceChangeListener pl = null; in testAddPreferenceChangeListener() local
752 pl = new MockPreferenceChangeListener(); in testAddPreferenceChangeListener()
753 pref.addPreferenceChangeListener(pl); in testAddPreferenceChangeListener()
755 pl.waitForEvent(1); in testAddPreferenceChangeListener()
756 assertEquals(1, pl.getChanged()); in testAddPreferenceChangeListener()
758 pl.waitForEvent(2); in testAddPreferenceChangeListener()
759 assertEquals(2, pl.getChanged()); in testAddPreferenceChangeListener()
760 pl.reset(); in testAddPreferenceChangeListener()
763 pl.waitForEvent(2); in testAddPreferenceChangeListener()
764 assertEquals(2, pl.getChanged()); in testAddPreferenceChangeListener()
[all …]
/libcore/ojluni/src/main/java/sun/net/
DProgressMonitor.java128 ProgressListener pl = iter.next(); in registerSource() local
130 pl.progressStart(pe); in registerSource()
165 ProgressListener pl = iter.next(); in unregisterSource() local
167 pl.progressFinish(pe); in unregisterSource()
197 ProgressListener pl = iter.next(); in updateProgress() local
199 pl.progressUpdate(pe); in updateProgress()
/libcore/luni/src/test/java/libcore/java/text/
DDateFormatSymbolsTest.java55 Locale pl = new Locale("pl"); in testSerialization() local
56 DateFormatSymbols originalDfs = new DateFormatSymbols(pl); in testSerialization()
72 assertEquals("stycznia", formatDate(pl, "MMMM", originalDfs)); in testSerialization()
73 assertEquals("stycze\u0144", formatDate(pl, "LLLL", originalDfs)); in testSerialization()
76 assertEquals("stycznia", formatDate(pl, "MMMM", deserializedDfs)); in testSerialization()
77 assertEquals("stycze\u0144", formatDate(pl, "LLLL", deserializedDfs)); in testSerialization()
DSimpleDateFormatTest.java76 Locale pl = new Locale("pl"); in testStandAloneNames() local
81 assertEquals("stycznia", formatDateUtc(pl, "MMMM")); in testStandAloneNames()
82 assertEquals("stycze\u0144", formatDateUtc(pl, "LLLL")); in testStandAloneNames()
91 …assertEquals(Calendar.JUNE, parseDateUtc(pl, "yyyy-MMMM-dd", "1980-czerwca-12").get(Calendar.MONTH… in testStandAloneNames()
92 …assertEquals(Calendar.JUNE, parseDateUtc(pl, "yyyy-LLLL-dd", "1980-czerwiec-12").get(Calendar.MONT… in testStandAloneNames()
543 Locale pl = new Locale("pl"); in testDayNumberOfWeek() local
547 assertEquals("4", formatDateUtc(pl, "u")); in testDayNumberOfWeek()
548 assertEquals("04", formatDateUtc(pl, "uu")); in testDayNumberOfWeek()
/libcore/ojluni/src/main/java/java/util/
DHashMap.java1858 TreeNode<K,V> pl = p.left, pr = p.right, q; in find() local
1860 p = pl; in find()
1865 else if (pl == null) in find()
1868 p = pl; in find()
1872 p = (dir < 0) ? pl : pr; in find()
1876 p = pl; in find()
2050 TreeNode<K,V> p = this, pl = left, pr = right, replacement; in removeTreeNode() local
2051 if (pl != null && pr != null) { in removeTreeNode()
2076 if ((s.left = pl) != null) in removeTreeNode()
2077 pl.parent = s; in removeTreeNode()
[all …]
DTreeMap.java2798 TreeMapEntry<K,V> f = fence, e, p, pl; in forEachRemaining() local
2804 while ((pl = p.left) != null) in forEachRemaining()
2805 p = pl; in forEachRemaining()
2949 TreeMapEntry<K,V> f = fence, e, p, pl; in forEachRemaining() local
2955 while ((pl = p.left) != null) in forEachRemaining()
2956 p = pl; in forEachRemaining()
3021 TreeMapEntry<K,V> f = fence, e, p, pl; in forEachRemaining() local
3027 while ((pl = p.left) != null) in forEachRemaining()
3028 p = pl; in forEachRemaining()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java2744 TreeNode<K,V> pl = p.left, pr = p.right; in findTreeNode() local
2746 p = pl; in findTreeNode()
2751 else if (pl == null) in findTreeNode()
2754 p = pl; in findTreeNode()
2758 p = (dir < 0) ? pl : pr; in findTreeNode()
2762 p = pl; in findTreeNode()
3016 TreeNode<K,V> pl = p.left; in removeTreeNode() local
3018 if (pl != null && pr != null) { in removeTreeNode()
3043 if ((s.left = pl) != null) in removeTreeNode()
3044 pl.parent = s; in removeTreeNode()
[all …]