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

/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cc125 ThreadContextBase *tctx = QuarantinePop(); local
126 if (tctx) {
127 tid = tctx->tid;
131 tctx = context_factory_(tid);
132 threads_[tid] = tctx;
143 CHECK_NE(tctx, 0);
146 CHECK_EQ(tctx->status, ThreadStatusInvalid);
152 tctx->SetCreated(user_id, total_threads_++, detached,
161 ThreadContextBase *tctx = threads_[tid]; local
162 if (tctx
171 ThreadContextBase *tctx = threads_[tid]; local
182 ThreadContextBase *tctx = threads_[tid]; local
189 FindThreadContextByOsIdCallback(ThreadContextBase *tctx, void *arg) argument
203 ThreadContextBase *tctx = threads_[tid]; local
212 ThreadContextBase *tctx = threads_[tid]; local
224 ThreadContextBase *tctx = threads_[tid]; local
241 ThreadContextBase *tctx = threads_[tid]; local
258 ThreadContextBase *tctx = threads_[tid]; local
272 ThreadContextBase *tctx = threads_[tid]; local
278 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);
138 void QuarantinePush(ThreadContextBase *tctx);
/external/tcpdump/
H A Dsignature.c65 MD5_CTX tctx; local
67 MD5_Init(&tctx);
68 MD5_Update(&tctx, key, key_len);
69 MD5_Final(tk, &tctx);
/external/compiler-rt/lib/tsan/rtl/
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};
169 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { argument
170 if (tctx->tid == 0) {
174 " created at:\n", tctx
285 FindThreadByUid(ThreadContextBase *tctx, void *arg) argument
[all...]
H A Dtsan_rtl_report.cc196 void ScopedReport::AddThread(const ThreadContext *tctx, bool suppressable) { argument
198 if ((u32)rep_->threads[i]->id == tctx->tid)
204 rt->id = tctx->tid;
205 rt->pid = tctx->os_id;
206 rt->running = (tctx->status == ThreadStatusRunning);
207 rt->name = internal_strdup(tctx->name);
208 rt->parent_tid = tctx->parent_tid;
210 rt->stack = SymbolizeStackId(tctx->creation_stack_id);
219 ThreadContext *tctx = static_cast<ThreadContext*>( local
221 if (tctx
236 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
247 ThreadContext *tctx = static_cast<ThreadContext*>( local
328 ThreadContext *tctx = FindThreadByUidLocked(creat_tid); local
341 ThreadContext *tctx = FindThreadByTidLocked(b->tid); local
395 ThreadContext *tctx = static_cast<ThreadContext*>( local
700 ThreadContext *tctx = static_cast<ThreadContext*>( local
[all...]
H A Dtsan_rtl_mutex.cc367 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
368 if (tctx->status == ThreadStatusRunning)
369 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch());
371 thr->clock.set(tctx->tid, tctx->epoch1);
410 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local
411 if (tctx->status == ThreadStatusRunning)
412 thr->last_sleep_clock.set(tctx->tid, tctx
[all...]
H A Dtsan_rtl.h370 ThreadContext *tctx; member in struct:__tsan::ThreadState
504 void AddThread(const ThreadContext *tctx, bool suppressable = false);
/external/compiler-rt/lib/asan/
H A Dasan_thread.cc241 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local
242 AsanThread *t = tctx->thread;
260 AsanThreadContext *tctx = GetThreadContextByTidLocked(0); local
261 if (ThreadStackContainsAddress(tctx, &context)) {
262 SetCurrentThread(tctx->thread);
263 return tctx->thread;
288 AsanThreadContext *tctx = static_cast<AsanThreadContext *>( local
291 return tctx ? tctx->thread : 0;
H A Dasan_stats.cc81 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local
82 if (AsanThread *t = tctx->thread)
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_thread_registry_test.cc52 static bool HasName(ThreadContextBase *tctx, void *arg) { argument
54 return (0 == internal_strcmp(tctx->name, name));
57 static bool HasUid(ThreadContextBase *tctx, void *arg) { argument
59 return (tctx->user_id == uid);
62 static void MarkUidAsPresent(ThreadContextBase *tctx, void *arg) { argument
64 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/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/ssl/
H A Dd1_srvr.c1629 SSL_CTX *tctx = s->initial_ctx; local
1664 if (tctx->tlsext_ticket_key_cb)
1666 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx,
1677 tctx->tlsext_tick_aes_key, iv);
1678 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
1680 memcpy(key_name, tctx->tlsext_tick_key_name, 16);
H A Dt1_lib.c2520 SSL_CTX *tctx = s->initial_ctx; local
2527 if (tctx->tlsext_ticket_key_cb)
2530 int rv = tctx->tlsext_ticket_key_cb(s, nctick, nctick + 16,
2542 if (memcmp(etick, tctx->tlsext_tick_key_name, 16))
2544 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
2547 tctx->tlsext_tick_aes_key, etick + 16);
H A Ds3_srvr.c3471 SSL_CTX *tctx = s->initial_ctx; local
3531 if (tctx->tlsext_ticket_key_cb)
3533 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx,
3544 tctx->tlsext_tick_aes_key, iv);
3545 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
3547 memcpy(key_name, tctx->tlsext_tick_key_name, 16);
/external/chromium_org/third_party/boringssl/src/ssl/
H A Ds3_srvr.c2531 SSL_CTX *tctx = s->initial_ctx; local
2586 if (tctx->tlsext_ticket_key_cb)
2588 if (tctx->tlsext_ticket_key_cb(s, key_name, iv, &ctx,
2599 tctx->tlsext_tick_aes_key, iv);
2600 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
2602 memcpy(key_name, tctx->tlsext_tick_key_name, 16);
H A Dt1_lib.c2353 SSL_CTX *tctx = s->initial_ctx; local
2360 if (tctx->tlsext_ticket_key_cb)
2363 int rv = tctx->tlsext_ticket_key_cb(s, nctick, nctick + 16,
2375 if (memcmp(etick, tctx->tlsext_tick_key_name, 16))
2377 HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16,
2380 tctx->tlsext_tick_aes_key, etick + 16);

Completed in 4543 milliseconds