/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ThreadLocal.java | 31 public class ThreadLocal<T> { class 33 public ThreadLocal() { in ThreadLocal() method in ThreadLocal 45 public static <S> java.lang.ThreadLocal<S> withInitial( in withInitial() 67 java.lang.ThreadLocal.ThreadLocalMap getMap(java.lang.Thread t) { in getMap() 75 static java.lang.ThreadLocal.ThreadLocalMap createInheritedMap( in createInheritedMap() 76 java.lang.ThreadLocal.ThreadLocalMap parentMap) { in createInheritedMap() 95 static final class SuppliedThreadLocal<T> extends java.lang.ThreadLocal<T> { 115 ThreadLocalMap(java.lang.ThreadLocal<?> firstKey, java.lang.Object firstValue) { in ThreadLocalMap() 119 private ThreadLocalMap(java.lang.ThreadLocal.ThreadLocalMap parentMap) { in ThreadLocalMap() 135 private java.lang.ThreadLocal.ThreadLocalMap.Entry getEntry(java.lang.ThreadLocal<?> key) { in getEntry() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadLocalTest.java | 29 new ThreadLocal<Object>(); in test_Constructor() 36 ThreadLocal<String> tl = new ThreadLocal<String>() { in test_remove() 55 ThreadLocal<Object> l = new ThreadLocal<Object>(); in test_get() 61 final ThreadLocal<Object> l1 = new ThreadLocal<Object>() { in test_get() 101 ThreadLocal<Object> thrVar = new ThreadLocal<Object>() { in test_get() 117 final ThreadLocal<Object> l = new ThreadLocal<Object>(); in test_setLjava_lang_Object() 160 final ThreadLocal<String> l1 = ThreadLocal.withInitial(() -> INITIAL_VALUE); in test_withInitial()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadLocal.java | 76 public class ThreadLocal<T> { class 142 public static <S> ThreadLocal<S> withInitial(Supplier<? extends S> supplier) { in withInitial() 150 public ThreadLocal() { in ThreadLocal() method in ThreadLocal 295 static final class SuppliedThreadLocal<T> extends ThreadLocal<T> { 329 static class Entry extends WeakReference<ThreadLocal<?>> { 333 Entry(ThreadLocal<?> k, Object v) { in Entry() 386 ThreadLocalMap(ThreadLocal<?> firstKey, Object firstValue) { in ThreadLocalMap() 409 ThreadLocal<Object> key = (ThreadLocal<Object>) e.get(); in ThreadLocalMap() 433 private Entry getEntry(ThreadLocal<?> key) { in getEntry() 452 private Entry getEntryAfterMiss(ThreadLocal<?> key, int i, Entry e) { in getEntryAfterMiss() [all …]
|
D | InheritableThreadLocal.java | 53 public class InheritableThreadLocal<T> extends ThreadLocal<T> {
|
D | Thread.java | 201 ThreadLocal.ThreadLocalMap threadLocals = null; 207 ThreadLocal.ThreadLocalMap inheritableThreadLocals = null; 726 ThreadLocal.createInheritedMap(parent.inheritableThreadLocals); in init2()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | ThreadLocal.annotated.java | 34 public class ThreadLocal<T> { class 36 public ThreadLocal() { throw new RuntimeException("Stub!"); } in ThreadLocal() method in ThreadLocal 40 @libcore.util.NonNull public static <S> java.lang.ThreadLocal<S> withInitial(@libcore.util.NonNull … in withInitial()
|
/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | TerminatingThreadLocal.java | 36 public class TerminatingThreadLocal<T> extends ThreadLocal<T> { 98 public static final ThreadLocal<Collection<TerminatingThreadLocal<?>>> REGISTRY = 99 new ThreadLocal<>() {
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ThreadLocalBenchmark.java | 20 private static final ThreadLocal<char[]> BUFFER = new ThreadLocal<char[]>() {
|
/libcore/luni/src/main/java/libcore/net/http/ |
D | HttpDate.java | 36 private static final ThreadLocal<DateFormat> STANDARD_DATE_FORMAT 37 = new ThreadLocal<DateFormat>() {
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalTest.java | 25 static ThreadLocal<Integer> tl = new ThreadLocal<Integer>() {
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ThreadLocalTest.java | 49 static ThreadLocal<Integer> tl = new ThreadLocal<Integer>() {
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | NativeBuffers.java | 40 private static ThreadLocal<NativeBuffer[]> threadLocal = 41 new ThreadLocal<NativeBuffer[]>();
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | IOVecWrapper.java | 82 private static final ThreadLocal<IOVecWrapper> cached = 83 new ThreadLocal<IOVecWrapper>();
|
D | Invoker.java | 71 private static final ThreadLocal<GroupAndInvokeCount> myGroupAndInvokeCount = 72 new ThreadLocal<GroupAndInvokeCount>() {
|
D | Util.java | 49 private static ThreadLocal<BufferCache> bufferCache = 50 new ThreadLocal<BufferCache>()
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | ThreadLocalCoders.java | 43 private ThreadLocal<Object[]> cache = new ThreadLocal<>();
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | BlockGuard.java | 221 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset.java | 402 private static ThreadLocal<ThreadLocal<?>> gate = 403 new ThreadLocal<ThreadLocal<?>>();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldInheritableThreadLocalTest.java | 28 final ThreadLocal<Object> threadLocal in test_Ljava_lang_InheritableThreadLocal()
|
/libcore/libart/src/main/java/java/lang/ |
D | CaseMapper.java | 140 private static final ThreadLocal<Transliterator> EL_UPPER = new ThreadLocal<Transliterator>() {
|
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/ |
D | Charset.java | 173 private static java.lang.ThreadLocal<java.lang.ThreadLocal<?>> gate;
|
/libcore/ojluni/annotations/hiddenapi/sun/nio/cs/ |
D | ThreadLocalCoders.java | 69 private java.lang.ThreadLocal<java.lang.Object[]> cache;
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogRecord.java | 87 private static final ThreadLocal<Integer> threadIds = new ThreadLocal<>();
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FormattedFloatingDecimal.java | 90 private static final java.lang.ThreadLocal<java.lang.Object> threadLocalCharBuffer;
|
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/ |
D | Providers.java | 139 private static final java.lang.ThreadLocal<sun.security.jca.ProviderList> threadLists;
|