| /src/crypto/external/apache2/openssl/dist/providers/implementations/ciphers/ |
| cipher_tdes_default_hw.c | 26 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 29 tctx->tstream.cbc = NULL; 33 des_t4_key_expand(&deskey[0], &tctx->ks1); 34 des_t4_key_expand(&deskey[1], &tctx->ks2); 35 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); 36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : des_t4_ede3_cbc_decrypt; 41 DES_set_key_unchecked(&deskey[0], &tctx->ks1); 42 DES_set_key_unchecked(&deskey[1], &tctx->ks2) 50 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 71 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 99 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 121 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local [all...] |
| cipher_tdes_hw.c | 26 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 29 tctx->tstream.cbc = NULL; 33 des_t4_key_expand(&deskey[0], &tctx->ks1); 34 des_t4_key_expand(&deskey[1], &tctx->ks2); 35 des_t4_key_expand(&deskey[2], &tctx->ks3); 36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : des_t4_ede3_cbc_decrypt; 41 DES_set_key_unchecked(&deskey[0], &tctx->ks1); 42 DES_set_key_unchecked(&deskey[1], &tctx->ks2); 43 DES_set_key_unchecked(&deskey[2], &tctx->ks3); 60 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx local 84 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local [all...] |
| cipher_desx_hw.c | 30 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 33 DES_set_key_unchecked(deskey, &tctx->ks1); 34 memcpy(&tctx->ks2, &key[8], 8); 35 memcpy(&tctx->ks3, &key[16], 8); 53 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 56 DES_xcbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, 57 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3, 64 DES_xcbc_encrypt(in, out, (long)inl, &tctx->ks1, 65 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3 [all...] |
| /src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
| cipher_tdes_default_hw.c | 26 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 29 tctx->tstream.cbc = NULL; 33 des_t4_key_expand(&deskey[0], &tctx->ks1); 34 des_t4_key_expand(&deskey[1], &tctx->ks2); 35 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); 36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); 43 DES_set_key_unchecked(&deskey[1], &tctx->ks2) 51 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 72 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 100 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 121 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local [all...] |
| cipher_tdes_hw.c | 26 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 29 tctx->tstream.cbc = NULL; 33 des_t4_key_expand(&deskey[0], &tctx->ks1); 34 des_t4_key_expand(&deskey[1], &tctx->ks2); 35 des_t4_key_expand(&deskey[2], &tctx->ks3); 36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); 43 DES_set_key_unchecked(&deskey[1], &tctx->ks2); 44 DES_set_key_unchecked(&deskey[2], &tctx->ks3); 61 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx local 85 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local [all...] |
| cipher_desx_hw.c | 30 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 33 DES_set_key_unchecked(deskey, &tctx->ks1); 34 memcpy(&tctx->ks2, &key[8], 8); 35 memcpy(&tctx->ks3, &key[16], 8); 53 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; local 56 DES_xcbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, 57 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3, 64 DES_xcbc_encrypt(in, out, (long)inl, &tctx->ks1, 65 (DES_cblock *)ctx->iv, &tctx->ks2, &tctx->ks3 [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_thread_registry.cpp | 138 ThreadContextBase *tctx = QuarantinePop(); local 139 if (tctx) { 140 tid = tctx->tid; 144 tctx = context_factory_(tid); 145 threads_.push_back(tctx); 156 CHECK_NE(tctx, 0); 159 CHECK_EQ(tctx->status, ThreadStatusInvalid); 165 tctx->SetCreated(user_id, total_threads_++, detached, 174 ThreadContextBase *tctx = threads_[tid]; local 175 if (tctx == 0 184 ThreadContextBase *tctx = threads_[tid]; local 195 ThreadContextBase *tctx = threads_[tid]; local 215 ThreadContextBase *tctx = threads_[tid]; local 225 ThreadContextBase *tctx = threads_[tid]; local 236 ThreadContextBase *tctx = threads_[tid]; local 256 ThreadContextBase *tctx = threads_[tid]; local 281 ThreadContextBase *tctx = threads_[tid]; local 306 ThreadContextBase *tctx = threads_[tid]; local 338 ThreadContextBase *tctx = threads_[tid]; local [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_thread_registry.cc | 140 ThreadContextBase *tctx = QuarantinePop(); local 141 if (tctx) { 142 tid = tctx->tid; 146 tctx = context_factory_(tid); 147 threads_[tid] = tctx; 158 CHECK_NE(tctx, 0); 161 CHECK_EQ(tctx->status, ThreadStatusInvalid); 167 tctx->SetCreated(user_id, total_threads_++, detached, 176 ThreadContextBase *tctx = threads_[tid]; local 177 if (tctx == 0 186 ThreadContextBase *tctx = threads_[tid]; local 197 ThreadContextBase *tctx = threads_[tid]; local 218 ThreadContextBase *tctx = threads_[tid]; local 228 ThreadContextBase *tctx = threads_[tid]; local 240 ThreadContextBase *tctx = threads_[tid]; local 261 ThreadContextBase *tctx = threads_[tid]; local 287 ThreadContextBase *tctx = threads_[tid]; local 311 ThreadContextBase *tctx = threads_[tid]; local 344 ThreadContextBase *tctx = threads_[tid]; local [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_thread_registry.cpp | 140 ThreadContextBase *tctx = QuarantinePop(); local 141 if (tctx) { 142 tid = tctx->tid; 146 tctx = context_factory_(tid); 147 threads_.push_back(tctx); 158 CHECK_NE(tctx, 0); 161 CHECK_EQ(tctx->status, ThreadStatusInvalid); 173 tctx->SetCreated(user_id, total_threads_++, detached, 182 ThreadContextBase *tctx = threads_[tid]; local 183 if (tctx == 0 192 ThreadContextBase *tctx = threads_[tid]; local 203 ThreadContextBase *tctx = threads_[tid]; local 223 ThreadContextBase *tctx = threads_[tid]; local 238 ThreadContextBase *tctx = threads_[tid]; local 260 ThreadContextBase *tctx = threads_[tid]; local 287 ThreadContextBase *tctx = threads_[tid]; local 314 ThreadContextBase *tctx = threads_[tid]; local 351 auto *tctx = threads_[tid]; local 359 ThreadContextBase *tctx = threads_[tid]; local [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/lsan/ |
| lsan_linux.cpp | 24 void SetCurrentThread(ThreadContextLsanBase *tctx) { current_thread = tctx; }
|
| /src/sys/netinet/ |
| sctp_hashdriver.c | 86 md5_ctxt tctx; local 87 MD5Init(&tctx); 88 MD5Update(&tctx, key, key_len); 89 MD5Final(tk, &tctx); 93 SHA1_CTX tctx; 94 SHA1Init(&tctx); 95 SHA1Update(&tctx, key, key_len); 96 SHA1Final(tk, &tctx); 173 MD5Context tctx; local 174 MD5Init(&tctx); [all...] |
| /src/external/mpl/bind/dist/bin/named/ |
| tkeyconf.c | 43 dns_tkeyctx_t *tctx = NULL; local 50 result = dns_tkeyctx_create(mctx, &tctx); 63 CHECK(dst_gssapi_acquirecred(name, false, &tctx->gsscred)); 70 tctx->gssapi_keytab = isc_mem_strdup(mctx, s); 73 *tctxp = tctx; 77 dns_tkeyctx_destroy(&tctx);
|
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| prof_inlines_b.h | 49 alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 53 arena_prof_tctx_set(tsdn, ptr, usize, alloc_ctx, tctx); 57 prof_tctx_reset(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx) { 61 arena_prof_tctx_reset(tsdn, ptr, tctx); 123 prof_tctx_t *tctx) { 128 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) { 129 prof_malloc_sample_object(tsdn, ptr, usize, tctx); 137 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, 143 assert(ptr != NULL || (uintptr_t)tctx <= (uintptr_t)1U); 155 prof_alloc_rollback(tsd, tctx, true) 165 prof_malloc_sample_object(tsd_tsdn(tsd), ptr, usize, tctx); local 176 prof_tctx_reset(tsd_tsdn(tsd), ptr, tctx); local 196 prof_tctx_t *tctx = prof_tctx_get(tsd_tsdn(tsd), ptr, alloc_ctx); local [all...] |
| prof_inlines.h | 110 prof_tctx_is_valid(const prof_tctx_t *tctx) { 111 return tctx != NULL && tctx != PROF_TCTX_SENTINEL; 131 prof_info_set(tsd_t *tsd, edata_t *edata, prof_tctx_t *tctx, size_t size) { 134 assert(prof_tctx_is_valid(tctx)); 136 arena_prof_info_set(tsd, edata, tctx, size); 179 emap_alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 184 if (unlikely(prof_tctx_is_valid(tctx))) { 185 prof_malloc_sample_object(tsd, ptr, size, usize, tctx); 193 prof_tctx_t *tctx, bool prof_active, const void *old_ptr, size_t old_usize [all...] |
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| prof_inlines_b.h | 49 alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 53 arena_prof_tctx_set(tsdn, ptr, usize, alloc_ctx, tctx); 57 prof_tctx_reset(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx) { 61 arena_prof_tctx_reset(tsdn, ptr, tctx); 123 prof_tctx_t *tctx) { 128 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) { 129 prof_malloc_sample_object(tsdn, ptr, usize, tctx); 137 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, 143 assert(ptr != NULL || (uintptr_t)tctx <= (uintptr_t)1U); 155 prof_alloc_rollback(tsd, tctx, true) 165 prof_malloc_sample_object(tsd_tsdn(tsd), ptr, usize, tctx); local 176 prof_tctx_reset(tsd_tsdn(tsd), ptr, tctx); local 196 prof_tctx_t *tctx = prof_tctx_get(tsd_tsdn(tsd), ptr, alloc_ctx); local [all...] |
| prof_inlines.h | 101 prof_info_set(tsd_t *tsd, edata_t *edata, prof_tctx_t *tctx, size_t size) { 104 assert((uintptr_t)tctx > (uintptr_t)1U); 106 arena_prof_info_set(tsd, edata, tctx, size); 149 emap_alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 154 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) { 155 prof_malloc_sample_object(tsd, ptr, size, usize, tctx); 163 prof_tctx_t *tctx, bool prof_active, const void *old_ptr, size_t old_usize, 168 assert(ptr != NULL || (uintptr_t)tctx <= (uintptr_t)1U); 180 prof_alloc_rollback(tsd, tctx); 181 tctx = (prof_tctx_t *)(uintptr_t)1U [all...] |
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| prof_inlines_b.h | 49 alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 53 arena_prof_tctx_set(tsdn, ptr, usize, alloc_ctx, tctx); 57 prof_tctx_reset(tsdn_t *tsdn, const void *ptr, prof_tctx_t *tctx) { 61 arena_prof_tctx_reset(tsdn, ptr, tctx); 123 prof_tctx_t *tctx) { 128 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) { 129 prof_malloc_sample_object(tsdn, ptr, usize, tctx); 137 prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx, 143 assert(ptr != NULL || (uintptr_t)tctx <= (uintptr_t)1U); 155 prof_alloc_rollback(tsd, tctx, true) 165 prof_malloc_sample_object(tsd_tsdn(tsd), ptr, usize, tctx); local 176 prof_tctx_reset(tsd_tsdn(tsd), ptr, tctx); local 196 prof_tctx_t *tctx = prof_tctx_get(tsd_tsdn(tsd), ptr, alloc_ctx); local [all...] |
| prof_inlines.h | 101 prof_info_set(tsd_t *tsd, edata_t *edata, prof_tctx_t *tctx, size_t size) { 104 assert((uintptr_t)tctx > (uintptr_t)1U); 106 arena_prof_info_set(tsd, edata, tctx, size); 149 emap_alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 154 if (unlikely((uintptr_t)tctx > (uintptr_t)1U)) { 155 prof_malloc_sample_object(tsd, ptr, size, usize, tctx); 163 prof_tctx_t *tctx, bool prof_active, const void *old_ptr, size_t old_usize, 168 assert(ptr != NULL || (uintptr_t)tctx <= (uintptr_t)1U); 180 prof_alloc_rollback(tsd, tctx); 181 tctx = (prof_tctx_t *)(uintptr_t)1U [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| tsan_rtl_thread.cpp | 41 ThreadContext *tctx; member in struct:__tsan::ThreadLeak 47 auto *tctx = static_cast<ThreadContext *>(tctx_base); local 48 if (tctx->detached || tctx->status != ThreadStatusFinished) 51 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) { 56 leaks.PushBack({tctx, 1}); 61 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { 62 if (tctx->tid == kMainTid) { 66 " created at:\n", tctx->tid, tctx->name) 262 ThreadContextBase *tctx; member in struct:__tsan::ConsumeThreadContext [all...] |
| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| prof_inlines.h | 110 prof_tctx_is_valid(const prof_tctx_t *tctx) { 111 return tctx != NULL && tctx != PROF_TCTX_SENTINEL; 131 prof_info_set(tsd_t *tsd, edata_t *edata, prof_tctx_t *tctx, size_t size) { 134 assert(prof_tctx_is_valid(tctx)); 136 arena_prof_info_set(tsd, edata, tctx, size); 179 emap_alloc_ctx_t *alloc_ctx, prof_tctx_t *tctx) { 184 if (unlikely(prof_tctx_is_valid(tctx))) { 185 prof_malloc_sample_object(tsd, ptr, size, usize, tctx); 193 prof_tctx_t *tctx, bool prof_active, const void *old_ptr, size_t old_usize [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| tsan_rtl_thread.cpp | 35 ThreadContext *tctx; member in struct:__tsan::ThreadLeak 41 auto *tctx = static_cast<ThreadContext *>(tctx_base); local 42 if (tctx->detached || tctx->status != ThreadStatusFinished) 45 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) { 50 leaks.PushBack({tctx, 1}); 57 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { 58 if (tctx->tid == kMainTid) { 62 " created at:\n", tctx->tid, tctx->name) 281 ThreadContextBase *tctx; member in struct:__tsan::ConsumeThreadContext [all...] |
| /src/external/bsd/jemalloc.old/dist/src/ |
| prof_data.c | 670 prof_tctx_merge_tdata(tsdn_t *tsdn, prof_tctx_t *tctx, prof_tdata_t *tdata) { 671 malloc_mutex_assert_owner(tsdn, tctx->tdata->lock); 673 malloc_mutex_lock(tsdn, tctx->gctx->lock); 675 switch (tctx->state) { 677 malloc_mutex_unlock(tsdn, tctx->gctx->lock); 680 tctx->state = prof_tctx_state_dumping; 681 malloc_mutex_unlock(tsdn, tctx->gctx->lock); 683 memcpy(&tctx->dump_cnts, &tctx->cnts, sizeof(prof_cnt_t)); 685 tdata->cnt_summed.curobjs += tctx->dump_cnts.curobjs 909 } tctx; local 1432 idalloctm(tsd_tsdn(tsd), tctx, NULL, NULL, true, true); local [all...] |
| prof.c | 83 prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx) { 87 assert((uintptr_t)tctx == (uintptr_t)1U); 91 if ((uintptr_t)tctx > (uintptr_t)1U) { 92 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); 93 tctx->prepared = false; 94 prof_tctx_try_destroy(tsd, tctx); 100 size_t usize, prof_tctx_t *tctx) { 109 prof_info_set(tsd, edata, tctx, size); 113 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); 121 * the prof_reset call is about to mark our tctx as expired before an 154 prof_tctx_t *tctx = prof_info->alloc_tctx; local [all...] |
| /src/external/bsd/jemalloc/dist/src/ |
| prof_data.c | 644 prof_tctx_merge_tdata(tsdn_t *tsdn, prof_tctx_t *tctx, prof_tdata_t *tdata) { 645 malloc_mutex_assert_owner(tsdn, tctx->tdata->lock); 647 malloc_mutex_lock(tsdn, tctx->gctx->lock); 649 switch (tctx->state) { 651 malloc_mutex_unlock(tsdn, tctx->gctx->lock); 654 tctx->state = prof_tctx_state_dumping; 655 malloc_mutex_unlock(tsdn, tctx->gctx->lock); 657 memcpy(&tctx->dump_cnts, &tctx->cnts, sizeof(prof_cnt_t)); 659 tdata->cnt_summed.curobjs += tctx->dump_cnts.curobjs 884 } tctx; local 1415 idalloctm(tsd_tsdn(tsd), tctx, NULL, NULL, true, true); local [all...] |
| prof.c | 92 prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx) { 96 assert(tctx == PROF_TCTX_SENTINEL); 100 if (prof_tctx_is_valid(tctx)) { 104 * somehow does not realize that by `prof_tctx_is_valid(tctx)` 105 * being true that we've already ensured that `tctx` is not 108 assert(tctx != NULL); 109 malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock); 110 tctx->prepared = false; 111 prof_tctx_try_destroy(tsd, tctx); 117 tsd_t *tsd, const void *ptr, size_t size, size_t usize, prof_tctx_t *tctx) { 181 prof_tctx_t *tctx = prof_info->alloc_tctx; local [all...] |