Home
last modified time | relevance | path

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

12

/libcore/ojluni/annotations/hiddenapi/java/lang/
DThreadLocal.java31 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/
DThreadLocalTest.java29 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/
DThreadLocal.java76 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 …]
DInheritableThreadLocal.java53 public class InheritableThreadLocal<T> extends ThreadLocal<T> {
DThread.java201 ThreadLocal.ThreadLocalMap threadLocals = null;
207 ThreadLocal.ThreadLocalMap inheritableThreadLocals = null;
726 ThreadLocal.createInheritedMap(parent.inheritableThreadLocals); in init2()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThreadLocal.annotated.java34 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/
DTerminatingThreadLocal.java36 public class TerminatingThreadLocal<T> extends ThreadLocal<T> {
98 public static final ThreadLocal<Collection<TerminatingThreadLocal<?>>> REGISTRY =
99 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.java36 private static final ThreadLocal<DateFormat> STANDARD_DATE_FORMAT
37 = new ThreadLocal<DateFormat>() {
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalTest.java25 static ThreadLocal<Integer> tl = new ThreadLocal<Integer>() {
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadLocalTest.java49 static ThreadLocal<Integer> tl = new ThreadLocal<Integer>() {
/libcore/ojluni/src/main/java/sun/nio/fs/
DNativeBuffers.java40 private static ThreadLocal<NativeBuffer[]> threadLocal =
41 new ThreadLocal<NativeBuffer[]>();
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOVecWrapper.java82 private static final ThreadLocal<IOVecWrapper> cached =
83 new ThreadLocal<IOVecWrapper>();
DInvoker.java71 private static final ThreadLocal<GroupAndInvokeCount> myGroupAndInvokeCount =
72 new ThreadLocal<GroupAndInvokeCount>() {
DUtil.java49 private static ThreadLocal<BufferCache> bufferCache =
50 new ThreadLocal<BufferCache>()
/libcore/ojluni/src/main/java/sun/nio/cs/
DThreadLocalCoders.java43 private ThreadLocal<Object[]> cache = new ThreadLocal<>();
/libcore/dalvik/src/main/java/dalvik/system/
DBlockGuard.java221 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java402 private static ThreadLocal<ThreadLocal<?>> gate =
403 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.java140 private static final ThreadLocal<Transliterator> EL_UPPER = new ThreadLocal<Transliterator>() {
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharset.java173 private static java.lang.ThreadLocal<java.lang.ThreadLocal<?>> gate;
/libcore/ojluni/annotations/hiddenapi/sun/nio/cs/
DThreadLocalCoders.java69 private java.lang.ThreadLocal<java.lang.Object[]> cache;
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java87 private static final ThreadLocal<Integer> threadIds = new ThreadLocal<>();
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFormattedFloatingDecimal.java90 private static final java.lang.ThreadLocal<java.lang.Object> threadLocalCharBuffer;
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DProviders.java139 private static final java.lang.ThreadLocal<sun.security.jca.ProviderList> threadLists;

12