Searched refs:cur_thread (Results 1 - 23 of 23) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface_inl.h22 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1);
26 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2);
30 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4);
34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1);
42 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2);
46 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4);
50 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
54 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog1);
58 MemoryRead(cur_thread(), (upt
[all...]
H A Dtsan_interface.cc28 Initialize(cur_thread());
32 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
33 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8);
37 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8);
42 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8);
43 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8);
47 MemoryWrite(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8);
48 MemoryWrite(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8);
54 UnalignedMemoryAccess(cur_thread(), CALLERP
[all...]
H A Dtsan_interceptors_mac.cc26 CHECK(!cur_thread()->is_dead);
27 if (!cur_thread()->is_inited) {
36 CHECK(!cur_thread()->is_dead);
37 if (!cur_thread()->is_inited) {
48 CHECK(!cur_thread()->is_dead);
49 if (!cur_thread()->is_inited) {
58 CHECK(!cur_thread()->is_dead);
59 if (!cur_thread()->is_inited) {
68 CHECK(!cur_thread()->is_dead);
69 if (!cur_thread()
[all...]
H A Dtsan_malloc_mac.cc24 #define COMMON_MALLOC_SANITIZER_INITIALIZED (cur_thread()->is_inited)
29 user_alloc(cur_thread(), StackTrace::GetCurrentPc(), size, alignment)
31 if (cur_thread()->in_symbolizer) \
36 if (cur_thread()->in_symbolizer) \
41 if (cur_thread()->in_symbolizer) \
46 if (cur_thread()->in_symbolizer) \
51 if (cur_thread()->in_symbolizer) \
H A Dtsan_symbolize.cc26 ThreadState *thr = cur_thread();
33 ThreadState *thr = cur_thread();
H A Dtsan_interceptors.h24 ThreadState *thr = cur_thread(); \
H A Dtsan_new_delete.cc32 if (cur_thread()->in_symbolizer) \
68 if (cur_thread()->in_symbolizer) \
H A Dtsan_mutex.cc228 cur_thread()->internal_deadlock_detector.Lock(type_);
240 StatInc(cur_thread(), stat_type_, backoff.Contention());
253 cur_thread()->internal_deadlock_detector.Unlock(type_);
259 cur_thread()->internal_deadlock_detector.Lock(type_);
268 StatInc(cur_thread(), stat_type_, backoff.Contention());
281 cur_thread()->internal_deadlock_detector.Unlock(type_);
H A Dtsan_mman.cc171 ThreadState *thr = cur_thread();
178 ThreadState *thr = cur_thread();
185 ThreadState *thr = cur_thread();
194 ThreadState *thr = cur_thread();
240 ThreadState *thr = cur_thread();
H A Dtsan_platform_mac.cc76 ThreadState *cur_thread() { function in namespace:__tsan
137 ThreadState *thr = cur_thread();
142 ThreadState *thr = cur_thread();
H A Dtsan_interceptors.cc213 (!cur_thread()->is_inited)
385 ThreadState *thr = cur_thread();
398 if (cur_thread()->in_symbolizer)
408 if (cur_thread()->in_symbolizer)
430 ThreadState *thr = cur_thread();
439 if (cur_thread()->in_symbolizer)
525 SetJmp(cur_thread(), sp, mangled_sp);
577 LongJmp(cur_thread(), env);
585 LongJmp(cur_thread(), env);
591 if (cur_thread()
[all...]
H A Dtsan_rtl.h415 ThreadState *cur_thread();
420 INLINE ThreadState *cur_thread() { function in namespace:__tsan
512 cur_thread()->ignore_interceptors++;
518 cur_thread()->ignore_interceptors--;
H A Dtsan_interface_java.cc62 ThreadState *thr = cur_thread(); \
H A Dtsan_rtl.cc150 cur_thread()->ignore_interceptors++;
529 TraceSwitch(cur_thread());
533 ReportRace(cur_thread());
H A Dtsan_clock.cc86 # define CPP_STAT_INC(typ) StatInc(cur_thread(), typ)
H A Dtsan_interface_ann.cc52 ThreadState *thr = cur_thread(); \
H A Dtsan_interface_atomic.cc480 ThreadState *const thr = cur_thread(); \
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mman_test.cc38 ThreadState *thr = cur_thread();
52 ThreadState *thr = cur_thread();
97 ThreadState *thr = cur_thread();
110 ThreadState *thr = cur_thread();
144 ThreadState *thr = cur_thread();
H A Dtsan_sync_test.cc20 ThreadState *thr = cur_thread();
35 ThreadState *thr = cur_thread();
52 ThreadState *thr = cur_thread();
75 ThreadState *thr = cur_thread();
112 ThreadState *thr = cur_thread();
/external/libhevc/common/
H A Dithread.c155 pthread_t cur_thread = pthread_self(); local
163 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset);
/external/lldb/examples/python/
H A Ddiagnose_unwind.py57 cur_thread = process.GetSelectedThread()
59 initial_fp = cur_thread.GetFrameAtIndex(0).GetFP()
63 for reggroup in cur_thread.GetFrameAtIndex(1).registers:
70 address_list = [cur_thread.GetFrameAtIndex(0).GetPC()]
71 this_module = backtrace_print_frame (target, 0, cur_thread.GetFrameAtIndex(0).GetPC(), initial_fp)
76 if cur_thread.GetNumFrames() < 2:
/external/libavc/common/
H A Dithread.c180 pthread_t cur_thread = pthread_self(); local
188 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset);
/external/libmpeg2/common/
H A Dithread.c162 pthread_t cur_thread = pthread_self(); local
170 return pthread_setaffinity_np(cur_thread, sizeof(cpu_set_t), &cpuset);

Completed in 214 milliseconds