Home
last modified time | relevance | path

Searched refs:ThreadLocal (Results 1 – 23 of 23) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadLocalTest.java28 new ThreadLocal<Object>(); in test_Constructor()
35 ThreadLocal<String> tl = new ThreadLocal<String>() { in test_remove()
54 ThreadLocal<Object> l = new ThreadLocal<Object>(); in test_get()
60 final ThreadLocal<Object> l1 = new ThreadLocal<Object>() { in test_get()
100 ThreadLocal<Object> thrVar = new ThreadLocal<Object>() { in test_get()
116 final ThreadLocal<Object> l = new ThreadLocal<Object>(); in test_setLjava_lang_Object()
/libcore/ojluni/src/main/java/java/lang/
DThreadLocal.java72 public class ThreadLocal<T> { class
131 public ThreadLocal() { in ThreadLocal() method in ThreadLocal
271 static class Entry extends WeakReference<ThreadLocal> {
275 Entry(ThreadLocal k, Object v) { in Entry()
328 ThreadLocalMap(ThreadLocal firstKey, Object firstValue) { in ThreadLocalMap()
351 ThreadLocal key = e.get(); in ThreadLocalMap()
375 private Entry getEntry(ThreadLocal key) { in getEntry()
393 private Entry getEntryAfterMiss(ThreadLocal key, int i, Entry e) { in getEntryAfterMiss()
398 ThreadLocal k = e.get(); in getEntryAfterMiss()
416 private void set(ThreadLocal key, Object value) { in set()
[all …]
DInheritableThreadLocal.java48 public class InheritableThreadLocal<T> extends ThreadLocal<T> {
DStringCoding.java56 private final static ThreadLocal<SoftReference<StringDecoder>> decoder =
57 new ThreadLocal<>();
58 private final static ThreadLocal<SoftReference<StringEncoder>> encoder =
59 new ThreadLocal<>();
63 private static <T> T deref(ThreadLocal<SoftReference<T>> tl) { in deref()
70 private static <T> void set(ThreadLocal<SoftReference<T>> tl, T ob) { in set()
DThread.java190 ThreadLocal.ThreadLocalMap threadLocals = null;
196 ThreadLocal.ThreadLocalMap inheritableThreadLocals = null;
546 this.inheritableThreadLocals = ThreadLocal.createInheritedMap( in init2()
DFloatingDecimal.java395 …private static final ThreadLocal<FloatingDecimal> TL_INSTANCE = new ThreadLocal<FloatingDecimal>()…
994 private static ThreadLocal perThreadBuffer = new ThreadLocal() {
/libcore/benchmarks/src/benchmarks/regression/
DThreadLocalBenchmark.java20 private static final ThreadLocal<char[]> BUFFER = new ThreadLocal<char[]>() {
/libcore/luni/src/main/java/libcore/net/http/
DHttpDate.java35 private static final ThreadLocal<DateFormat> STANDARD_DATE_FORMAT
36 = new ThreadLocal<DateFormat>() {
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java52 private static ThreadLocal<BufferCache> bufferCache =
53 new ThreadLocal<BufferCache>()
248 private static ThreadLocal<SoftReference<SelectorWrapper>> localSelector
249 = new ThreadLocal<SoftReference<SelectorWrapper>>();
252 private static ThreadLocal<SelectorWrapper> localSelectorWrapper
253 = new ThreadLocal<SelectorWrapper>();
DIOVecWrapper.java82 private static final ThreadLocal<IOVecWrapper> cached =
83 new ThreadLocal<IOVecWrapper>();
/libcore/dalvik/src/main/java/dalvik/system/
DBlockGuard.java126 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalTest.java25 static ThreadLocal<Integer> tl = new ThreadLocal<Integer>() {
/libcore/ojluni/src/main/java/sun/nio/cs/
DThreadLocalCoders.java44 private ThreadLocal cache = new ThreadLocal();
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java411 private static ThreadLocal<ThreadLocal> gate = new ThreadLocal<ThreadLocal>();
/libcore/luni/src/test/java/libcore/java/lang/
DOldInheritableThreadLocalTest.java28 final ThreadLocal<Object> threadLocal in test_Ljava_lang_InheritableThreadLocal()
/libcore/libart/src/main/java/java/lang/
DCaseMapper.java139 private static final ThreadLocal<Transliterator> EL_UPPER = new ThreadLocal<Transliterator>() {
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java87 private static final ThreadLocal<Integer> threadIds = new ThreadLocal<>();
/libcore/ojluni/src/main/java/sun/security/jca/
DProviders.java43 private static final ThreadLocal<ProviderList> threadLists =
/libcore/luni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java1013 private static final ThreadLocal<Double> nextLocalGaussian =
1014 new ThreadLocal<>();
DExchanger.java292 static final class Participant extends ThreadLocal<Node> {
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java260 extends ThreadLocal<HoldCounter> {
/libcore/ojluni/src/main/java/sun/misc/
DFormattedFloatingDecimal.java1144 private static ThreadLocal perThreadBuffer = new ThreadLocal() {
/libcore/
Dopenjdk_java_files.mk226 ojluni/src/main/java/java/lang/ThreadLocal.java \