Home
last modified time | relevance | path

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

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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()
/external/jsilver/src/com/google/clearsilver/jsilver/output/
DThreadLocalOutputBufferProvider.java24 private final ThreadLocal<StringBuilder> pool;
25 private final ThreadLocal<Boolean> available;
28 pool = new ThreadLocal<StringBuilder>() { in ThreadLocalOutputBufferProvider()
33 available = new ThreadLocal<Boolean>() { in ThreadLocalOutputBufferProvider()
/external/easymock/src/org/easymock/internal/
DLastControl.java29 … private static final ThreadLocal<MocksControl> threadToControl = new ThreadLocal<MocksControl>();
31 …private static final ThreadLocal<Stack<Invocation>> threadToCurrentInvocation = new ThreadLocal<St…
33 …private static final ThreadLocal<Stack<IArgumentMatcher>> threadToArgumentMatcherStack = new Threa…
/external/v8/src/
Dregexp-stack.h87 return static_cast<int>(sizeof(ThreadLocal)); in ArchiveSpacePerThread()
107 struct ThreadLocal { struct
108 ThreadLocal() { Clear(); } in ThreadLocal() argument
136 ThreadLocal thread_local_; argument
Dregexp-stack.cc62 thread_local_ = ThreadLocal(); in ArchiveStack()
77 thread_local_ = ThreadLocal(); in Reset()
82 void RegExpStack::ThreadLocal::Free() { in Free()
Dexecution.h180 static int ArchiveSpacePerThread() { return sizeof(ThreadLocal); } in ArchiveSpacePerThread()
266 class ThreadLocal {
268 ThreadLocal() { Clear(); } in ThreadLocal() function
298 ThreadLocal thread_local_;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DBouncyCastleProviderConfiguration.java25 private ThreadLocal ecThreadSpec = new ThreadLocal();
26 private ThreadLocal dhThreadSpec = new ThreadLocal();
/external/llvm/lib/Support/Windows/
DThreadLocal.inc1 //= llvm/Support/Win32/ThreadLocal.inc - Win32 Thread Local Data -*- C++ -*-===//
10 // This file implements the Win32 specific (non-pthread) ThreadLocal class.
20 #include "llvm/Support/ThreadLocal.h"
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
DAudioContext.java42 private static ThreadLocal<AudioRenderer> audioRenderer = new ThreadLocal<AudioRenderer>();
/external/guava/guava/src/com/google/common/base/
DPlatform.java45 private static final ThreadLocal<char[]> DEST_TL = new ThreadLocal<char[]>() {
/external/chromium/testing/gtest/test/
Dgtest-port_test.cc918 ThreadLocal<int> t1; in TEST()
921 ThreadLocal<void*> t2; in TEST()
926 ThreadLocal<int> t1(123); in TEST()
930 ThreadLocal<int*> t2(&i); in TEST()
941 ThreadLocal<NoDefaultContructor> bar(NoDefaultContructor("foo")); in TEST()
946 ThreadLocal<String> thread_local; in TEST()
956 ThreadLocal<String> thread_local; in TEST()
957 const ThreadLocal<String>& const_thread_local = thread_local; in TEST()
1066 void RetrieveThreadLocalValue(pair<ThreadLocal<String>*, String*> param) { in RetrieveThreadLocalValue()
1071 ThreadLocal<String> thread_local("foo"); in TEST()
[all …]
/external/gtest/test/
Dgtest-port_test.cc938 ThreadLocal<int> t1; in TEST()
941 ThreadLocal<void*> t2; in TEST()
946 ThreadLocal<int> t1(123); in TEST()
950 ThreadLocal<int*> t2(&i); in TEST()
961 ThreadLocal<NoDefaultContructor> bar(NoDefaultContructor("foo")); in TEST()
966 ThreadLocal<String> thread_local; in TEST()
976 ThreadLocal<String> thread_local; in TEST()
977 const ThreadLocal<String>& const_thread_local = thread_local; in TEST()
1086 void RetrieveThreadLocalValue(pair<ThreadLocal<String>*, String*> param) { in RetrieveThreadLocalValue()
1091 ThreadLocal<String> thread_local("foo"); in TEST()
[all …]
/external/llvm/include/llvm/Support/
DThreadLocal.h46 class ThreadLocal : public ThreadLocalImpl {
48 ThreadLocal() : ThreadLocalImpl() { } in ThreadLocal() function
/external/okhttp/src/main/java/libcore/net/http/
DHttpDate.java35 private static final ThreadLocal<DateFormat> STANDARD_DATE_FORMAT
36 = new ThreadLocal<DateFormat>() {
/external/guava/guava/src/com/google/common/eventbus/
DEventBus.java137 private final ThreadLocal<ConcurrentLinkedQueue<EventWithHandler>>
139 new ThreadLocal<ConcurrentLinkedQueue<EventWithHandler>>() {
146 private final ThreadLocal<Boolean> isDispatching =
147 new ThreadLocal<Boolean>() {
/external/llvm/lib/Support/Unix/
DThreadLocal.inc1 //=== llvm/Support/Unix/ThreadLocal.inc - Unix Thread Local Data -*- C++ -*-===//
10 // This file implements the Unix specific (non-pthread) ThreadLocal class.
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DImplHandler.java54 private final ThreadLocal<AssetKey> parentAssetKey
55 = new ThreadLocal<AssetKey>();
67 protected class ImplThreadLocal extends ThreadLocal {
/external/llvm/lib/Support/
DCMakeLists.txt85 ThreadLocal.cpp
99 Unix/ThreadLocal.inc
112 Windows/ThreadLocal.inc
DCrashRecoveryContext.cpp24 static sys::ThreadLocal<const CrashRecoveryContextImpl> CurrentContext;
61 static sys::ThreadLocal<const CrashRecoveryContextCleanup>
175 static sys::ThreadLocal<const void> sCurrentExceptionHandle;
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java51 final ThreadLocal<Integer> threadLocalCount = new ThreadLocal<Integer>() { in testSameThreadExecutorServiceInThreadExecution()
97 final ThreadLocal<Integer> threadLocalCount = new ThreadLocal<Integer>() { in testSameThreadExecutorInvokeAll()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLReaderManager.java54 private ThreadLocal m_readers;
87 m_readers = new ThreadLocal(); in getXMLReader()
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1332 class ThreadLocal {
1334 ThreadLocal() : key_(CreateKey()),
1336 explicit ThreadLocal(const T& value) : key_(CreateKey()),
1339 ~ThreadLocal() {
1392 GTEST_DISALLOW_COPY_AND_ASSIGN_(ThreadLocal);
1423 class ThreadLocal {
1425 ThreadLocal() : value_() {}
1426 explicit ThreadLocal(const T& value) : value_(value) {}
/external/gtest/include/gtest/internal/
Dgtest-port.h1345 class ThreadLocal {
1347 ThreadLocal() : key_(CreateKey()),
1349 explicit ThreadLocal(const T& value) : key_(CreateKey()),
1352 ~ThreadLocal() {
1405 GTEST_DISALLOW_COPY_AND_ASSIGN_(ThreadLocal);
1436 class ThreadLocal {
1438 ThreadLocal() : value_() {}
1439 explicit ThreadLocal(const T& value) : value_(value) {}
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-port.h1311 class ThreadLocal {
1313 ThreadLocal() : key_(CreateKey()),
1315 explicit ThreadLocal(const T& value) : key_(CreateKey()),
1318 ~ThreadLocal() {
1371 GTEST_DISALLOW_COPY_AND_ASSIGN_(ThreadLocal);
1402 class ThreadLocal {
1404 ThreadLocal() : value_() {}
1405 explicit ThreadLocal(const T& value) : value_(value) {}
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTempVars.java72 private static final ThreadLocal<TempVarsStack> varsLocal = new ThreadLocal<TempVarsStack>() {

12