Searched refs:tl (Results 1 – 4 of 4) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalTest.java | 16 static ThreadLocal<Integer> tl = new ThreadLocal<Integer>() { field in ThreadLocalTest 37 assertSame(tl.get(), one); in testRemove() 38 tl.set(two); in testRemove() 39 assertSame(tl.get(), two); in testRemove() 40 tl.remove(); in testRemove() 41 assertSame(tl.get(), one); in testRemove()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadLocalTest.java | 35 ThreadLocal<String> tl = new ThreadLocal<String>() { in test_remove() local 42 assertEquals("initial", tl.get()); in test_remove() 43 tl.set("fixture"); in test_remove() 44 assertEquals("fixture", tl.get()); in test_remove() 45 tl.remove(); in test_remove() 46 assertEquals("initial", tl.get()); in test_remove()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 1302 TreeNode<K,V> hd = null, tl = null; in readObject() local 1306 if ((t.prev = tl) == null) in readObject() 1309 tl.next = t; in readObject() 1310 tl = t; in readObject() 1821 TreeNode<K,V> hd = null, tl = null; in treeifyBin() local 1826 if ((p.prev = tl) == null) in treeifyBin() 1829 tl.next = p; in treeifyBin() 1830 tl = p; in treeifyBin() 1843 Node<K,V> hd = null, tl = null; in untreeify() local 1846 if (tl == null) in untreeify() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 119 Locale tl = new Locale("tl"); in test_tl_and_fil() local 121 assertEquals("Tagalog", tl.getDisplayLanguage(Locale.ENGLISH)); in test_tl_and_fil() 123 assertEquals("tl", tl.getDisplayLanguage(tl)); in test_tl_and_fil() 127 assertEquals("tagalo", tl.getDisplayLanguage(es_MX)); in test_tl_and_fil()
|