Home
last modified time | relevance | path

Searched defs:thr (Results 1 – 25 of 64) sorted by relevance

123

/external/compiler-rt/lib/tsan/go/
Dtsan_go.cc95 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine() local
103 ThreadState *thr = AllocGoroutine(); in __tsan_init() local
111 ThreadState *thr = main_thr; in __tsan_fini() local
120 void __tsan_read(ThreadState *thr, void *addr, void *pc) { in __tsan_read()
124 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_read_pc()
132 void __tsan_write(ThreadState *thr, void *addr, void *pc) { in __tsan_write()
136 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_write_pc()
144 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_read_range()
148 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_write_range()
152 void __tsan_func_enter(ThreadState *thr, void *pc) { in __tsan_func_enter()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc29 ThreadState *thr; member
47 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit()
53 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse()
69 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, in MutexCreate()
88 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) { in MutexDestroy()
147 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) { in MutexLock()
192 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all) { in MutexUnlock()
234 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock) { in MutexReadLock()
269 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadUnlock()
301 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadOrWriteUnlock()
[all …]
Dtsan_fd.cc50 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync()
62 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref()
73 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc()
93 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s) { in init()
121 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork()
153 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire()
164 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease()
175 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess()
183 void FdClose(ThreadState *thr, uptr pc, int fd) { in FdClose()
199 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate()
[all …]
Dtsan_mman.cc58 void AllocatorThreadStart(ThreadState *thr) { in AllocatorThreadStart()
63 void AllocatorThreadFinish(ThreadState *thr) { in AllocatorThreadFinish()
72 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
85 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align) { in user_alloc()
97 void user_free(ThreadState *thr, uptr pc, void *p) { in user_free()
104 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
113 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
121 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
147 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local
155 ThreadState *thr = cur_thread(); in invoke_free_hook() local
[all …]
Dtsan_rtl_thread.cc49 ThreadState *thr; member
74 ThreadState *thr; member
186 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore()
195 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore()
198 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize()
216 int ThreadCount(ThreadState *thr) { in ThreadCount()
222 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate()
231 void ThreadStart(ThreadState *thr, int tid, uptr os_id) { in ThreadStart()
274 void ThreadFinish(ThreadState *thr) { in ThreadFinish()
294 int ThreadTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadTid()
[all …]
Dtsan_rtl.cc282 void Initialize(ThreadState *thr) { in Initialize()
341 int Finalize(ThreadState *thr) { in Finalize()
391 void ForkBefore(ThreadState *thr, uptr pc) { in ForkBefore()
396 void ForkParentAfter(ThreadState *thr, uptr pc) { in ForkParentAfter()
401 void ForkChildAfter(ThreadState *thr, uptr pc) { in ForkChildAfter()
425 void GrowShadowStack(ThreadState *thr) { in GrowShadowStack()
438 u32 CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId()
458 void TraceSwitch(ThreadState *thr) { in TraceSwitch()
474 uptr TraceTopPC(ThreadState *thr) { in TraceTopPC()
516 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace()
[all …]
Dtsan_sync.cc27 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) { in Init()
58 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) { in AllocBlock()
69 uptr MetaMap::FreeBlock(ThreadState *thr, uptr pc, uptr p) { in FreeBlock()
78 void MetaMap::FreeRange(ThreadState *thr, uptr pc, uptr p, uptr sz) { in FreeRange()
120 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc, in GetOrCreateAndLock()
129 SyncVar* MetaMap::GetAndLock(ThreadState *thr, uptr pc, in GetAndLock()
215 void MetaMap::OnThreadIdle(ThreadState *thr) { in OnThreadIdle()
Dtsan_interface_inl.h56 ThreadState *thr = cur_thread(); in __tsan_vptr_update() local
65 ThreadState *thr = cur_thread(); in __tsan_vptr_read() local
/external/compiler-rt/lib/tsan/dd/
Ddd_rtl.cc21 static u32 CurrentStackTrace(Thread *thr, uptr skip) { in CurrentStackTrace()
31 static void PrintStackTrace(Thread *thr, u32 stk) { in PrintStackTrace()
39 static void ReportDeadlock(Thread *thr, DDReport *rep) { in ReportDeadlock()
58 Callback::Callback(Thread *thr) in Callback()
96 void ThreadInit(Thread *thr) { in ThreadInit()
103 void ThreadDestroy(Thread *thr) { in ThreadDestroy()
108 void MutexBeforeLock(Thread *thr, uptr m, bool writelock) { in MutexBeforeLock()
121 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock()
134 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock) { in MutexBeforeUnlock()
145 void MutexDestroy(Thread *thr, uptr m) { in MutexDestroy()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_sync_test.cc20 ThreadState *thr = cur_thread(); in TEST() local
35 ThreadState *thr = cur_thread(); in TEST() local
52 ThreadState *thr = cur_thread(); in TEST() local
75 ThreadState *thr = cur_thread(); in TEST() local
112 ThreadState *thr = cur_thread(); in TEST() local
Dtsan_mman_test.cc38 ThreadState *thr = cur_thread(); in TEST() local
52 ThreadState *thr = cur_thread(); in TEST() local
97 ThreadState *thr = cur_thread(); in TEST() local
110 ThreadState *thr = cur_thread(); in TEST() local
Dtsan_stack_test.cc21 ThreadState thr(0, 0, 0, 0, 0, 0, 0, 0, 0); in TestStackTrace() local
65 ThreadState thr(0, 0, 0, 0, 0, 0, 0, 0, 0); in TEST() local
/external/valgrind/main/helgrind/
Dhg_main.c239 static void lockN_acquire_writer ( Lock* lk, Thread* thr ) in lockN_acquire_writer()
290 static void lockN_acquire_reader ( Lock* lk, Thread* thr ) in lockN_acquire_reader()
331 static void lockN_release ( Lock* lk, Thread* thr ) in lockN_release()
356 Thread* thr; in remove_Lock_from_locksets_of_all_owning_Threads() local
497 Thread* thr; in pp_Lock() local
589 Thread* thr; in initialise_data_structures() local
652 Thread* thr; in map_threads_maybe_lookup() local
661 Thread* thr; in map_threads_lookup() local
670 static ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ) in map_threads_maybe_reverse_lookup_SLOW()
684 static ThreadId map_threads_reverse_lookup_SLOW ( Thread* thr ) in map_threads_reverse_lookup_SLOW()
[all …]
/external/compiler-rt/test/tsan/
Dmalloc_stack.cc7 void *thr(void *a) { in thr() function
Dmutex_robust.cc10 void *thr(void *p) { in thr() function
Dmutex_robust2.cc11 void *thr(void *p) { in thr() function
Dsunrpc.cc7 void *thr(void *p) { in thr() function
/external/compiler-rt/test/asan/TestCases/Windows/
Dthread_stack_array_left_oob.cc19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
Dbeginthreadex.cc15 HANDLE thr = (HANDLE)_beginthreadex(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
Ddll_thread_stack_array_left_oob.cc26 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in test_function() local
Dthread_stack_array_right_oob.cc19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
Dthread_simple.cc15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main() local
/external/valgrind/main/drd/tests/
Dpth_create_glibc_2_0.c28 pthread_t thr; in main() local
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dtestutil.cc182 pthread_t thr; in RunThread() local
190 pthread_t* thr = new pthread_t[count]; in RunManyThreads() local
205 pthread_t* thr = new pthread_t[count]; in RunManyThreadsWithId() local
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dtestutil.cc182 pthread_t thr; in RunThread() local
190 pthread_t* thr = new pthread_t[count]; in RunManyThreads() local
205 pthread_t* thr = new pthread_t[count]; in RunManyThreadsWithId() local

123