| /external/compiler-rt/lib/esan/ |
| working_set.cpp | 55 static SidelineThread Thread; 177 // This is invoked from a signal handler but in a sideline thread doing nothing 203 Thread.launchThread(takeSample, nullptr, getFlags()->sample_freq); 265 Thread.joinThread();
|
| /external/compiler-rt/lib/tsan/dd/ |
| dd_rtl.h | 27 struct Thread { 35 Thread *thr; 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/google-breakpad/src/processor/ |
| synth_minidump.cc | 234 Thread::Thread(const Dump &dump, 365 Dump &Dump::Add(Thread *thread) { 366 thread_list_.Add(thread);
|
| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
| RuntimeEnvironmentTest.java | 18 RuntimeEnvironment.setMainThread(Thread.currentThread()); 19 assertThat(RuntimeEnvironment.getMainThread()).isSameAs(Thread.currentThread()); 24 Thread t = new Thread(); 33 Thread t = new Thread() { 40 RuntimeEnvironment.setMainThread(Thread.currentThread()); 43 throw new InterruptedException("Thread " + t + " didn't finish timely"); 46 assertThat(res.get()).as("thread t").isFalse(); 53 Thread t = new Thread() [all...] |
| /external/swiftshader/third_party/llvm-subzero/lib/Support/ |
| Threading.cpp | 20 #include "llvm/Support/thread.h" 50 pthread_t Thread; 62 // Construct and execute the thread. 63 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0) 66 // Wait for the thread and clean up. 67 ::pthread_join(Thread, nullptr); 105 // on success, this call will wait until the thread finishes executing 127 return thread::hardware_concurrency();
|
| /frameworks/base/core/tests/coretests/src/android/util/ |
| KeyUtils.java | 82 Thread.sleep((long)(ViewConfiguration.getLongPressTimeout() * 1.5f));
|
| /frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
| AsyncStructure.java | 40 (new Thread() {
|
| /packages/apps/Dialer/java/com/android/dialer/commandline/impl/ |
| Help.java | 85 Thread.interrupted();
|
| /packages/apps/Settings/src/com/android/settings/users/ |
| ProfileUpdateReceiver.java | 39 new Thread() {
|
| /art/test/988-method-trace/src/art/ |
| Test988Intrinsics.java | 40 java.lang.Thread.class.toString(); 116 java.lang.Thread.currentThread(); 133 java.lang.Thread.interrupted();
|
| /art/test/123-compiler-regressions-mt/src/ |
| Main.java | 31 new Thread() { 45 new Thread() {
|
| /art/test/1902-suspend/src/art/ |
| Test1902.java | 45 public static void waitForSuspension(Thread target) { 60 Thread other = new Thread(new OtherThread(), "TARGET THREAD"); 68 Suspension.resume(Thread.currentThread()); 71 System.out.println("incorrect error for resuming a non-suspended thread"); 78 System.out.println("incorrect error for resuming a non-suspended thread"); 83 // Wait 1 second for the other thread to suspend. 90 System.out.println("Looks like other thread did something while suspended!"); 99 System.out.println("Doesn't look like the thread unsuspended!") [all...] |
| /art/test/1903-suspend-self/src/art/ |
| Test1903.java | 30 // Wake up main thread. 33 Suspension.suspend(Thread.currentThread()); 52 public static void waitForSuspension(Thread target) { 66 Thread other = new Thread(new OtherThread(), "TARGET THREAD"); 70 // Wait for the other thread to actually start doing things. 82 System.out.println("Failed to resume thread!");
|
| /art/test/1947-breakpoint-redefine-deopt/src/ |
| Main.java | 58 public static void notifyBreakpointReached(Thread thr, Executable e, long loc) { 71 Breakpoint.stopBreakpointWatch(Thread.currentThread()); 75 "notifyBreakpointReached", Thread.class, Executable.class, Long.TYPE), 76 Thread.currentThread());
|
| /art/test/911-get-stack-trace/src/art/ |
| ThreadListTraces.java | 30 Thread threads[] = new Thread[N]; 32 Thread list[] = new Thread[N/2 + 1]; 35 Thread t = new Thread("ThreadListTraces Thread " + i) { 46 list[list.length - 1] = Thread.currentThread(); 49 Thread.yield(); 50 Thread.sleep(500); // A little bit of time.. [all...] |
| /art/test/996-breakpoint-obsolete/src/art/ |
| Test996.java | 97 public static void notifyBreakpointReached(Thread thr, Executable e, long loc) { 109 Breakpoint.stopBreakpointWatch(Thread.currentThread()); 113 "notifyBreakpointReached", Thread.class, Executable.class, Long.TYPE), 114 Thread.currentThread()); 148 Breakpoint.stopBreakpointWatch(Thread.currentThread());
|
| /build/soong/ui/tracer/ |
| tracer.go | 36 type Thread uint64 39 MainThread = Thread(iota) 40 MaxInitThreads = Thread(iota) 44 Begin(name string, thread Thread) 45 End(thread Thread) 46 Complete(name string, thread Thread, begin, end uint64) 49 ImportNinjaLog(thread Thread, filename string, startOffset time.Time [all...] |
| /cts/tests/tests/renderscript/src/android/renderscript/cts/ |
| RSBase.java | 39 // RSMessageHandler thread. 67 Thread.yield();
|
| /cts/tests/tests/rsblas/src/android/renderscript/cts/ |
| RSBase.java | 38 // RSMessageHandler thread. 66 Thread.yield();
|
| /external/compiler-rt/lib/tsan/benchmarks/ |
| vts_many_threads_bench.cc | 54 void *Thread(void *arg) { 58 // Wait for the main thread to join the garbage threads. 61 printf("Thread %ld go!\n", idx); 67 printf("Thread %ld done\n", idx); 101 int status = pthread_create(&t[i], 0, Thread, (void*)i);
|
| /external/compiler-rt/test/tsan/ |
| debugging.cc | 30 void *Thread(void *a) { 41 pthread_create(&t, 0, Thread, 0);
|
| real_deadlock_detector_stress_test.cc | 41 void *Thread(void *seed) { 178 pthread_create(&t[i], 0, Thread, (void*)(unsigned long)rand());
|
| /external/deqp/framework/delibs/dethread/unix/ |
| deThreadUnix.c | 2 * drawElements Thread Library 21 * \brief Unix implementation of thread management. 53 pthread_t thread; member in struct:Thread_s 56 } Thread; 58 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(Thread*)); 62 Thread* thread = (Thread*)entryPtr; local 63 deThreadFunc func = thread->func; 64 void* arg = thread->arg 75 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); local 114 Thread* thread = (Thread*)threadptr; local 132 Thread* thread = (Thread*)threadptr; local [all...] |
| /external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
| SimpleThreadPool.h | 17 // by a single thread. 122 typedef typename Environment::EnvThread Thread; 133 int thread_id; // Worker thread index in pool. 138 MaxSizeVector<Thread*> threads_; // All threads
|
| /external/guice/core/test/com/google/inject/internal/ |
| WeakKeySetUtils.java | 96 Thread.sleep(1000); 100 Thread.yield();
|