/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | ThreadTest.java | 20 import java.lang.Thread.UncaughtExceptionHandler; 64 Thread parent; 76 Thread.sleep(100); in run() 83 Thread.sleep(500); in run() 87 while (!Thread.currentThread().isInterrupted()) { in run() 90 Thread.sleep(50); in run() 103 public ResSupThread(Thread t) { in ResSupThread() 121 Thread st, ct, spinner; 128 ct = new Thread(new SimpleThread(10)); in test_ConstructorLjava_lang_Runnable() 138 Thread st1 = new Thread(new SimpleThread(1), "SimpleThread1"); in test_ConstructorLjava_lang_RunnableLjava_lang_String() [all …]
|
D | ThreadGroupTest.java | 24 class MyThread extends Thread { 37 Thread.sleep(50); in run() 52 Thread.yield(); in isActivelyRunning() 112 newGroup.getParent() == Thread.currentThread().getThreadGroup()); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String() 140 Thread t1 = new Thread(tg, new Runnable() { in test_activeCount() 143 Thread.sleep(5000); in test_activeCount() 226 Thread noOp = new Thread(testRoot, null, "no-op thread") { in test_destroy() 253 noOp = new Thread(testRoot, null, "no-op thread") { in test_destroy() 257 Thread.sleep(500); in test_destroy() 302 new Thread(group1, "test_destroy_subtest0"); in test_destroy_subtest0() [all …]
|
/external/chromium/net/base/ |
D | network_change_notifier_linux.cc | 25 class NetworkChangeNotifierLinux::Thread class in net::NetworkChangeNotifierLinux 26 : public base::Thread, public MessageLoopForIO::Watcher { 28 Thread(); 29 virtual ~Thread(); 59 ScopedRunnableMethodFactory<Thread> method_factory_; 61 DISALLOW_COPY_AND_ASSIGN(Thread); 64 NetworkChangeNotifierLinux::Thread::Thread() in Thread() function in net::NetworkChangeNotifierLinux::Thread 65 : base::Thread("NetworkChangeNotifier"), in Thread() 69 NetworkChangeNotifierLinux::Thread::~Thread() {} in ~Thread() 71 void NetworkChangeNotifierLinux::Thread::Init() { in Init() [all …]
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | thread.h | 48 class Thread; variable 55 static Thread *CurrentThread(); 56 static void SetCurrent(Thread *thread); 57 void Add(Thread *thread); 58 void Remove(Thread *thread); 73 static Thread *WrapCurrentThread(); 79 Thread *main_thread_; 80 std::vector<Thread *> threads_; 92 class Thread; variable 96 Thread *thread; [all …]
|
D | thread.cc | 76 Thread *ThreadManager::CurrentThread() { in CurrentThread() 77 return static_cast<Thread *>(pthread_getspecific(key_)); in CurrentThread() 80 void ThreadManager::SetCurrent(Thread *thread) { in SetCurrent() 98 Thread *ThreadManager::CurrentThread() { in CurrentThread() 99 return static_cast<Thread *>(TlsGetValue(key_)); in CurrentThread() 102 void ThreadManager::SetCurrent(Thread *thread) { in SetCurrent() 108 Thread *ThreadManager::WrapCurrentThread() { in WrapCurrentThread() 109 Thread* result = CurrentThread(); in WrapCurrentThread() 111 result = new Thread(); in WrapCurrentThread() 131 Thread* t = CurrentThread(); in UnwrapCurrentThread() [all …]
|
/external/v8/test/cctest/ |
D | test-platform-tls.cc | 11 using v8::internal::Thread; 15 static Thread::LocalStorageKey keys[kValueCount]; 23 CHECK(!Thread::HasThreadLocal(keys[i])); in DoTest() 26 Thread::SetThreadLocal(keys[i], GetValue(i)); in DoTest() 29 CHECK(Thread::HasThreadLocal(keys[i])); in DoTest() 32 CHECK_EQ(GetValue(i), Thread::GetThreadLocal(keys[i])); in DoTest() 33 CHECK_EQ(GetValue(i), Thread::GetExistingThreadLocal(keys[i])); in DoTest() 36 Thread::SetThreadLocal(keys[i], GetValue(kValueCount - i - 1)); in DoTest() 39 CHECK(Thread::HasThreadLocal(keys[i])); in DoTest() 43 Thread::GetThreadLocal(keys[i])); in DoTest() [all …]
|
D | test-threads.cc | 66 class ThreadA : public v8::internal::Thread { 68 ThreadA() : Thread("ThreadA") { } in ThreadA() 90 Thread::YieldCPU(); in Run() 102 class ThreadB : public v8::internal::Thread { 104 ThreadB() : Thread("ThreadB") { } in ThreadB() 120 Thread::YieldCPU(); in Run() 141 class ThreadIdValidationThread : public v8::internal::Thread { 143 ThreadIdValidationThread(i::Thread* thread_to_start, in ThreadIdValidationThread() 147 : Thread("ThreadRefValidationThread"), in ThreadIdValidationThread() 168 i::Thread* thread_to_start_; [all …]
|
/external/chromium/base/threading/ |
D | thread.cc | 30 Thread::SetThreadWasQuitProperly(true); in Run() 36 struct Thread::StartupData { 38 const Thread::Options& options; 48 Thread::Thread(const char* name) in Thread() function in base::Thread 58 Thread::~Thread() { in ~Thread() 62 bool Thread::Start() { in Start() 66 bool Thread::StartWithOptions(const Options& options) { in StartWithOptions() 91 void Thread::Stop() { in Stop() 113 void Thread::StopSoon() { in StopSoon() 127 void Thread::Run(MessageLoop* message_loop) { in Run() [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/guava/guava-tests/test/com/google/common/collect/ |
D | SynchronizedSetTest.java | 67 assertTrue(Thread.holdsLock(mutex)); in toString() 72 assertTrue(Thread.holdsLock(mutex)); in equals() 77 assertTrue(Thread.holdsLock(mutex)); in hashCode() 82 assertTrue(Thread.holdsLock(mutex)); in add() 87 assertTrue(Thread.holdsLock(mutex)); in addAll() 92 assertTrue(Thread.holdsLock(mutex)); in clear() 97 assertTrue(Thread.holdsLock(mutex)); in contains() 102 assertTrue(Thread.holdsLock(mutex)); in containsAll() 107 assertTrue(Thread.holdsLock(mutex)); in isEmpty() 114 assertTrue(Thread.holdsLock(mutex)); in remove() [all …]
|
D | SynchronizedMultimapTest.java | 53 assertTrue(Thread.holdsLock(mutex)); in toString() 58 assertTrue(Thread.holdsLock(mutex)); in equals() 63 assertTrue(Thread.holdsLock(mutex)); in hashCode() 68 assertTrue(Thread.holdsLock(mutex)); in size() 73 assertTrue(Thread.holdsLock(mutex)); in isEmpty() 78 assertTrue(Thread.holdsLock(mutex)); in containsKey() 83 assertTrue(Thread.holdsLock(mutex)); in containsValue() 89 assertTrue(Thread.holdsLock(mutex)); in containsEntry() 94 assertTrue(Thread.holdsLock(mutex)); in get() 100 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/valgrind/main/helgrind/tests/ |
D | tc20_verifywrap.stderr.exp | 10 Thread #x is the program's root thread 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 82 Thread #x's call to pthread_mutex_timedlock failed 89 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........ 19 Thread #x was created 28 Thread #x unlocked lock at 0x........ currently held by thread #x 40 Thread #x unlocked an invalid lock at 0x........ 47 Thread #x's call to pthread_mutex_unlock failed 56 Thread #x unlocked a not-locked lock at 0x........ 67 Thread #x: Attempt to re-lock a non-recursive lock I already hold 78 Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support r… 85 Thread #x was created [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 | tc23_bogus_condwait.stderr.exp | 4 Thread #x is the program's root thread 8 Thread #x: pthread_cond_{timed}wait called with invalid mutex 15 Thread #x: pthread_cond_{timed}wait called with un-held mutex 22 Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex 29 Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t* 36 Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex 43 Thread #x: pthread_cond_{timed}wait called with mutex held by a different thread 50 Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | InterruptionUtil.java | 44 private final Thread interruptee; 47 Interruptenator(Thread interruptee, long everyMillis) { in Interruptenator() 56 Thread.sleep(everyMillis); in run() 76 final Thread interruptee = Thread.currentThread(); in requestInterruptIn() 77 new Thread(new Runnable() { in requestInterruptIn() 93 new Interruptenator(Thread.currentThread(), interruptPeriodMillis); in repeatedlyInterruptTestThread() 94 final Thread interruptingThread = new Thread(interruptingTask); in repeatedlyInterruptTestThread() 101 Thread.interrupted(); in repeatedlyInterruptTestThread() 118 Thread thread, long timeout, TimeUnit unit) { in joinUninterruptibly() 136 Thread.currentThread().interrupt(); in joinUninterruptibly()
|
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() 107 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_false() 113 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_true() 118 for (int i = Thread.MIN_PRIORITY; i <= Thread.MAX_PRIORITY; i++) { in testPriority_custom() [all …]
|
/external/valgrind/main/helgrind/ |
D | hg_errors.h | 51 void HG_(record_error_Race) ( Thread* thr, 53 Thread* h1_confthr, 56 void HG_(record_error_UnlockUnlocked) ( Thread*, Lock* ); 57 void HG_(record_error_UnlockForeign) ( Thread*, Thread*, Lock* ); 58 void HG_(record_error_UnlockBogus) ( Thread*, Addr ); 59 void HG_(record_error_PthAPIerror) ( Thread*, HChar*, Word, HChar* ); 62 void HG_(record_error_LockOrder) ( Thread*, Addr, Addr, 66 void HG_(record_error_Misc_w_aux) ( Thread*, HChar* errstr, 68 void HG_(record_error_Misc) ( Thread* thr, HChar* errstr );
|
/external/guava/guava-tests/test/com/google/common/testing/ |
D | GcFinalizationTest.java | 82 class Interruptenator extends Thread { 84 Interruptenator(final Thread interruptee) { in Interruptenator() 87 Interruptenator(final Thread interruptee, in Interruptenator() 93 Thread.yield(); in Interruptenator() 101 Thread.yield(); in shutdown() 112 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwait_CountDownLatch_Interrupted() 123 Thread.interrupted(); in testAwait_CountDownLatch_Interrupted() 128 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwaitDone_Future_Interrupted_Interrupted() 139 Thread.interrupted(); in testAwaitDone_Future_Interrupted_Interrupted() 144 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwaitClear_Interrupted() [all …]
|
/external/v8/src/ |
D | platform-nullos.cc | 333 class Thread::PlatformData : public Malloced { 343 Thread::Thread(const Options& options) in Thread() function in v8::internal::Thread 351 Thread::Thread(const char* name) in Thread() function in v8::internal::Thread 359 Thread::~Thread() { in ~Thread() 365 void Thread::set_name(const char* name) { in set_name() 371 void Thread::Start() { in Start() 376 void Thread::Join() { in Join() 381 Thread::LocalStorageKey Thread::CreateThreadLocalKey() { in CreateThreadLocalKey() 387 void Thread::DeleteThreadLocalKey(LocalStorageKey key) { in DeleteThreadLocalKey() 392 void* Thread::GetThreadLocal(LocalStorageKey key) { in GetThreadLocal() [all …]
|
/external/valgrind/main/gdbserver_tests/ |
D | mcbreak.stdout.exp | 1 pid .... Thread .... first 2 pid .... Thread .... second 3 pid .... Thread .... third 4 pid .... Thread .... fourth 5 pid .... Thread .... after next: inferior call pushed from mcbreak.stdinB.gdb 6 pid .... Thread .... called from level 8 pid .... Thread .... called from main
|
D | nlcontrolc.stdoutB.exp | 4 [New Thread ....] 5 [New Thread ....] 6 [New Thread ....] 7 4 Thread .... (tid 4 VgTs_WaitSys) 0x........ in syscall ... 8 3 Thread .... (tid 3 VgTs_WaitSys) 0x........ in syscall ... 9 2 Thread .... (tid 2 VgTs_WaitSys) 0x........ in syscall ... 10 * 1 Thread .... (tid 1 VgTs_WaitSys) 0x........ in syscall ...
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Uninterruptibles.java | 63 Thread.currentThread().interrupt(); in awaitUninterruptibly() 91 Thread.currentThread().interrupt(); in awaitUninterruptibly() 99 public static void joinUninterruptibly(Thread toJoin) { in joinUninterruptibly() 112 Thread.currentThread().interrupt(); in joinUninterruptibly() 139 Thread.currentThread().interrupt(); in getUninterruptibly() 172 Thread.currentThread().interrupt(); in getUninterruptibly() 182 public static void joinUninterruptibly(Thread toJoin, in joinUninterruptibly() 201 Thread.currentThread().interrupt(); in joinUninterruptibly() 221 Thread.currentThread().interrupt(); in takeUninterruptibly() 243 Thread.currentThread().interrupt(); in putUninterruptibly() [all …]
|