/external/tcpdump/ |
signature.c | 61 MD5_CTX tctx; local 63 MD5_Init(&tctx); 64 MD5_Update(&tctx, key, key_len); 65 MD5_Final(tk, &tctx);
|
/external/compiler-rt/lib/asan/ |
asan_stats.cc | 77 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local 78 if (AsanThread *t = tctx->thread)
|
asan_thread.cc | 254 AsanThreadContext *tctx = static_cast<AsanThreadContext*>(tctx_base); local 255 AsanThread *t = tctx->thread; 273 AsanThreadContext *tctx = GetThreadContextByTidLocked(0); local 274 if (ThreadStackContainsAddress(tctx, &context)) { 275 SetCurrentThread(tctx->thread); 276 return tctx->thread; 301 AsanThreadContext *tctx = static_cast<AsanThreadContext *>( local 304 return tctx ? tctx->thread : nullptr;
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_thread_registry.cc | 125 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 == 0 171 ThreadContextBase *tctx = threads_[tid]; local 182 ThreadContextBase *tctx = threads_[tid]; local 203 ThreadContextBase *tctx = threads_[tid]; local 212 ThreadContextBase *tctx = threads_[tid]; local 224 ThreadContextBase *tctx = threads_[tid]; local 242 ThreadContextBase *tctx = threads_[tid]; local 259 ThreadContextBase *tctx = threads_[tid]; local 273 ThreadContextBase *tctx = threads_[tid]; local [all...] |
/external/jemalloc/src/ |
huge.c | 428 prof_tctx_t *tctx; local 435 tctx = extent_node_prof_tctx_get(node); 438 return (tctx); 442 huge_prof_tctx_set(const void *ptr, prof_tctx_t *tctx) 450 extent_node_prof_tctx_set(node, tctx);
|
jemalloc.c | 1442 prof_tctx_t *tctx; local 1552 prof_tctx_t *tctx; local 1684 prof_tctx_t *tctx; local 1794 prof_tctx_t *old_tctx, *tctx; local 2106 prof_tctx_t *tctx; local 2226 prof_tctx_t *old_tctx, *tctx; local 2369 prof_tctx_t *old_tctx, *tctx; local [all...] |
prof.c | 124 static bool prof_tctx_should_destroy(prof_tctx_t *tctx); 125 static void prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx); 197 prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated) 215 if ((uintptr_t)tctx > (uintptr_t)1U) { 216 malloc_mutex_lock(tctx->tdata->lock); 217 tctx->prepared = false; 218 if (prof_tctx_should_destroy(tctx)) 219 prof_tctx_destroy(tsd, tctx); 221 malloc_mutex_unlock(tctx->tdata->lock); 226 prof_malloc_sample_object(const void *ptr, size_t usize, prof_tctx_t *tctx) 1241 } tctx; local [all...] |
/system/security/keystore/ |
permissions.cpp | 86 static char* tctx; variable 97 if (getcon(&tctx) != 0) { 130 bool allowed = selinux_check_access(sctx, tctx, selinux_class, str_perm,
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_mutex.cc | 364 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 365 if (tctx->status == ThreadStatusRunning) 366 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch()); 368 thr->clock.set(tctx->tid, tctx->epoch1); 407 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 408 if (tctx->status == ThreadStatusRunning) 409 thr->last_sleep_clock.set(tctx->tid, tctx->thr->fast_state.epoch()) [all...] |
tsan_rtl_thread.cc | 159 ThreadContext *tctx; member in struct:__tsan::ThreadLeak 165 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 166 if (tctx->detached || tctx->status != ThreadStatusFinished) 169 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) { 174 ThreadLeak leak = {tctx, 1}; 180 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { 181 if (tctx->tid == 0) { 185 " created at:\n", tctx->tid, tctx->name) [all...] |
tsan_rtl_report.cc | 183 void ScopedReport::AddThread(const ThreadContext *tctx, bool suppressable) { 185 if ((u32)rep_->threads[i]->id == tctx->tid) 191 rt->id = tctx->tid; 192 rt->pid = tctx->os_id; 193 rt->running = (tctx->status == ThreadStatusRunning); 194 rt->name = internal_strdup(tctx->name); 195 rt->parent_tid = tctx->parent_tid; 197 rt->stack = SymbolizeStackId(tctx->creation_stack_id); 203 static bool FindThreadByUidLockedCallback(ThreadContextBase *tctx, void *arg) { 205 return tctx->unique_id == (u32)unique_id 223 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); local 234 ThreadContext *tctx = static_cast<ThreadContext*>( local 313 ThreadContext *tctx = FindThreadByUidLocked(creat_tid); local 326 ThreadContext *tctx = FindThreadByTidLocked(b->tid); local 643 ThreadContext *tctx = static_cast<ThreadContext*>( local [all...] |
tsan_rtl.h | 383 ThreadContext *tctx; member in struct:__tsan::ThreadState 531 void AddThread(const ThreadContext *tctx, bool suppressable = false);
|
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 65 static bool check_mac_perms(pid_t spid, uid_t uid, const char *tctx, const char *perm, const char *name) 81 int result = selinux_check_access(sctx, tctx, class, perm, (void *) &ad); 100 char *tctx = NULL; local 111 if (selabel_lookup(sehandle, &tctx, name, 0) != 0) { 116 allowed = check_mac_perms(spid, uid, tctx, perm, name); 117 freecon(tctx);
|
/system/core/init/ |
property_service.cpp | 75 char *tctx = NULL; local 85 if (selabel_lookup(sehandle_prop, &tctx, name, 1) != 0) 91 if (selinux_check_access(sctx, tctx, "property_service", "set", reinterpret_cast<void*>(&audit_data)) == 0) 94 freecon(tctx);
|
/external/jemalloc/include/jemalloc/internal/ |
prof.h | 106 * UID that distinguishes multiple tctx's created by the same thread, 109 * - A dumper thread can cause a tctx to be retained in the purgatory 111 * - Although a single "producer" thread must create all tctx's which 283 void prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated); 285 prof_tctx_t *tctx); 286 void prof_free_sampled_object(tsd_t *tsd, size_t usize, prof_tctx_t *tctx); 337 void prof_tctx_set(const void *ptr, size_t usize, prof_tctx_t *tctx); 339 prof_tctx_t *tctx); 341 prof_tctx_t *tctx); 342 void prof_malloc(const void *ptr, size_t usize, prof_tctx_t *tctx); 534 prof_tctx_t *tctx = prof_tctx_get(ptr); local [all...] |
/external/boringssl/src/ssl/ |
s3_srvr.c | 2009 SSL_CTX *tctx = ssl->initial_ctx; local [all...] |