/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_deadlock_detector_test.cpp | 37 dtls.clear(); in ScopedDD() 41 DeadlockDetectorTLS<BV> dtls; member 49 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; in RunBasicTest() local 75 dtls.clear(); in RunBasicTest() 78 EXPECT_FALSE(d.onLock(&dtls, n1)); in RunBasicTest() 79 EXPECT_FALSE(d.onLock(&dtls, n2)); in RunBasicTest() 80 d.onUnlock(&dtls, n2); in RunBasicTest() 81 d.onUnlock(&dtls, n1); in RunBasicTest() 83 EXPECT_FALSE(d.onLock(&dtls, n2)); in RunBasicTest() 84 EXPECT_EQ(0U, d.findPathToLock(&dtls, n1, path, 1)); in RunBasicTest() [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_deadlock_detector_test.cc | 38 dtls.clear(); in ScopedDD() 42 DeadlockDetectorTLS<BV> dtls; member 50 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; in RunBasicTest() local 76 dtls.clear(); in RunBasicTest() 79 EXPECT_FALSE(d.onLock(&dtls, n1)); in RunBasicTest() 80 EXPECT_FALSE(d.onLock(&dtls, n2)); in RunBasicTest() 81 d.onUnlock(&dtls, n2); in RunBasicTest() 82 d.onUnlock(&dtls, n1); in RunBasicTest() 84 EXPECT_FALSE(d.onLock(&dtls, n2)); in RunBasicTest() 85 EXPECT_EQ(0U, d.findPathToLock(&dtls, n1, path, 1)); in RunBasicTest() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_tls_get_addr.cc | 38 static __thread DTLS dtls; variable 54 if (dtls.dtv_size >= new_size) return; in DTLS_Resize() 61 VPrintf(2, "__tls_get_addr: DTLS_Resize %p %zd\n", &dtls, num_live_dtls); in DTLS_Resize() 63 uptr old_dtv_size = dtls.dtv_size; in DTLS_Resize() 64 DTLS::DTV *old_dtv = dtls.dtv; in DTLS_Resize() 66 internal_memcpy(new_dtv, dtls.dtv, dtls.dtv_size * sizeof(DTLS::DTV)); in DTLS_Resize() 67 dtls.dtv = new_dtv; in DTLS_Resize() 68 dtls.dtv_size = new_size; in DTLS_Resize() 75 VPrintf(2, "__tls_get_addr: DTLS_Destroy %p %zd\n", &dtls, dtls.dtv_size); in DTLS_Destroy() 76 uptr s = dtls.dtv_size; in DTLS_Destroy() [all …]
|
D | sanitizer_deadlock_detector.h | 199 void ensureCurrentEpoch(DeadlockDetectorTLS<BV> *dtls) { in ensureCurrentEpoch() argument 200 dtls->ensureCurrentEpoch(current_epoch_); in ensureCurrentEpoch() 206 bool onLockBefore(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) { in onLockBefore() argument 207 ensureCurrentEpoch(dtls); in onLockBefore() 209 return g_.isReachable(cur_idx, dtls->getLocks(current_epoch_)); in onLockBefore() 212 u32 findLockContext(DeadlockDetectorTLS<BV> *dtls, uptr node) { in findLockContext() argument 213 return dtls->findLockContext(nodeToIndex(node)); in findLockContext() 217 void onLockAfter(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) { 218 ensureCurrentEpoch(dtls); 220 dtls->addLock(cur_idx, current_epoch_, stk); [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_deadlock_detector.h | 195 void ensureCurrentEpoch(DeadlockDetectorTLS<BV> *dtls) { in ensureCurrentEpoch() argument 196 dtls->ensureCurrentEpoch(current_epoch_); in ensureCurrentEpoch() 202 bool onLockBefore(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) { in onLockBefore() argument 203 ensureCurrentEpoch(dtls); in onLockBefore() 205 return g_.isReachable(cur_idx, dtls->getLocks(current_epoch_)); in onLockBefore() 208 u32 findLockContext(DeadlockDetectorTLS<BV> *dtls, uptr node) { in findLockContext() argument 209 return dtls->findLockContext(nodeToIndex(node)); in findLockContext() 213 void onLockAfter(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) { 214 ensureCurrentEpoch(dtls); 216 dtls->addLock(cur_idx, current_epoch_, stk); [all …]
|
D | sanitizer_tls_get_addr.cpp | 38 static __thread DTLS dtls; variable 69 VReport(2, "__tls_get_addr: DTLS_NextBlock %p %zd\n", &dtls, num_live_dtls); in DTLS_NextBlock() 74 VReport(2, "__tls_get_addr: DTLS_Find %p %zd\n", &dtls, id); in DTLS_Find() 76 DTLS::DTVBlock *cur = DTLS_NextBlock(&dtls.dtv_block); in DTLS_Find() 85 VReport(2, "__tls_get_addr: DTLS_Destroy %p\n", &dtls); in DTLS_Destroy() 87 &dtls.dtv_block, kDestroyedThread, memory_order_release); in DTLS_Destroy() 124 if (dtls.last_memalign_ptr == tls_beg) { in DTLS_on_tls_get_addr() 125 tls_size = dtls.last_memalign_size; in DTLS_on_tls_get_addr() 153 dtls.last_memalign_ptr = reinterpret_cast<uptr>(ptr); in DTLS_on_libc_memalign() 154 dtls.last_memalign_size = size; in DTLS_on_libc_memalign() [all …]
|
D | sanitizer_tls_get_addr.h | 57 void ForEachDVT(DTLS *dtls, const Fn &fn) { in ForEachDVT() argument 59 (DTLS::DTVBlock *)atomic_load(&dtls->dtv_block, memory_order_acquire); in ForEachDVT() 75 bool DTLSInDestruction(DTLS *dtls);
|
/external/webrtc/pc/ |
D | jsep_transport_controller.cc | 192 for (auto& dtls : GetDtlsTransports()) { in SetIceConfig() local 193 dtls->ice_transport()->SetIceConfig(ice_config_); in SetIceConfig() 246 for (auto& dtls : GetDtlsTransports()) { in SetLocalCertificate() local 247 bool set_cert_success = dtls->SetLocalCertificate(certificate_); in SetLocalCertificate() 283 auto dtls = jsep_transport->rtp_dtls_transport(); in GetRemoteSSLCertChain() local 284 if (!dtls) { in GetRemoteSSLCertChain() 288 return dtls->GetRemoteSSLCertChain(); in GetRemoteSSLCertChain() 298 for (auto& dtls : GetDtlsTransports()) { in MaybeStartGathering() local 299 dtls->ice_transport()->MaybeStartGathering(); in MaybeStartGathering() 361 cricket::DtlsTransportInternal* dtls = in RemoveRemoteCandidates() local [all …]
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_posix.cpp | 33 DTLS *dtls; member 44 dtls_ = args->dtls; in OnStarted() 56 args.dtls = DTLS_Get(); in ThreadStart() 62 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked() argument 73 *dtls = context->dtls(); in GetThreadRangesLocked()
|
D | lsan_posix.h | 36 DTLS *dtls() { return dtls_; } in dtls() function
|
D | lsan_common.cpp | 232 DTLS *dtls; in ProcessThreads() local 235 &cache_begin, &cache_end, &dtls); in ProcessThreads() 317 if (dtls && !DTLSInDestruction(dtls)) { in ProcessThreads() 318 ForEachDVT(dtls, [&](const DTLS::DTV &dtv, int id) { in ProcessThreads()
|
/external/compiler-rt/lib/msan/ |
D | msan_thread.cc | 38 DTLS *dtls = DTLS_Get(); in ClearShadowForThreadStackAndTLS() local 39 CHECK_NE(dtls, 0); in ClearShadowForThreadStackAndTLS() 40 for (uptr i = 0; i < dtls->dtv_size; ++i) in ClearShadowForThreadStackAndTLS() 41 __msan_unpoison((void *)(dtls->dtv[i].beg), dtls->dtv[i].size); in ClearShadowForThreadStackAndTLS()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_thread.cc | 66 DTLS *dtls; member 77 dtls_ = args->dtls; in OnStarted() 99 args.dtls = DTLS_Get(); in ThreadStart() 141 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked() argument 151 *dtls = context->dtls(); in GetThreadRangesLocked()
|
D | lsan_common.cc | 197 DTLS *dtls; in ProcessThreads() local 200 &cache_begin, &cache_end, &dtls); in ProcessThreads() 260 if (dtls) { in ProcessThreads() 261 for (uptr j = 0; j < dtls->dtv_size; ++j) { in ProcessThreads() 262 uptr dtls_beg = dtls->dtv[j].beg; in ProcessThreads() 263 uptr dtls_end = dtls_beg + dtls->dtv[j].size; in ProcessThreads()
|
D | lsan_thread.h | 37 DTLS *dtls() { return dtls_; } in dtls() function
|
/external/webrtc/p2p/base/ |
D | transport_description_factory_unittest.cc | 73 void TestIceRestart(bool dtls) { in TestIceRestart() argument 74 SetDtls(dtls); in TestIceRestart() 87 VerifyUfragAndPasswordChanged(dtls, offer.get(), restart_offer.get()); in TestIceRestart() 95 VerifyUfragAndPasswordChanged(dtls, answer.get(), restart_answer.get()); in TestIceRestart() 98 void VerifyUfragAndPasswordChanged(bool dtls, in VerifyUfragAndPasswordChanged() argument 108 if (dtls) { in VerifyUfragAndPasswordChanged() 116 void TestIceRenomination(bool dtls) { in TestIceRenomination() argument 117 SetDtls(dtls); in TestIceRenomination() 147 void SetDtls(bool dtls) { in SetDtls() argument 148 if (dtls) { in SetDtls()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | stress_dtls.c | 65 uintptr_t dtls = (uintptr_t)Functions[i](); in PrintStuff() local 66 fprintf(stderr, " dtls[%03d]: %lx\n", i, dtls); in PrintStuff() 67 *(long*)dtls = 42; // check that this is writable. in PrintStuff()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
D | stress_dtls.c | 65 uintptr_t dtls = (uintptr_t)Functions[i](); in PrintStuff() local 66 fprintf(stderr, " dtls[%03d]: %lx\n", i, dtls); in PrintStuff() 67 *(long*)dtls = 42; // check that this is writable. in PrintStuff()
|
/external/llvm-project/compiler-rt/test/memprof/TestCases/ |
D | stress_dtls.c | 60 uintptr_t dtls = (uintptr_t)Functions[i](); in PrintStuff() local 61 fprintf(stderr, " dtls[%03d]: %lx\n", i, dtls); in PrintStuff() 62 *(long *)dtls = 42; // check that this is writable. in PrintStuff()
|
/external/llvm-project/compiler-rt/lib/msan/ |
D | msan_thread.cpp | 38 DTLS *dtls = DTLS_Get(); in ClearShadowForThreadStackAndTLS() local 39 CHECK_NE(dtls, 0); in ClearShadowForThreadStackAndTLS() 40 ForEachDVT(dtls, [](const DTLS::DTV &dtv, int id) { in ClearShadowForThreadStackAndTLS()
|
/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 426 if protocol == dtls { 475 dtls const 483 case dtls: 764 if test.protocol == dtls { 776 isDatagram: test.protocol == dtls, 827 if test.protocol == dtls { 834 if test.protocol == dtls { 1056 if test.protocol == dtls { 1127 if test.protocol == dtls { 1306 if test.protocol == dtls { [all …]
|
/external/oss-fuzz/projects/libcoap/ |
D | build.sh | 19 --disable-dtls \
|
/external/compiler-rt/lib/asan/ |
D | asan_thread.cc | 400 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked() argument 410 *dtls = t->dtls(); in GetThreadRangesLocked()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_thread.cpp | 482 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked() argument 492 *dtls = t->dtls(); in GetThreadRangesLocked()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_thread.h | 79 DTLS *dtls() { return dtls_; } in dtls() function
|