Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldNodeChangeEventTest.java55 MockNodeChangeListener nl = new MockNodeChangeListener() { in testGetChild() local
81 pref.addNodeChangeListener(nl); in testGetChild()
83 nl.waitForEvent(); in testGetChild()
84 assertEquals(1, nl.getAdded()); in testGetChild()
85 assertTrue(nl.getAddResult()); in testGetChild()
86 nl.reset(); in testGetChild()
88 nl.waitForEvent(); in testGetChild()
89 assertEquals(1, nl.getRemoved()); in testGetChild()
90 assertTrue(nl.getRemoveResult()); in testGetChild()
91 nl.reset(); in testGetChild()
[all …]
DOldPreferencesTest.java643 MockNodeChangeListener nl = null; in testAddNodeChangeListener() local
646 nl = new MockNodeChangeListener(); in testAddNodeChangeListener()
647 pref.addNodeChangeListener(nl); in testAddNodeChangeListener()
649 nl.waitForEvent(1); in testAddNodeChangeListener()
650 assertEquals(1, nl.getAdded()); in testAddNodeChangeListener()
651 nl.reset(); in testAddNodeChangeListener()
655 assertEquals(0, nl.getAdded()); in testAddNodeChangeListener()
656 nl.reset(); in testAddNodeChangeListener()
658 pref.removeNodeChangeListener(nl); in testAddNodeChangeListener()
663 nl = new MockNodeChangeListener(); in testAddNodeChangeListener()
[all …]
/libcore/ojluni/src/main/java/java/util/regex/
DPatternSyntaxException.java96 private static final String nl = field in PatternSyntaxException
114 sb.append(nl); in getMessage()
117 sb.append(nl); in getMessage()
/libcore/ojluni/src/main/java/java/math/
DMutableBigInteger.java1572 long nl = rem.value[j+2+rem.offset] & LONG_MASK; in divideMagnitude() local
1573 long rs = ((qrem & LONG_MASK) << 32) | nl; in divideMagnitude()
1581 rs = ((qrem & LONG_MASK) << 32) | nl; in divideMagnitude()
1628 long nl = rem.value[limit + 1 + rem.offset] & LONG_MASK; in divideMagnitude()
1629 long rs = ((qrem & LONG_MASK) << 32) | nl; in divideMagnitude()
1637 rs = ((qrem & LONG_MASK) << 32) | nl; in divideMagnitude()
1747 long nl = rem.value[j + 2 + rem.offset] & LONG_MASK;
1748 long rs = ((qrem & LONG_MASK) << 32) | nl;
1756 rs = ((qrem & LONG_MASK) << 32) | nl;