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

12

/external/jsilver/src/com/google/clearsilver/jsilver/output/
H A DThreadLocalOutputBufferProvider.java24 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/
H A DThreadLocalTest.java25 * @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<Objec
[all...]
/external/guava/src/com/google/common/base/
H A DPlatform.java49 private static final ThreadLocal<char[]> DEST_TL = new ThreadLocal<char[]>() {
/external/llvm/include/llvm/Support/
H A DThreadLocal.h1 //===- 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 { class in namespace:llvm::sys
39 ThreadLocal() : ThreadLocalImpl() { } function in class:llvm::sys::ThreadLocal
/external/javassist/src/main/javassist/runtime/
H A DCflow.java25 public class Cflow extends ThreadLocal {
/external/v8/src/
H A Dregexp-stack.h87 return static_cast<int>(sizeof(ThreadLocal));
106 struct ThreadLocal { struct in class:v8::internal::RegExpStack
107 ThreadLocal() { Clear(); } function in struct:v8::internal::RegExpStack::ThreadLocal
135 ThreadLocal thread_local_;
H A Dregexp-stack.cc62 thread_local_ = ThreadLocal();
77 thread_local_ = ThreadLocal();
82 void RegExpStack::ThreadLocal::Free() {
H A Dexecution.h164 static int ArchiveSpacePerThread() { return sizeof(ThreadLocal); }
247 class ThreadLocal { class in class:v8::internal::StackGuard
249 ThreadLocal() { Clear(); } function in class:v8::internal::StackGuard::ThreadLocal
279 ThreadLocal thread_local_;
H A Dexecution.cc391 memcpy(to, reinterpret_cast<char*>(&thread_local_), sizeof(ThreadLocal));
392 ThreadLocal blank;
395 // TODO(isolates): This was the old semantics of constructing a ThreadLocal
402 return to + sizeof(ThreadLocal);
408 memcpy(reinterpret_cast<char*>(&thread_local_), from, sizeof(ThreadLocal));
410 return from + sizeof(ThreadLocal);
420 void StackGuard::ThreadLocal::Clear() {
431 bool StackGuard::ThreadLocal::Initialize() {
/external/easymock/src/org/easymock/internal/
H A DLastControl.java29 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>>();
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXMLReaderManager.java54 private ThreadLocal m_readers;
87 m_readers = new ThreadLocal();
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
H A DProviderUtil.java22 private static ThreadLocal threadSpec = new ThreadLocal();
/external/llvm/include/llvm/
H A DGlobalVariable.h55 bool ThreadLocal = false, unsigned AddressSpace = 0);
61 GlobalVariable *InsertBefore = 0, bool ThreadLocal = false,
/external/llvm/lib/Support/
H A DCMakeLists.txt77 ThreadLocal.cpp
91 Unix/ThreadLocal.inc
104 Windows/ThreadLocal.inc
H A DThreadLocal.cpp1 //===- 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
H A DPrettyStackTrace.cpp19 #include "llvm/Support/ThreadLocal.h"
33 static sys::ThreadLocal<const PrettyStackTraceEntry> PrettyStackTraceHead;
H A DCrashRecoveryContext.cpp14 #include "llvm/Support/ThreadLocal.h"
24 static sys::ThreadLocal<const CrashRecoveryContextImpl> CurrentContext;
61 static sys::ThreadLocal<const CrashRecoveryContextCleanup>
176 static sys::ThreadLocal<const void> sCurrentExceptionHandle;
H A DAndroid.mk56 ThreadLocal.cpp \
/external/llvm/lib/VMCore/
H A DGlobals.cpp85 bool ThreadLocal, unsigned AddressSpace)
90 isConstantGlobal(constant), isThreadLocalSymbol(ThreadLocal) {
103 GlobalVariable *Before, bool ThreadLocal,
109 isConstantGlobal(constant), isThreadLocalSymbol(ThreadLocal) {
83 GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, bool ThreadLocal, unsigned AddressSpace) argument
100 GlobalVariable(Module &M, Type *Ty, bool constant, LinkageTypes Link, Constant *InitVal, const Twine &Name, GlobalVariable *Before, bool ThreadLocal, unsigned AddressSpace) argument
/external/chromium/testing/gtest/test/
H A Dgtest-port_test.cc918 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;
1066 void RetrieveThreadLocalValue(pair<ThreadLocal<String>*, String*> param) {
1071 ThreadLocal<Strin
[all...]
/external/apache-http/src/org/apache/http/impl/cookie/
H A DDateUtils.java217 private static final ThreadLocal<SoftReference<Map<String, SimpleDateFormat>>>
218 THREADLOCAL_FORMATS = new ThreadLocal<SoftReference<Map<String, SimpleDateFormat>>>() {
/external/gtest/include/gtest/internal/
H A Dgtest-port.h106 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
660 class ThreadLocal { class in namespace:testing::internal
662 ThreadLocal() : value_() {} function in class:testing::internal::ThreadLocal
663 explicit ThreadLocal(const T& value) : value_(value) {} function in class:testing::internal::ThreadLocal
/external/chromium/testing/gtest/include/gtest/internal/
H A Dgtest-port.h134 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1264 // Helpers for ThreadLocal.
1268 // ThreadLocal<T>. Hence the need for class
1284 // ThreadLocal<int> tl(100); // 100 is the default value for each thread.
1296 // In addition, the default ThreadLocal constructor requires T to have
1299 // An object managed for a thread by a ThreadLocal instance is deleted
1300 // when the thread exits. Or, if the ThreadLocal instance dies in
1301 // that thread, when the ThreadLocal dies. It's the user's
1302 // responsibility to ensure that all other threads using a ThreadLocal
1306 // Google Test only uses global ThreadLocal object
1311 class ThreadLocal { class in namespace:testing::internal
1313 ThreadLocal() : key_(CreateKey()), function in class:testing::internal::ThreadLocal
1315 explicit ThreadLocal(const T& value) : key_(CreateKey()), function in class:testing::internal::ThreadLocal
1402 class ThreadLocal { class in namespace:testing::internal
1404 ThreadLocal() : value_() {} function in class:testing::internal::ThreadLocal
1405 explicit ThreadLocal(const T& value) : value_(value) {} function in class:testing::internal::ThreadLocal
[all...]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h136 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
1285 // Helpers for ThreadLocal.
1289 // ThreadLocal<T>. Hence the need for class
1305 // ThreadLocal<int> tl(100); // 100 is the default value for each thread.
1317 // In addition, the default ThreadLocal constructor requires T to have
1320 // An object managed for a thread by a ThreadLocal instance is deleted
1321 // when the thread exits. Or, if the ThreadLocal instance dies in
1322 // that thread, when the ThreadLocal dies. It's the user's
1323 // responsibility to ensure that all other threads using a ThreadLocal
1327 // Google Test only uses global ThreadLocal object
1332 class ThreadLocal { class in namespace:testing::internal
1334 ThreadLocal() : key_(CreateKey()), function in class:testing::internal::ThreadLocal
1336 explicit ThreadLocal(const T& value) : key_(CreateKey()), function in class:testing::internal::ThreadLocal
1423 class ThreadLocal { class in namespace:testing::internal
1425 ThreadLocal() : value_() {} function in class:testing::internal::ThreadLocal
1426 explicit ThreadLocal(const T& value) : value_(value) {} function in class:testing::internal::ThreadLocal
[all...]
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h115 // Mutex, MutexLock, ThreadLocal, GetThreadCount()
767 class ThreadLocal { class in namespace:testing::internal
769 ThreadLocal() : value_() {} function in class:testing::internal::ThreadLocal
770 explicit ThreadLocal(const T& value) : value_(value) {} function in class:testing::internal::ThreadLocal

Completed in 1645 milliseconds

12