/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
ThreadLocalOutputBufferProvider.java | 24 private final ThreadLocal<StringBuilder> pool; 25 private final ThreadLocal<Boolean> available; 28 pool = new ThreadLocal<StringBuilder>() { 33 available = new ThreadLocal<Boolean>() {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThreadLocalTest.java | 25 * @tests java.lang.ThreadLocal#ThreadLocal() 28 new ThreadLocal<Object>(); 32 * @tests java.lang.ThreadLocal#remove() 35 ThreadLocal<String> tl = new ThreadLocal<String>() { 50 * @tests java.lang.ThreadLocal#get() 53 // Test for method java.lang.Object java.lang.ThreadLocal.get() 54 ThreadLocal<Object> l = new ThreadLocal<Object>() [all...] |
/external/llvm/include/llvm/Support/ |
ThreadLocal.h | 1 //===- llvm/Support/ThreadLocal.h - Thread Local Data ------------*- C++ -*-===// 10 // This file declares the llvm::sys::ThreadLocal class. 22 // ThreadLocalImpl - Common base class of all ThreadLocal instantiations. 34 /// ThreadLocal - A class used to abstract thread-local storage. It holds, 37 class ThreadLocal : public ThreadLocalImpl { 39 ThreadLocal() : ThreadLocalImpl() { }
|
/external/guava/src/com/google/common/base/ |
Platform.java | 47 * put it back in the threadlocal, we just keep going and grow as needed. 49 private static final ThreadLocal<char[]> DEST_TL = new ThreadLocal<char[]>() {
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
Handler_Delegate.java | 50 private final static ThreadLocal<IHandlerCallback> sCallbacks = 51 new ThreadLocal<IHandlerCallback>();
|
/external/javassist/src/main/javassist/runtime/ |
Cflow.java | 25 public class Cflow extends ThreadLocal {
|
/external/v8/src/ |
regexp-stack.h | 87 return static_cast<int>(sizeof(ThreadLocal)); 106 struct ThreadLocal { 107 ThreadLocal() { Clear(); } 135 ThreadLocal thread_local_;
|
regexp-stack.cc | 62 thread_local_ = ThreadLocal(); 77 thread_local_ = ThreadLocal(); 82 void RegExpStack::ThreadLocal::Free() {
|
execution.h | 164 static int ArchiveSpacePerThread() { return sizeof(ThreadLocal); } 247 class ThreadLocal { 249 ThreadLocal() { Clear(); } 279 ThreadLocal thread_local_;
|
/libcore/luni/src/main/java/java/lang/ |
InheritableThreadLocal.java | 30 * @see java.lang.ThreadLocal 32 public class InheritableThreadLocal<T> extends ThreadLocal<T> {
|
ThreadLocal.java | 25 * has its own value. All threads share the same {@code ThreadLocal} object, 33 public class ThreadLocal<T> { 40 public ThreadLocal() {} 125 private final Reference<ThreadLocal<T>> reference 126 = new WeakReference<ThreadLocal<T>>(this); 142 * Per-thread map of ThreadLocal instances to values. 157 * Map entries. Contains alternating keys (ThreadLocal) and values. 279 Reference<ThreadLocal<?>> reference 280 = (Reference<ThreadLocal<?>>) k; 345 Reference<ThreadLocal<?>> referenc [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
HttpDate.java | 35 private static final ThreadLocal<DateFormat> STANDARD_DATE_FORMAT 36 = new ThreadLocal<DateFormat>() {
|
/external/easymock/src/org/easymock/internal/ |
LastControl.java | 29 private static final ThreadLocal<MocksControl> threadToControl = new ThreadLocal<MocksControl>();
31 private static final ThreadLocal<Stack<Invocation>> threadToCurrentInvocation = new ThreadLocal<Stack<Invocation>>();
33 private static final ThreadLocal<Stack<IArgumentMatcher>> threadToArgumentMatcherStack = new ThreadLocal<Stack<IArgumentMatcher>>();
|
/libcore/dalvik/src/main/java/dalvik/system/ |
BlockGuard.java | 127 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldInheritableThreadLocalTest.java | 28 final ThreadLocal<Object> threadLocal 36 threadLocal.set(value); 40 holder[0] = threadLocal.get(); 45 assertSame(value, threadLocal.get()); 49 threadLocal.remove();
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XMLReaderManager.java | 54 private ThreadLocal m_readers; 87 m_readers = new ThreadLocal();
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
ProviderUtil.java | 22 private static ThreadLocal threadSpec = new ThreadLocal();
|
/external/llvm/include/llvm/ |
GlobalVariable.h | 55 bool ThreadLocal = false, unsigned AddressSpace = 0); 61 GlobalVariable *InsertBefore = 0, bool ThreadLocal = false,
|
/external/llvm/lib/Support/ |
CMakeLists.txt | 77 ThreadLocal.cpp 91 Unix/ThreadLocal.inc 104 Windows/ThreadLocal.inc
|
ThreadLocal.cpp | 1 //===- ThreadLocal.cpp - Thread Local Data ----------------------*- C++ -*-===// 10 // This file implements the llvm::sys::ThreadLocal class. 15 #include "llvm/Support/ThreadLocal.h" 78 #include "Unix/ThreadLocal.inc" 80 #include "Windows/ThreadLocal.inc" 82 #warning Neither LLVM_ON_UNIX nor LLVM_ON_WIN32 set in Support/ThreadLocal.cpp
|
/frameworks/base/core/java/android/animation/ |
ValueAnimator.java | 86 // TODO: We access the following ThreadLocal variables often, some of them on every update. 87 // If ThreadLocal access is significantly expensive, we may want to put all of these 88 // fields into a structure sot hat we just access ThreadLocal once to get the reference 93 private static ThreadLocal<AnimationHandler> sAnimationHandler = 94 new ThreadLocal<AnimationHandler>(); 97 private static final ThreadLocal<ArrayList<ValueAnimator>> sAnimations = 98 new ThreadLocal<ArrayList<ValueAnimator>>() { 106 private static final ThreadLocal<ArrayList<ValueAnimator>> sPendingAnimations = 107 new ThreadLocal<ArrayList<ValueAnimator>>() { 118 private static final ThreadLocal<ArrayList<ValueAnimator>> sDelayedAnims [all...] |
/frameworks/base/core/java/com/android/server/ |
NetworkManagementSocketTagger.java | 48 private static ThreadLocal<SocketTags> threadSocketTags = new ThreadLocal<SocketTags>() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BasicTexture.java | 51 private static ThreadLocal sInFinalizer = new ThreadLocal();
|
/external/llvm/lib/VMCore/ |
Globals.cpp | 85 bool ThreadLocal, unsigned AddressSpace) 90 isConstantGlobal(constant), isThreadLocalSymbol(ThreadLocal) { 103 GlobalVariable *Before, bool ThreadLocal, 109 isConstantGlobal(constant), isThreadLocalSymbol(ThreadLocal) {
|
/external/chromium/testing/gtest/test/ |
gtest-port_test.cc | 918 ThreadLocal<int> t1; 921 ThreadLocal<void*> t2; 926 ThreadLocal<int> t1(123); 930 ThreadLocal<int*> t2(&i); 941 ThreadLocal<NoDefaultContructor> bar(NoDefaultContructor("foo")); 946 ThreadLocal<String> thread_local; 956 ThreadLocal<String> thread_local; 957 const ThreadLocal<String>& const_thread_local = thread_local; [all...] |