Searched refs:tl (Results 1 – 7 of 7) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalTest.java | 25 static ThreadLocal<Integer> tl = new ThreadLocal<Integer>() { field in ThreadLocalTest 46 assertSame(tl.get(), one); in testRemove() 47 tl.set(two); in testRemove() 48 assertSame(tl.get(), two); in testRemove() 49 tl.remove(); in testRemove() 50 assertSame(tl.get(), one); in testRemove()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ThreadLocalTest.java | 49 static ThreadLocal<Integer> tl = new ThreadLocal<Integer>() { field in ThreadLocalTest 70 assertSame(tl.get(), one); in testRemove() 71 tl.set(two); in testRemove() 72 assertSame(tl.get(), two); in testRemove() 73 tl.remove(); in testRemove() 74 assertSame(tl.get(), one); in testRemove()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadLocalTest.java | 36 ThreadLocal<String> tl = new ThreadLocal<String>() { in test_remove() local 43 assertEquals("initial", tl.get()); in test_remove() 44 tl.set("fixture"); in test_remove() 45 assertEquals("fixture", tl.get()); in test_remove() 46 tl.remove(); in test_remove() 47 assertEquals("initial", tl.get()); in test_remove()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | BaseLocale.java | 253 String tl = this.lang.get(); in equals() local 255 if (tl != null && ol != null && in equals() 256 LocaleUtils.caseIgnoreMatch(ol, tl)) { in equals()
|
/libcore/ojluni/src/main/java/java/util/ |
D | HashMap.java | 759 TreeNode<K,V> hd = null, tl = null; in treeifyBin() local 762 if (tl == null) in treeifyBin() 765 p.prev = tl; in treeifyBin() 766 tl.next = p; in treeifyBin() 768 tl = p; in treeifyBin() 1956 Node<K,V> hd = null, tl = null; in untreeify() local 1959 if (tl == null) in untreeify() 1962 tl.next = p; in untreeify() 1963 tl = p; in untreeify() 2369 TreeNode<K,V> tp = t.parent, tl = t.left, tr = t.right, in checkInvariants() local [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 181 Locale tl = new Locale("tl"); in test_tl_and_fil() local 183 assertEquals("Tagalog", tl.getDisplayLanguage(Locale.ENGLISH)); in test_tl_and_fil() 185 assertEquals("Tagalog", tl.getDisplayLanguage(tl)); in test_tl_and_fil() 189 assertEquals("tagalo", tl.getDisplayLanguage(es_MX)); in test_tl_and_fil()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 1515 TreeNode<K,V> hd = null, tl = null; in readObject() local 1519 if ((t.prev = tl) == null) in readObject() 1522 tl.next = t; in readObject() 1523 tl = t; in readObject() 2681 TreeNode<K,V> hd = null, tl = null; in treeifyBin() local 2686 if ((p.prev = tl) == null) in treeifyBin() 2689 tl.next = p; in treeifyBin() 2690 tl = p; in treeifyBin() 2703 Node<K,V> hd = null, tl = null; in untreeify() local 2706 if (tl == null) in untreeify() [all …]
|