Home
last modified time | relevance | path

Searched refs:thr0 (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/tsan/go/
Dtest.c53 void *thr0 = 0; in main() local
55 __tsan_init(&thr0, &proc0, symbolize_cb); in main()
59 __tsan_malloc(thr0, (char*)&barfoo + 1, buf, 10); in main()
61 __tsan_func_enter(thr0, (char*)&main + 1); in main()
62 __tsan_malloc(thr0, (char*)&barfoo + 1, buf, 10); in main()
63 __tsan_release(thr0, buf); in main()
64 __tsan_release_merge(thr0, buf); in main()
66 __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1); in main()
68 __tsan_go_start(thr0, &thr2, (char*)&barfoo + 1); in main()
69 __tsan_func_exit(thr0); in main()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc308 SimpleThreadClock *thr0[kThreads]; in ClockFuzzer() local
313 thr0[i] = new SimpleThreadClock(i); in ClockFuzzer()
330 thr0[tid]->tick(); in ClockFuzzer()
337 thr0[tid]->acquire(sync0[cid]); in ClockFuzzer()
343 thr0[tid]->release(sync0[cid]); in ClockFuzzer()
349 thr0[tid]->acq_rel(sync0[cid]); in ClockFuzzer()
355 thr0[tid]->ReleaseStore(sync0[cid]); in ClockFuzzer()
367 u64 epoch = thr0[tid]->clock[tid] + 1; in ClockFuzzer()
369 delete thr0[tid]; in ClockFuzzer()
370 thr0[tid] = new SimpleThreadClock(tid); in ClockFuzzer()
[all …]
/external/mesa3d/include/c11/
Dthreads_posix.h319 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument
321 return pthread_equal(thr0, thr1); in thrd_equal()
Dthreads_win32.h544 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument
546 return GetThreadId(thr0) == GetThreadId(thr1); in thrd_equal()