/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_thread_registry.cc | 124 ThreadContextBase *tctx = QuarantinePop(); local 125 if (tctx) { 126 tid = tctx->tid; 130 tctx = context_factory_(tid); 131 threads_[tid] = tctx; 137 CHECK_NE(tctx, 0); 140 CHECK_EQ(tctx->status, ThreadStatusInvalid); 146 tctx->SetCreated(user_id, total_threads_++, detached, 155 ThreadContextBase *tctx = threads_[tid]; local 156 if (tctx == 0 165 ThreadContextBase *tctx = threads_[tid]; local 176 ThreadContextBase *tctx = threads_[tid]; local 197 ThreadContextBase *tctx = threads_[tid]; local 206 ThreadContextBase *tctx = threads_[tid]; local 223 ThreadContextBase *tctx = threads_[tid]; local 240 ThreadContextBase *tctx = threads_[tid]; local 254 ThreadContextBase *tctx = threads_[tid]; local [all...] |
sanitizer_thread_registry.h | 96 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg); 101 typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg); 136 void QuarantinePush(ThreadContextBase *tctx);
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_report.cc | 189 void ScopedReport::AddThread(const ThreadContext *tctx) { 191 if ((u32)rep_->threads[i]->id == tctx->tid) 197 rt->id = tctx->tid; 198 rt->pid = tctx->os_id; 199 rt->running = (tctx->status == ThreadStatusRunning); 200 rt->name = tctx->name ? internal_strdup(tctx->name) : 0; 201 rt->parent_tid = tctx->parent_tid; 204 rt->stack = SymbolizeStack(tctx->creation_stack); 207 const uptr *stack = StackDepotGet(tctx->creation_stack_id, &ssz) 221 ThreadContext *tctx = static_cast<ThreadContext*>( local 239 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 251 ThreadContext *tctx = static_cast<ThreadContext*>( local 320 ThreadContext *tctx = FindThreadByUidLocked(creat_tid); local 328 ThreadContext *tctx = FindThreadByTidLocked(b->Tid()); local 394 ThreadContext *tctx = static_cast<ThreadContext*>( local 690 ThreadContext *tctx = static_cast<ThreadContext*>( local [all...] |
tsan_rtl_thread.cc | 148 ThreadContext *tctx; member in struct:__tsan::ThreadLeak 154 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 155 if (tctx->detached || tctx->status != ThreadStatusFinished) 158 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) { 163 ThreadLeak leak = {tctx, 1}; 187 rep.AddThread(leaks[i].tctx); 257 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { 259 if (tctx->user_id == uid && tctx->status != ThreadStatusInvalid) [all...] |
tsan_rtl_mutex.cc | 257 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 258 if (tctx->status == ThreadStatusRunning) 259 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch()); 261 thr->clock.set(tctx->tid, tctx->epoch1); 293 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 294 if (tctx->status == ThreadStatusRunning) 295 thr->last_sleep_clock.set(tctx->tid, tctx->thr->fast_state.epoch()) [all...] |
tsan_rtl.h | 565 void AddThread(const ThreadContext *tctx);
|
/external/compiler-rt/lib/asan/ |
asan_thread.cc | 204 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local 205 AsanThread *t = tctx->thread; 223 AsanThreadContext *tctx = GetThreadContextByTidLocked(0); local 224 if (ThreadStackContainsAddress(tctx, &context)) { 225 SetCurrentThread(tctx->thread); 226 return tctx->thread; 253 AsanThreadContext *tctx = static_cast<AsanThreadContext *>( local 256 return tctx ? tctx->thread : 0;
|
asan_stats.cc | 90 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local 91 if (AsanThread *t = tctx->thread)
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_thread_registry_test.cc | 23 template<typename TCTX> 26 void *mem = tctx_allocator.Allocate(sizeof(TCTX)); 27 return new(mem) TCTX(tid); 50 static bool HasName(ThreadContextBase *tctx, void *arg) { 52 return (tctx->name && 0 == internal_strcmp(tctx->name, name)); 55 static bool HasUid(ThreadContextBase *tctx, void *arg) { 57 return (tctx->user_id == uid); 60 static void MarkUidAsPresent(ThreadContextBase *tctx, void *arg) { 62 arr[tctx->tid] = true [all...] |
/external/compiler-rt/lib/lsan/ |
lsan_thread.cc | 109 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { 111 if (tctx->user_id == uid && tctx->status != ThreadStatusInvalid) {
|
/system/core/init/ |
property_service.c | 155 char *tctx = NULL; local 166 if (selabel_lookup(sehandle_prop, &tctx, name, 1) != 0) 169 if (selinux_check_access(sctx, tctx, class, perm, name) == 0) 172 freecon(tctx);
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
dgst.c | 493 EVP_MD_CTX *tctx; local 494 BIO_get_md_ctx(bmd, &tctx); 495 md = EVP_MD_CTX_md(tctx);
|
/external/openssl/apps/ |
dgst.c | 493 EVP_MD_CTX *tctx; local 494 BIO_get_md_ctx(bmd, &tctx); 495 md = EVP_MD_CTX_md(tctx);
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
d1_srvr.c | 1611 SSL_CTX *tctx = s->initial_ctx; local [all...] |
t1_lib.c | 2202 SSL_CTX *tctx = s->initial_ctx; local [all...] |
s3_srvr.c | 3401 SSL_CTX *tctx = s->initial_ctx; local [all...] |
/external/openssl/ssl/ |
d1_srvr.c | 1611 SSL_CTX *tctx = s->initial_ctx; local [all...] |
t1_lib.c | 2388 SSL_CTX *tctx = s->initial_ctx; local [all...] |
s3_srvr.c | 3400 SSL_CTX *tctx = s->initial_ctx; local [all...] |