Searched refs:tctx (Results 1 - 18 of 18) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cc124 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
165 ThreadContextBase *tctx = threads_[tid]; local
176 ThreadContextBase *tctx = threads_[tid]; local
183 FindThreadContextByOsIdCallback(ThreadContextBase *tctx, void *arg) argument
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
260 QuarantinePush(ThreadContextBase *tctx) argument
[all...]
H A Dsanitizer_thread_registry.h96 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/
H A Dtsan_rtl_report.cc189 void ScopedReport::AddThread(const ThreadContext *tctx) { argument
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
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...]
H A Dtsan_rtl_mutex.cc257 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
[all...]
H A Dtsan_rtl_thread.cc148 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) { argument
259 if (tctx
[all...]
H A Dtsan_rtl.h565 void AddThread(const ThreadContext *tctx);
/external/compiler-rt/lib/asan/
H A Dasan_thread.cc204 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;
H A Dasan_stats.cc90 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local
91 if (AsanThread *t = tctx->thread)
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_thread_registry_test.cc50 static bool HasName(ThreadContextBase *tctx, void *arg) { argument
52 return (tctx->name && 0 == internal_strcmp(tctx->name, name));
55 static bool HasUid(ThreadContextBase *tctx, void *arg) { argument
57 return (tctx->user_id == uid);
60 static void MarkUidAsPresent(ThreadContextBase *tctx, void *arg) { argument
62 arr[tctx->tid] = true;
/external/compiler-rt/lib/lsan/
H A Dlsan_thread.cc109 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { argument
111 if (tctx->user_id == uid && tctx->status != ThreadStatusInvalid) {
/external/chromium_org/third_party/openssl/openssl/apps/
H A Ddgst.c493 EVP_MD_CTX *tctx; local
494 BIO_get_md_ctx(bmd, &tctx);
495 md = EVP_MD_CTX_md(tctx);
/external/openssl/apps/
H A Ddgst.c493 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/
H A Dd1_srvr.c1611 SSL_CTX *tctx = s->initial_ctx; local
1646 if (tctx->tlsext_ticket_key_cb)
1648 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx,
1659 tctx->tlsext_tick_aes_key, iv);
1660 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
1662 memcpy(key_name, tctx->tlsext_tick_key_name, 16);
H A Dt1_lib.c2202 SSL_CTX *tctx = s->initial_ctx; local
2209 if (tctx->tlsext_ticket_key_cb)
2212 int rv = tctx->tlsext_ticket_key_cb(s, nctick, nctick + 16,
2224 if (memcmp(etick, tctx->tlsext_tick_key_name, 16))
2226 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
2229 tctx->tlsext_tick_aes_key, etick + 16);
H A Ds3_srvr.c3398 SSL_CTX *tctx = s->initial_ctx; local
3458 if (tctx->tlsext_ticket_key_cb)
3460 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx,
3471 tctx->tlsext_tick_aes_key, iv);
3472 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
3474 memcpy(key_name, tctx->tlsext_tick_key_name, 16);
/external/openssl/ssl/
H A Dd1_srvr.c1611 SSL_CTX *tctx = s->initial_ctx; local
1646 if (tctx->tlsext_ticket_key_cb)
1648 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx,
1659 tctx->tlsext_tick_aes_key, iv);
1660 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
1662 memcpy(key_name, tctx->tlsext_tick_key_name, 16);
H A Dt1_lib.c2388 SSL_CTX *tctx = s->initial_ctx; local
2395 if (tctx->tlsext_ticket_key_cb)
2398 int rv = tctx->tlsext_ticket_key_cb(s, nctick, nctick + 16,
2410 if (memcmp(etick, tctx->tlsext_tick_key_name, 16))
2412 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
2415 tctx->tlsext_tick_aes_key, etick + 16);
H A Ds3_srvr.c3398 SSL_CTX *tctx = s->initial_ctx; local
3458 if (tctx->tlsext_ticket_key_cb)
3460 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx,
3471 tctx->tlsext_tick_aes_key, iv);
3472 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
3474 memcpy(key_name, tctx->tlsext_tick_key_name, 16);

Completed in 519 milliseconds