/dalvik/dexgen/src/com/android/dexgen/util/ |
DexClassLoadingException.java | 30 * @param thr {@code non-null;} lower level exception with more detailed 33 public DexClassLoadingException(Throwable thr) { 34 super("Loading generated dex class has failed", thr);
|
/art/test/1902-suspend/src/art/ |
Suspension.java | 21 public native static void suspend(Thread thr); 24 public native static void resume(Thread thr); 26 public native static boolean isSuspended(Thread thr);
|
/art/test/1903-suspend-self/src/art/ |
Suspension.java | 21 public native static void suspend(Thread thr); 24 public native static void resume(Thread thr); 26 public native static boolean isSuspended(Thread thr);
|
/art/test/1904-double-suspend/src/art/ |
Suspension.java | 21 public native static void suspend(Thread thr); 24 public native static void resume(Thread thr); 26 public native static boolean isSuspended(Thread thr);
|
/art/test/1905-suspend-native/src/art/ |
Suspension.java | 21 public native static void suspend(Thread thr); 24 public native static void resume(Thread thr); 26 public native static boolean isSuspended(Thread thr);
|
/art/test/1906-suspend-list-me-first/src/art/ |
Suspension.java | 21 public native static void suspend(Thread thr); 24 public native static void resume(Thread thr); 26 public native static boolean isSuspended(Thread thr);
|
/art/test/1907-suspend-list-self-twice/src/art/ |
Suspension.java | 21 public native static void suspend(Thread thr); 24 public native static void resume(Thread thr); 26 public native static boolean isSuspended(Thread thr);
|
/art/test/1908-suspend-native-resume-self/src/art/ |
Suspension.java | 21 public native static void suspend(Thread thr); 24 public native static void resume(Thread thr); 26 public native static boolean isSuspended(Thread thr);
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
thread_suspended.cc | 15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, CREATE_SUSPENDED, NULL); local 16 ResumeThread(thr); 17 if (thr == 0) 19 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 22 GetExitCodeThread(thr, &exitcode); 25 CloseHandle(thr);
|
thread_stack_reuse.cc | 22 HANDLE thr = NULL; local 24 thr = CreateThread(NULL, 0, thread_proc_1, NULL, 0, NULL); 25 if (thr == 0) 27 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 30 thr = CreateThread(NULL, 0, thread_proc_2, NULL, 0, NULL); 31 if (thr == 0) 33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 35 CloseHandle(thr);
|
beginthreadex.cc | 15 HANDLE thr = (HANDLE)_beginthreadex(NULL, 0, thread_proc, NULL, 0, NULL); local 16 if (thr == 0) 18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 20 CloseHandle(thr);
|
thread_simple.cc | 15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local 16 if (thr == 0) 18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE)) 21 GetExitCodeThread(thr, &exitcode); 24 CloseHandle(thr);
|
dll_thread_stack_array_left_oob.cc | 26 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local 31 if (thr == 0) 33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE))
|
thread_stack_array_left_oob.cc | 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local 24 if (thr == 0) return 0; 26 WaitForSingleObject(thr, INFINITE);
|
thread_stack_array_right_oob.cc | 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local 24 if (thr == 0) return 0; 26 WaitForSingleObject(thr, INFINITE);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThrowableTest.java | 26 Throwable thr = new Throwable(message, npe); local 27 assertEquals("message is incorrect.", message, thr.getMessage()); 28 assertEquals("cause is incorrect.", npe, thr.getCause()); 30 thr = new Throwable(null, npe); 31 assertNull("message is not null.", thr.getMessage()); 32 assertEquals("cause is incorrect.", npe, thr.getCause()); 34 thr = new Throwable(message, null); 35 assertEquals("message is incorrect.", message, thr.getMessage()); 36 assertNull("cause is not null.", thr.getCause()); 42 Throwable thr = new Throwable(npe) local 74 Throwable thr = new Throwable(message, npe); local 83 Throwable thr = new Throwable(); local 118 Throwable thr = new Throwable(npe); local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_fd.h | 42 void FdAcquire(ThreadState *thr, uptr pc, int fd); 43 void FdRelease(ThreadState *thr, uptr pc, int fd); 44 void FdAccess(ThreadState *thr, uptr pc, int fd); 45 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true); 46 void FdFileCreate(ThreadState *thr, uptr pc, int fd); 47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write); 48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd); 49 void FdEventCreate(ThreadState *thr, uptr pc, int fd); 50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd); 51 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd) [all...] |
tsan_rtl_thread.cc | 27 , thr() 49 ThreadState *thr; member in struct:__tsan::OnCreatedArgs 54 thr = 0; 58 if (!args->thr) // GCD workers don't have a parent thread. 60 args->thr->fast_state.IncrementEpoch(); 62 TraceAddEvent(args->thr, args->thr->fast_state, EventTypeMop, 0); 63 ReleaseImpl(args->thr, 0, &sync); 64 creation_stack_id = CurrentStackId(args->thr, args->pc); 66 StatInc(args->thr, StatThreadMaxTid) 81 ThreadState *thr; member in struct:__tsan::OnStartedArgs [all...] |
tsan_rtl_proc.cc | 25 proc->thr = nullptr; 35 CHECK_EQ(proc->thr, nullptr); 47 void ProcWire(Processor *proc, ThreadState *thr) { 48 CHECK_EQ(thr->proc1, nullptr); 49 CHECK_EQ(proc->thr, nullptr); 50 thr->proc1 = proc; 51 proc->thr = thr; 54 void ProcUnwire(Processor *proc, ThreadState *thr) { 55 CHECK_EQ(thr->proc1, proc) [all...] |
tsan_rtl_mutex.cc | 26 void ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r); 29 ThreadState *thr; member in struct:__tsan::Callback 32 Callback(ThreadState *thr, uptr pc) 33 : thr(thr) 35 DDCallback::pt = thr->proc()->dd_pt; 36 DDCallback::lt = thr->dd_lt; 39 u32 Unwind() override { return CurrentStackId(thr, pc); } 40 int UniqueTid() override { return thr->unique_id; } 43 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) 374 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local 417 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local [all...] |
tsan_fd.cc | 50 static FdSync *allocsync(ThreadState *thr, uptr pc) { 51 FdSync *s = (FdSync*)user_alloc(thr, pc, sizeof(FdSync), kDefaultAlignment, 63 static void unref(ThreadState *thr, uptr pc, FdSync *s) { 69 user_free(thr, pc, s, false); 74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { 82 void *p = user_alloc(thr, pc, size, kDefaultAlignment, false); 84 MemoryResetRange(thr, (uptr)&fddesc, (uptr)p, size); 88 user_free(thr, pc, p, false); 94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, 96 FdDesc *d = fddesc(thr, pc, fd) [all...] |
/external/compiler-rt/lib/tsan/dd/ |
dd_rtl.cc | 22 static u32 CurrentStackTrace(Thread *thr, uptr skip) { 24 thr->ignore_interceptors = true; 26 thr->ignore_interceptors = false; 32 static void PrintStackTrace(Thread *thr, u32 stk) { 34 thr->ignore_interceptors = true; 36 thr->ignore_interceptors = false; 39 static void ReportDeadlock(Thread *thr, DDReport *rep) { 48 PrintStackTrace(thr, rep->loop[i].stk[1]); 52 PrintStackTrace(thr, rep->loop[i].stk[0]); 58 Callback::Callback(Thread *thr) [all...] |
dd_rtl.h | 35 Thread *thr; member in struct:__dsan::Callback 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);
|
/art/test/579-inline-infinite/src/ |
Main.java | 33 Thread thr = new Thread(new Infinite()); local 34 thr.setDaemon(true); 35 thr.start();
|
/external/valgrind/drd/tests/ |
pth_create_glibc_2_0.c | 28 pthread_t thr; local 30 result = (*pthread_create_glibc_2_0)(&thr, 0, thread_func, 0); 36 pthread_join(thr, 0);
|