/external/compiler-rt/lib/tsan/go/ |
test.c | 47 void *thr1 = 0; local 48 __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1); 51 __tsan_func_enter(thr1, (char*)&foobar + 1); 52 __tsan_func_enter(thr1, (char*)&foobar + 1); 53 __tsan_write(thr1, buf, (char*)&barfoo + 1); 54 __tsan_acquire(thr1, buf); 55 __tsan_func_exit(thr1); 56 __tsan_func_exit(thr1); 57 __tsan_go_end(thr1);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldObjectTest.java | 36 TestThread1 thr1; field in class:OldObjectTest 120 thr1 = new TestThread1(TestThread1.CASE_WAIT); 122 thr1.start(); 125 thr1.join(); 126 thr1 = null; 170 thr1.interrupt(); 186 thr1 = new TestThread1(TestThread1.CASE_WAIT_LONG_INT); 188 thr1.start(); 191 thr1.join(); 192 thr1 = null [all...] |
OldThrowableTest.java | 120 Throwable thr1 = new Throwable(npe); local 121 thr1.setStackTrace(ste); 122 assertEquals(ste.length, thr1.getStackTrace().length);
|
OldRuntimeTest.java | 392 Thread thr1 = new Thread () { local 403 Runtime.getRuntime().addShutdownHook(thr1); 404 Runtime.getRuntime().removeShutdownHook(thr1);
|
/external/compiler-rt/test/tsan/ |
cond_cancel.c | 14 void *thr1(void *p) { function 29 pthread_create(&th, 0, thr1, 0);
|
cond.c | 15 void *thr1(void *p) { function 48 pthread_create(&th1, 0, thr1, 0);
|
/external/valgrind/main/helgrind/tests/ |
bar_bad.c | 21 pthread_t thr1, thr2; local 53 pthread_create(&thr1, NULL, child1, (void*)bar3); 83 r= pthread_cancel(thr1); assert(!r);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_clock_test.cc | 68 ThreadClock thr1(1); 69 thr1.tick(); 74 thr1.ReleaseStore(&sync); 231 ThreadClock *thr1[kThreads]; local 236 thr1[i] = new ThreadClock(i, reused[i]); 253 thr1[tid]->tick(); 260 thr1[tid]->acquire(sync1[cid]); 266 thr1[tid]->release(sync1[cid]); 272 thr1[tid]->acq_rel(sync1[cid]); 278 thr1[tid]->ReleaseStore(sync1[cid]) [all...] |