/external/v8/src/base/platform/ |
D | platform-unittest.cc | 33 class SelfJoinThread FINAL : public Thread { 35 SelfJoinThread() : Thread(Options("SelfJoinThread")) {} in SelfJoinThread() 42 TEST(Thread, SelfJoin) { in TEST() argument 51 class ThreadLocalStorageTest : public Thread, public ::testing::Test { 53 ThreadLocalStorageTest() : Thread(Options("ThreadLocalStorageTest")) { in ThreadLocalStorageTest() 55 keys_[i] = Thread::CreateThreadLocalKey(); in ThreadLocalStorageTest() 60 Thread::DeleteThreadLocalKey(keys_[i]); in ~ThreadLocalStorageTest() 66 CHECK(!Thread::HasThreadLocal(keys_[i])); in Run() 69 Thread::SetThreadLocal(keys_[i], GetValue(i)); in Run() 72 CHECK(Thread::HasThreadLocal(keys_[i])); in Run() [all …]
|
D | platform-posix.cc | 453 class Thread::PlatformData { 461 Thread::Thread(const Options& options) in Thread() function in v8::base::Thread 472 Thread::~Thread() { in ~Thread() 481 STATIC_ASSERT(Thread::kMaxThreadNameLength <= PTHREAD_MAX_NAMELEN_NP); in SetThreadName() 494 STATIC_ASSERT(Thread::kMaxThreadNameLength <= kMaxNameLength); in SetThreadName() 505 Thread* thread = reinterpret_cast<Thread*>(arg); in ThreadEntry() 517 void Thread::set_name(const char* name) { in set_name() 523 void Thread::Start() { in Start() 548 void Thread::Join() { in Join() 553 void Thread::YieldCPU() { in YieldCPU() [all …]
|
/external/lldb/source/Target/ |
D | Thread.cpp | 52 Thread::GetGlobalProperties() in GetGlobalProperties() 98 Thread *thread = exe_ctx->GetThreadPtr(); in GetPropertyAtIndex() 121 … m_collection_sp.reset (new ThreadOptionValueProperties(Thread::GetGlobalProperties().get())); in ThreadProperties() 148 Thread::ThreadEventData::GetFlavorString () in GetFlavorString() 154 Thread::ThreadEventData::ThreadEventData (const lldb::ThreadSP thread_sp) : in ThreadEventData() 160 Thread::ThreadEventData::ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id) : in ThreadEventData() 166 Thread::ThreadEventData::ThreadEventData () : in ThreadEventData() 172 Thread::ThreadEventData::~ThreadEventData () in ~ThreadEventData() 177 Thread::ThreadEventData::Dump (Stream *s) const in Dump() 182 const Thread::ThreadEventData * [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | SynchronizedQueueTest.java | 45 assertTrue(Thread.holdsLock(mutex)); in offer() 51 assertTrue(Thread.holdsLock(mutex)); in poll() 57 assertTrue(Thread.holdsLock(mutex)); in remove() 63 assertTrue(Thread.holdsLock(mutex)); in peek() 69 assertTrue(Thread.holdsLock(mutex)); in element() 76 assertFalse(Thread.holdsLock(mutex)); in iterator() 82 assertTrue(Thread.holdsLock(mutex)); in size() 88 assertTrue(Thread.holdsLock(mutex)); in removeAll() 94 assertTrue(Thread.holdsLock(mutex)); in isEmpty() 100 assertTrue(Thread.holdsLock(mutex)); in contains() [all …]
|
D | SynchronizedSetTest.java | 79 assertTrue(Thread.holdsLock(mutex)); 84 assertTrue(Thread.holdsLock(mutex)); 89 assertTrue(Thread.holdsLock(mutex)); 94 assertTrue(Thread.holdsLock(mutex)); 99 assertTrue(Thread.holdsLock(mutex)); 104 assertTrue(Thread.holdsLock(mutex)); 109 assertTrue(Thread.holdsLock(mutex)); 114 assertTrue(Thread.holdsLock(mutex)); 119 assertTrue(Thread.holdsLock(mutex)); 126 assertTrue(Thread.holdsLock(mutex)); [all …]
|
D | SynchronizedMultimapTest.java | 84 assertTrue(Thread.holdsLock(mutex)); in toString() 89 assertTrue(Thread.holdsLock(mutex)); in equals() 94 assertTrue(Thread.holdsLock(mutex)); in hashCode() 99 assertTrue(Thread.holdsLock(mutex)); in size() 104 assertTrue(Thread.holdsLock(mutex)); in isEmpty() 109 assertTrue(Thread.holdsLock(mutex)); in containsKey() 114 assertTrue(Thread.holdsLock(mutex)); in containsValue() 120 assertTrue(Thread.holdsLock(mutex)); in containsEntry() 125 assertTrue(Thread.holdsLock(mutex)); in get() 131 assertTrue(Thread.holdsLock(mutex)); in put() [all …]
|
D | SynchronizedMapTest.java | 62 assertTrue(Thread.holdsLock(mutex)); in size() 67 assertTrue(Thread.holdsLock(mutex)); in isEmpty() 72 assertTrue(Thread.holdsLock(mutex)); in remove() 77 assertTrue(Thread.holdsLock(mutex)); in clear() 82 assertTrue(Thread.holdsLock(mutex)); in containsKey() 87 assertTrue(Thread.holdsLock(mutex)); in containsValue() 92 assertTrue(Thread.holdsLock(mutex)); in get() 97 assertTrue(Thread.holdsLock(mutex)); in put() 102 assertTrue(Thread.holdsLock(mutex)); in putAll() 107 assertTrue(Thread.holdsLock(mutex)); in keySet() [all …]
|
/external/regex-re2/util/ |
D | thread.cc | 10 Thread::Thread() { in Thread() function in Thread 16 Thread::~Thread() { in ~Thread() 20 Thread* t = (Thread*)v; in startThread() 25 void Thread::Start() { in Start() 33 void Thread::Join() { in Join() 41 void Thread::SetJoinable(bool j) { in SetJoinable()
|
/external/valgrind/helgrind/tests/ |
D | tc20_verifywrap.stderr.exp | 10 Thread #x is the program's root thread 14 Thread #x was created 35 Thread #x's call to pthread_join failed 46 Thread #x's call to pthread_mutex_init failed 53 Thread #x: pthread_mutex_destroy of a locked mutex 59 Thread #x's call to pthread_mutex_destroy failed 66 Thread #x's call to pthread_mutex_lock failed 73 Thread #x's call to pthread_mutex_trylock failed 80 Thread #x's call to pthread_mutex_timedlock failed 87 Thread #x unlocked an invalid lock at 0x........ [all …]
|
D | tc22_exit_w_lock.stderr.exp-kfail-x86 | 2 ---Thread-Announcement------------------------------------------ 4 Thread #x was created 12 Thread #x: Exiting thread still holds 2 locks 15 ---Thread-Announcement------------------------------------------ 17 Thread #x was created 25 Thread #x: Exiting thread still holds 1 lock 28 ---Thread-Announcement------------------------------------------ 30 Thread #x is the program's root thread 34 Thread #x: Exiting thread still holds 1 lock
|
D | tc09_bad_unlock.stderr.exp | 4 Thread #x is the program's root thread 8 Thread #x unlocked a not-locked lock at 0x........ 22 Thread #x was created 30 Thread #x unlocked lock at 0x........ currently held by thread #x 45 Thread #x unlocked an invalid lock at 0x........ 52 Thread #x's call to pthread_mutex_unlock failed 61 Thread #x unlocked a not-locked lock at 0x........ 75 Thread #x: Attempt to re-lock a non-recursive lock I already hold 86 Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support r… 93 Thread #x was created [all …]
|
D | tc20_verifywrap.stderr.exp-s390x | 8 ---Thread-Announcement------------------------------------------ 10 Thread #x is the program's root thread 12 ---Thread-Announcement------------------------------------------ 14 Thread #x was created 37 Thread #x's call to pthread_join failed 48 Thread #x's call to pthread_mutex_init failed 55 Thread #x: pthread_mutex_destroy of a locked mutex 61 Thread #x's call to pthread_mutex_destroy failed 68 Thread #x's call to pthread_mutex_lock failed 75 Thread #x's call to pthread_mutex_trylock failed [all …]
|
D | tc20_verifywrap.stderr.exp-glibc-2.18 | 8 ---Thread-Announcement------------------------------------------ 10 Thread #x is the program's root thread 12 ---Thread-Announcement------------------------------------------ 14 Thread #x was created 35 Thread #x's call to pthread_join failed 46 Thread #x's call to pthread_mutex_init failed 53 Thread #x: pthread_mutex_destroy of a locked mutex 59 Thread #x's call to pthread_mutex_lock failed 66 Thread #x's call to pthread_mutex_trylock failed 73 Thread #x's call to pthread_mutex_timedlock failed [all …]
|
D | tc20_verifywrap.stderr.exp-mips32 | 8 ---Thread-Announcement------------------------------------------ 10 Thread #x is the program's root thread 12 ---Thread-Announcement------------------------------------------ 14 Thread #x was created 37 Thread #x's call to pthread_join failed 48 Thread #x's call to pthread_mutex_init failed 55 Thread #x: pthread_mutex_destroy of a locked mutex 61 Thread #x's call to pthread_mutex_destroy failed 68 Thread #x's call to pthread_mutex_lock failed 75 Thread #x's call to pthread_mutex_trylock failed [all …]
|
D | bar_bad.stderr.exp | 5 Thread #x is the program's root thread 9 Thread #x: pthread_barrier_init: 'count' argument is zero 15 Thread #x's call to pthread_barrier_init failed 24 Thread #x: pthread_barrier_init: barrier is already initialised 32 Thread #x: pthread_barrier_init: barrier is already initialised 38 Thread #x: pthread_barrier_init: threads are waiting at barrier 46 Thread #x: pthread_barrier_destroy: threads are waiting at barrier 52 Thread #x's call to pthread_barrier_destroy failed 61 Thread #x: pthread_barrier_destroy: barrier was never initialised
|
D | tc20_verifywrap.stderr.exp-mips32-b | 8 ---Thread-Announcement------------------------------------------ 10 Thread #x is the program's root thread 12 ---Thread-Announcement------------------------------------------ 14 Thread #x was created 37 Thread #x's call to pthread_join failed 48 Thread #x's call to pthread_mutex_init failed 55 Thread #x: pthread_mutex_destroy of a locked mutex 61 Thread #x's call to pthread_mutex_destroy failed 68 Thread #x's call to pthread_mutex_lock failed 75 Thread #x's call to pthread_mutex_trylock failed [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ThreadFactoryBuilderTest.java | 25 import java.lang.Thread.UncaughtExceptionHandler; 44 @Override public void uncaughtException(Thread t, Throwable e) { 58 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults() 61 Thread defaultThread = in testThreadFactoryBuilder_defaults() 76 Thread thread2 = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults() 84 Thread thread3 = threadFactory2.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults() 92 private static void checkThreadPoolName(Thread thread, int threadId) { in checkThreadPoolName() 116 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_false() 122 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_true() 127 for (int i = Thread.MIN_PRIORITY; i <= Thread.MAX_PRIORITY; i++) { in testPriority_custom() [all …]
|
D | InterruptionUtil.java | 45 private final Thread interruptee; 48 Interruptenator(Thread interruptee, long everyMillis) { in Interruptenator() 57 Thread.sleep(everyMillis); in run() 78 final Thread interruptee = Thread.currentThread(); in requestInterruptIn() 79 new Thread(new Runnable() { in requestInterruptIn() 95 new Interruptenator(Thread.currentThread(), interruptPeriodMillis); in repeatedlyInterruptTestThread() 96 final Thread interruptingThread = new Thread(interruptingTask); in repeatedlyInterruptTestThread() 103 Thread.interrupted(); in repeatedlyInterruptTestThread() 120 Thread thread, long timeout, TimeUnit unit) { in joinUninterruptibly() 138 Thread.currentThread().interrupt(); in joinUninterruptibly()
|
/external/deqp/framework/delibs/decpp/ |
D | deThread.hpp | 43 class Thread class 46 Thread (void); 47 virtual ~Thread (void); 59 Thread (const Thread& other); // Not allowed! 60 Thread& operator= (const Thread& other); // Not allowed! 71 inline bool Thread::isStarted (void) const in isStarted()
|
D | deThread.cpp | 37 Thread::Thread (void) in Thread() function in de::Thread 49 Thread::~Thread (void) in ~Thread() 65 void Thread::setPriority (deThreadPriority priority) in setPriority() 72 static_cast<Thread*>(arg)->run(); in threadFunc() 83 void Thread::start (void) in start() 100 void Thread::join (void) in join()
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_rtl.h | 27 struct Thread { struct 35 Thread *thr; argument 37 Callback(Thread *thr); 58 void ThreadInit(Thread *thr); 59 void ThreadDestroy(Thread *thr); 61 void MutexBeforeLock(Thread *thr, uptr m, bool writelock); 62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock); 63 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock); 64 void MutexDestroy(Thread *thr, uptr m);
|
/external/valgrind/gdbserver_tests/ |
D | hgtls.stdoutB.exp | 3 [New Thread ....] 7 [New Thread ....] 11 [New Thread ....] 15 [New Thread ....] 19 [New Thread ....] 23 [New Thread ....] 27 [New Thread ....] 31 [New Thread ....] 35 [New Thread ....] 39 [New Thread ....] [all …]
|
/external/deqp/framework/common/ |
D | tcuThreadUtil.hpp | 90 class Thread; 95 MessageBuilder (Thread& thread) : m_thread(thread) {} in MessageBuilder() 109 Thread& m_thread; 141 …virtual void exec (Thread& thread) = 0; //!< Overwritten by inherited class to perform act… 142 …virtual void execute (Thread& thread); //!< May Be overwritten by inherited class to chan… 153 class Thread : public de::Thread class 165 Thread (int seed); 166 ~Thread (void); 203 Thread (const Thread&); 204 Thread operator= (const Thread&); [all …]
|
/external/valgrind/helgrind/ |
D | hg_errors.h | 54 void HG_(record_error_Race) ( Thread* thr, 56 Thread* h1_confthr, 59 void HG_(record_error_UnlockUnlocked) ( Thread*, Lock* ); 60 void HG_(record_error_UnlockForeign) ( Thread*, Thread*, Lock* ); 61 void HG_(record_error_UnlockBogus) ( Thread*, Addr ); 62 void HG_(record_error_PthAPIerror) ( Thread*, const HChar*, Word, 74 void HG_(record_error_LockOrder) ( Thread*, Lock*, Lock*, 78 void HG_(record_error_Misc_w_aux) ( Thread*, const HChar* errstr, 81 void HG_(record_error_Misc) ( Thread* thr, const HChar* errstr );
|
/external/deqp/framework/delibs/dethread/unix/ |
D | deThreadUnix.c | 54 } Thread; typedef 56 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(Thread*)); 60 Thread* thread = (Thread*)entryPtr; in startThread() 73 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() 112 Thread* thread = (Thread*)threadptr; in deThread_join() 130 Thread* thread = (Thread*)threadptr; in deThread_destroy()
|